MediaWiki:Monobook.js
Jump to navigation
Jump to 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.
/* Any JavaScript here will be loaded for users using the MonoBook skin */ // [[File:User:He7d3r/Tools/DebugModeToggle.js]] (workaround for [[phab:T35355]]) /** * Add a toggle for debug mode to the sidebar * @author: Helder (https://github.com/he7d3r) * @license: CC BY-SA 3.0 <https://creativecommons.org/licenses/by-sa/3.0/> */ // <nowiki> (function(e,o){"use strict";var d=e.config.get("debug"),t={"true":"Disable debug mode","false":"Enable debug mode"},u={expires:1,path:"/"};o("#ca-toggle-debug-mode").length||o(e.util.addPortletLink("p-tb","#",t[d],"ca-toggle-debug-mode","Turn debug mode on or off and reload the page")).click(function(e){e.preventDefault(),o.cookie("resourceLoaderDebug",d?null:!0,u),window.location.reload(!0)})})(mediaWiki,jQuery); // </nowiki> var _statcounter = _statcounter || []; _statcounter.push({"tags": {"siteArea": "Wiki"}});