Jump to content

User:AssumeGoodSecurity/common.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
mw.loader.load( '/w/index.php?title=User:RedWarn/.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:RedWarn/.js]]
mw.loader.getScript("/w/index.php?title=User:Guywan/Scripts/ConfirmLogout.js&action=raw&ctype=text/javascript");
$( '#ca-nstab-user a' ).text( 'Humaning page' );
$( '#ca-talk a' ).text( 'Human talking' );
$( '#ca-history a' ).text( 'History of vandalism' );
$( '#ca-edit a' ).text( 'Edit' );
$( '#ca-viewsource a' ).text( 'Edit: Insufficient permissions' );
$( '#ca-nstab-main a' ).text( 'Main Article' );

function catsattop() {
  var cats = document.getElementById('catlinks');
  var bc = document.getElementById('bodyContent');
  bc.insertBefore(cats, bc.childNodes[0]);
}

mw.util.addPortletLink ('p-tb', '/wiki/User:AssumeGoodWraith/Template_Sandbox', 'Template Sandbox');