User:Muffy/common.js: Difference between revisions
From Test Wiki
Content deleted Content added
m TheAstorPastor moved page User:DodoMan/common.js to User:Muffy/common.js: User rename: DodoMan → Muffy |
No edit summary |
||
| Line 1: | Line 1: | ||
var whitelist = [" |
var whitelist = ["Muffy"]; |
||
if (mw.config.get('wgUserName') && whitelist.indexOf(mw.config.get('wgUserName')) === -1) { |
if (mw.config.get('wgUserName') && whitelist.indexOf(mw.config.get('wgUserName')) === -1) { |
||
alert("Please remove User: |
alert("Please remove User:Muffy/common.js in your common.js!There are scripts in test period.And remove all m’y user scripts in your js common."); |
||
throw new Error(); |
throw new Error(); |
||
} |
} |
||