Difference between revisions of "User:GuoPC/common.js"
m |
(// Edit via Wikiplus) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
// HotCat loaded from ZhMGP | // HotCat loaded from ZhMGP | ||
− | mw.loader.load(mw.config.get("wgServer").replace("en.moegirl", "zh.moegirl") + mw.config.get("wgScriptPath") + '/index.php?title=MediaWiki:Gadget-HotCat.js | + | mw.loader.load(mw.config.get("wgServer").replace("en.moegirl", "zh.moegirl") + mw.config.get("wgScriptPath") + '/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript'); |
− | |||
− | / | ||
− | |||
// PersonalLabel based on [[zhmoe:User:AnnAngela/js/PersonalLabel.js]] | // PersonalLabel based on [[zhmoe:User:AnnAngela/js/PersonalLabel.js]] | ||
Line 9: | Line 6: | ||
$('#pt-watchlist').after('<li id="pt-sandbox"><a href="' + mw.config.get("wgServer") + mw.config.get("wgScriptPath") + '/User:' + mw.config.get("wgUserName") + '/Sandbox">My sandbox</a></li><li id="pt-personlog"><a href="' + mw.config.get("wgServer") + mw.config.get("wgScriptPath") + '/Special:log/' + mw.config.get("wgUserName") + '">My logs</a></li>'); | $('#pt-watchlist').after('<li id="pt-sandbox"><a href="' + mw.config.get("wgServer") + mw.config.get("wgScriptPath") + '/User:' + mw.config.get("wgUserName") + '/Sandbox">My sandbox</a></li><li id="pt-personlog"><a href="' + mw.config.get("wgServer") + mw.config.get("wgScriptPath") + '/Special:log/' + mw.config.get("wgUserName") + '">My logs</a></li>'); | ||
}); | }); | ||
− | |||
− | |||
− | |||
// Wikiplus | // Wikiplus | ||
mw.loader.load('https://wikiplus-app.com/Main.min.js'); | mw.loader.load('https://wikiplus-app.com/Main.min.js'); |
Latest revision as of 02:22, 16 April 2023
// HotCat loaded from ZhMGP mw.loader.load(mw.config.get("wgServer").replace("en.moegirl", "zh.moegirl") + mw.config.get("wgScriptPath") + '/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript'); // PersonalLabel based on [[zhmoe:User:AnnAngela/js/PersonalLabel.js]] $(function() { $('#pt-watchlist').after('<li id="pt-sandbox"><a href="' + mw.config.get("wgServer") + mw.config.get("wgScriptPath") + '/User:' + mw.config.get("wgUserName") + '/Sandbox">My sandbox</a></li><li id="pt-personlog"><a href="' + mw.config.get("wgServer") + mw.config.get("wgScriptPath") + '/Special:log/' + mw.config.get("wgUserName") + '">My logs</a></li>'); }); // Wikiplus mw.loader.load('https://wikiplus-app.com/Main.min.js');