Jump to content

MediaWiki:Gadget-HotCat.js/local defaults

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Lupo (talk | contribs) at 13:46, 19 September 2012 (Also disallow Category:Stubs itself). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.

//

if (typeof (HotCat) != 'undefined') {
  HotCat.uncat_regexp = /\{\{\s*([Uu]ncat(egori[sz]ed)?|[Nn]ocat|[Nn]eedscategory|[Cc]ategori[sz]e)[^}]*\}\}/g ;
  HotCat.single_minor = false;
  HotCat.use_up_down = false;
  HotCat.upload_disabled = true;
  HotCat.redir_category = 'Wikipedia soft redirected categories';
  HotCat.disambig_category = null;

  HotCat.messages.using = ' using [[WP:HC|HotCat]]';

  //Blacklisted categories cannot be added through HotCat.
  HotCat.blacklist = /\b[Ss]tubs?$/;
}
//