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)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
// <pre>
var TOOLSCRIPTPATH = 'MediaWiki:';
function DocWriteJS(page){
var str = '<script type="text/javascript" src="/index.php?title='
+ TOOLSCRIPTPATH + page
+ '&action=raw&ctype=text/javascript"></script>';
// alert(str);
document.write(str);
}
// </pre> Loads up [[MediaWiki:DebuggerInit.js]] and [[MediaWiki:DebugTools.js]] <pre>
var DEBUGMODE = true;
if (DEBUGMODE) {
DocWriteJS('DebuggerInit.js');
DocWriteJS('DebugTools.js');
}
/* </pre>
* Overwrites the original function in http://gw.gamewikis.org/skins/common/sorttable.js
* with [[MediaWiki:sortable_mod.js]] .
<pre> */
function sortableTables() {
if (getElementsByClassName(document, "table", "sortable").length != 0) {
DocWriteJS('sortable_mod.js');
}
}
// </pre>