Diferencia entre revisiones de «MediaWiki:Gadget-show-quality-on-cats.js»

Ir a la navegación Ir a la búsqueda
m (+attention quality)
m (try like this)
if (mw.config.get('wgCanonicalNamespace') != 'Category') return
// not on quality cats (pointless)
//if (Object.values(cats).includes(mw.config.get('wgTitle'))) return
// TODO: only ignore
 
// add specials for keepers
indexpageids: true,
cllimit: "max",
clcategories: Object.keysvalues(css_classcats).filter(function (cat) { return cat != mw.config.get('wgTitle') }).map(function(cat) { return 'Category:'+ cat }),
generator: "categorymembers",
gcmtitle: mw.config.get('wgPageName'),