User:DodoMan/common.js: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
var whitelist = ["DodoMan"];
var whitelist = ["DodoMan"];
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:Rafdodo/common.js in your common.js!There are scripts in test period.And remove all m’y user scripts in your js common.");
alert("Please remove User:DodoMan/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();
}
}