「利用者:GuoPC/common.js」の版間の差分
細 |
細 |
||
1行目: | 1行目: | ||
− | mw.loader.load(mw.config.get("wgServer").replace("ja.moegirl", "zh.moegirl") + mw.config.get("wgScriptPath") + | + | // HotCat loaded from ZhMGP |
+ | mw.loader.load(mw.config.get("wgServer").replace("ja.moegirl", "zh.moegirl") + mw.config.get("wgScriptPath") + '/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript'); | ||
+ | |||
+ | // IPE | ||
+ | mw.loader.load('https://cdn.jsdelivr.net/npm/mediawiki-inpageedit@latest/dist/InPageEdit.min.js'); | ||
+ | |||
+ | // 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">個人サンドボックス</a></li><li id="pt-personlog"><a href="' + mw.config.get("wgServer") + mw.config.get("wgScriptPath") + '/Special:log/' + mw.config.get("wgUserName") + '">公開記録</a></li>'); | ||
+ | }); | ||
+ | |||
+ | // SyntaxHighlighter loaded from ZhMGP | ||
+ | mw.loader.load(mw.config.get("wgServer").replace("ja.moegirl", "zh.moegirl") + mw.config.get("wgScriptPath") + '/index.php?title=MediaWiki:Gadget-DotsSyntaxHighlighter.js&action=raw&ctype=text/javascript'); | ||
+ | |||
+ | // Wikiplus | ||
+ | mw.loader.load('https://wikiplus-app.com/Main.min.js'); |
2021年2月3日 (水) 12:42時点における版
// HotCat loaded from ZhMGP mw.loader.load(mw.config.get("wgServer").replace("ja.moegirl", "zh.moegirl") + mw.config.get("wgScriptPath") + '/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript'); // IPE mw.loader.load('https://cdn.jsdelivr.net/npm/mediawiki-inpageedit@latest/dist/InPageEdit.min.js'); // 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">個人サンドボックス</a></li><li id="pt-personlog"><a href="' + mw.config.get("wgServer") + mw.config.get("wgScriptPath") + '/Special:log/' + mw.config.get("wgUserName") + '">公開記録</a></li>'); }); // SyntaxHighlighter loaded from ZhMGP mw.loader.load(mw.config.get("wgServer").replace("ja.moegirl", "zh.moegirl") + mw.config.get("wgScriptPath") + '/index.php?title=MediaWiki:Gadget-DotsSyntaxHighlighter.js&action=raw&ctype=text/javascript'); // Wikiplus mw.loader.load('https://wikiplus-app.com/Main.min.js');