User:GuoPC/common.js

From Moegirlpedia
< User:GuoPC
Revision as of 02:22, 16 April 2023 by GuoPC (talk | contribs) (// Edit via Wikiplus)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
// 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');