MediaWiki:Gadget-HotCat.js: Difference between revisions

Add
m (Test)
(Add)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
// <nowiki>
// <nowiki>
/*
/*
  HotCat V2.36
  HotCat V2.37


  Ajax-based simple Category manager. Allows adding/removing/changing categories on a page view.
  Ajax-based simple Category manager. Allows adding/removing/changing categories on a page view.
Line 129: Line 129:
// A regexp matching a templates used to mark uncategorized pages, if your wiki does have that.
// A regexp matching a templates used to mark uncategorized pages, if your wiki does have that.
// If not, set it to null.
// If not, set it to null.
uncat_regexp: /\{\{\s*([Uu]ncat(egori[sz]ed( image)?)?|[Nn]ocat|[Nn]eedscategory)[^}]*\}\}\s*(<!--.*?-->)?/g,
uncat_regexp: /\{\{\s*([Uu]ncat(egori[sz]ed( image)?)?|[Nn]ocat|[Nn]eedscategory)[^}]*\}\}\s*(<!--.*?-->\s*)?/g,
// The images used for the little indication icon. Should not need changing.
// The images used for the little indication icon. Should not need changing.
existsYes: '//upload.wikimedia.org/wikipedia/commons/thumb/b/be/P_yes.svg/20px-P_yes.svg.png',
existsYes: '//upload.wikimedia.org/wikipedia/commons/thumb/b/be/P_yes.svg/20px-P_yes.svg.png',
14,070

edits