Jump to content
Wikimedia Meta-Wiki

User:ImprovedWikiImprovment/sidebar.js

From Meta, a Wikimedia project coordination wiki
This is an archived version of this page, as edited by ImprovedWikiImprovment (talk | contribs) at 09:07, 12 February 2023 (add). It may differ significantly from the current version .

Note: After publishing, 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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
 //
 (function(){

 $(document).ready(function(){
 mw.loader.using(['mediawiki.util'],function(){
 // show shortcuts if not editing
 if(!mw.config.get('wgEditMessage')){
 mw.util.addPortletLink("p-navigation","https://simple.wikipedia.org/wiki/Special:RecentChanges","simplewiki");
 mw.util.addPortletLink("p-navigation","https://en.wikipedia.org/wiki/Special:RecentChanges","enwiki");
 mw.util.addPortletLink("p-navigation","//meta.wikimedia.org/wiki/Special:EmailUser/Emergency","Emergency","n-t4fsidebar-emerg","Contact Emergency");
 mw.util.addPortletLink("p-navigation","//meta.wikimedia.org/wiki/Steward_requests/Global","SRG","n-t4fsidebar-srg","Go to SRG");
 mw.util.addPortletLink("p-navigation","//meta.wikimedia.org/wiki/Special:CentralAuth","CentralAuth","n-t4fsidebar-ca","Go to CentralAuth page");
 return;
 }
 });
 });
 }());

AltStyle によって変換されたページ (->オリジナル) /