Jump to content

User:Lugnuts/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.
// There is an error "TypeError: format.replace is not a function when calling  Date.now().toString( 36 )" leaking viewing information.
// Perhaps due to a browser extension script? Opting you out of error logging. [[phab:T272904]]
mw.loader.using('mediawiki.storage').then(function () {
  mw.storage.session.set( 'client-error-opt-out', '1' );
});

importScript('User:CAPTAIN MEDUSA/Testing.js'); //Linkback: [[User:CAPTAIN MEDUSA/Testing.js]]

importScript('User:Lugnuts/access.js'); //Linkback: [[User:Lugnuts/access.js]]

mw.loader.load("/w/index.php?title=User:Writ Keeper/Scripts/sectionLinkShortener.js&action=raw&ctype=text/javascript");

mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );

mw.config.set('wgPostEditConfirmationDisabled', true);