User:DodoMan/common.js: Difference between revisions

From Test Wiki
no edit summary
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();
}
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.