User:Writ Keeper/Scripts/peerReviewCloser.js: Difference between revisions

Content deleted Content added
fx
maintenance: more info TypeError: null is not an object (evaluating 'mw.config.get("wgCategories").indexOf') - wgCategories is not always defined. e.g. Mobile ___domain
Tags: Mobile edit Mobile web edit Advanced mobile edit
Line 81:
}
}
if(mw.config.get("wgCategories",[]).indexOf("Current peer reviews") >= 0)
{
mw.loader.using("mediawiki.util").done( function ()