MediaWiki:Skinny.js
From “Tota Scriptura”, Joey Day’s personal Scripture topic index wiki
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: Clear the cache in Tools → Preferences
/** Special:SpecialPages layout fixes ********************************************************* * * Removes stupid fourth blank column from Special:SpecialPages * */ if (wgPageName == 'Special:SpecialPages') { addOnloadHook( function () { var tables = document.getElementsByTagName('TABLE'); for ( i = 0; i < tables.length; i++ ) { if ( tables[i].className == 'mw-specialpages-table' ) { var tds = tables[i].firstChild.firstChild.getElementsByTagName('TD'); tds[0].className = "firstcolumn"; if ( tds.length > 2 ) { tds[3].parentNode.removeChild(tds[3]); tds[1].parentNode.removeChild(tds[1]); } } } } ); }