User:Quiddity (WMF)/common.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
![]() | The accompanying .css page for this skin is at User:Quiddity (WMF)/common.css. |
// [[User:Js/ajaxPreview]] – Shows both "preview" and "changes" with Ajax, much faster than standard preview/changes buttons.
// mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Js/ajaxPreview.js&action=raw&ctype=text/javascript&oldid=618583974');
// ajaxPreviewPos = 'bottom'; // Buttons on the bottom, replacing standard buttons.
// Change the color of talkpage tabs, if they just contain banners, or are redirects
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Anomie/talklink.js&action=raw&ctype=text/javascript&oldid=625451050'); // Linkback: [[User:Anomie/talklink.js]]
importStylesheet('User:Anomie/talklink.css'); // Linkback: [[User:Anomie/talklink.css]]
// Add custom Character Inserter entries, to the end of the first 2 groupings
// window.charinsertCustom = {
// "Insert": ' Mention: {\{u|+}} {\{ping|+}}',
// "Wiki markup": ' Mention: {\{u|+}} {\{ping|+}}' };
// if(window.updateEditTools) window.updateEditTools();
// Test prtksxna's persistent ToC
// mw.loader.load( 'https://cdn.rawgit.com/prtksxna/persistent-toc/master/ptoc.css', 'text/css' );
// mw.loader.load( 'https://cdn.rawgit.com/prtksxna/persistent-toc/master/ptoc.js', 'text/javascript' );
// Accessibility menu - alpha - developed in https://phabricator.wikimedia.org/T91201
// mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:MGalloway (WMF)/common.js&action=raw&ctype=text/javascript');
// mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:MGalloway (WMF)/common.css&action=raw&ctype=text/css', 'text/css');
// inlineDiffDocs
// mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Writ Keeper/Scripts/commonHistory.js&action=raw&ctype=text/javascript&oldid=858958647');
// crathighlighter
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Amorymeltzer/crathighlighter.js&action=raw&ctype=text/javascript&oldid=877594709');
// importScript( 'User:Volker_E._(WMF)/dark-mode.js' );