మీడియావికీ:Gadget-HotCat.js/local defaults

వికీసోర్స్ నుండి

గమనిక: భద్రపరచిన తర్వాత, మార్పులను చూడాలంటే మీ విహారిణి కోశాన్ని తీసేయాల్సిరావచ్చు.

  • ఫైర్‌ఫాక్స్‌ / సఫారి: Shift మీటని నొక్కిపట్టి Reloadని నొక్కండి లేదా Ctrl-F5 గానీ Ctrl-R (మాకింటోషులో ⌘-Shift-R) గానీ నొక్కండి
  • గూగుల్ క్రోమ్: Ctrl-Shift-R (మాక్ లో ⌘-Shift-R) నొక్కండి
  • ఇంటర్నెట్ ఎక్ప్లోరర్/ఎడ్జి: Ctrl ను నొక్కిపట్టి Refresh నొక్కండి లేదా Ctrl-F5 నొక్కండి.
  • ఒపేరా:* Ctrl-F5 నొక్కండి.
 if (typeof (HotCat) != 'undefined') {
  /* import of [[w:en:MediaWiki:Gadget-HotCat.js/local defaults]]
  * though only activating needed or desired components
  */
    //
    //  HotCat.uncat_regexp = /((?=[^{]|^)| )\{\{\s*([Uu]ncat(egori[sz]ed)?|[Nn]ocat|[Cc]ategori[sz]e)[^}]*\}\}/gm;
    //  HotCat.single_minor = false;
    //  HotCat.use_up_down = false;
    //  HotCat.upload_disabled = true;
        HotCat.disambig_category = 'Disambiguation categories';
    //
    //  HotCat.messages.using = ' using [[WP:HC|HotCat]]';

  //Blacklisted categories cannot be added through HotCat.
    //  HotCat.blacklist = /\b[Ss]tubs?$|^[Ss]tubs?\b|\b[Dd]isambiguation pages$|^[Rr]edirect(?:s|ed)?\b/;
    //
  // Clicks on (-) will always go through the diff screen
    //  HotCat.del_needs_diff = true;
    //
  /*// Non-confirmed users will always go through the diff screen.
  *    HotCat.no_autocommit = (function (default_setting) {
  *      if ((mw.config.get('wgUserGroups').join(' ') + ' ').indexOf('confirmed ') < 0) return true;
  *      return default_setting;
  *    })(HotCat.no_autocommit);
  */  
  // Disable for non-logged-in users
  /*   HotCat.disable = (function (default_disable) {
  *      return function () {
  *        if (!mw.config.get('wgUserName')) return true;
  *        return default_disable();
  *      };
  *    })(HotCat.disable);
  */  
  // improve visual distinction between positive- and negative-indicator icons
    //  HotCat.existsNo = '//upload.wikimedia.org/wikipedia/commons/thumb/4/4c/P_no_red.svg/20px-P_no_red.svg.png';
 }