User:Alex 21/common.js
Appearance
(Redirected from User:AlexTheWhovian/common.js)
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:Alex 21/common.css. |
var openUnread_showAbove = true;
var moveReasonDefault = "Requested at [[WP:RM/TR]].";
importScript('User:Ucucha/duplinks.js');
importScript('User:Evad37/Watchlist-openUnread.js');
importScript('User:Andy M. Wang/pageswap.js');
importScript('User:Kephir/gadgets/sagittarius.js'); // [[User:Kephir/gadgets/sagittarius]]
importScript('User:Jackmcbarn/editProtectedHelper.js'); // Linkback: [[User:Jackmcbarn/editProtectedHelper.js]]
importScript('User:Jackmcbarn/applyPST.js');
importScript('User:Ohconfucius/script/MOSNUM dates.js'); // [[User:Ohconfucius/script/MOSNUM dates.js]]
mw.loader.load('https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ATheopolisme%2FScripts%2FajaxWatchlist.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:PleaseStand/userScriptSandbox.js&action=raw&ctype=text/javascript');
mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:Plastikspork/massmove.js&action=raw&ctype=text/javascript' ); //[[User:Plastikspork/massmove.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Nardog/RefRenamer.js&action=raw&ctype=text/javascript');
mw.loader.using( ['mediawiki.util'] ).then( function () {
mw.util.addPortletLink("p-tb", "//en.wikipedia.org/wiki/Special:Massmove", "Mass move", "p-massmove", "Mass move");
mw.util.addPortletLink('p-personal', '/wiki/User:Alex_21/Categories', 'Cat', '', '', '', '#pt-notifications-alert');
mw.util.addPortletLink('p-personal', '/wiki/User:Alex_21/TV', 'TV', '', '', '', '#pt-notifications-alert');
mw.util.addPortletLink('p-personal', '/wiki/User:Alex_21/Notes', 'Notes', '', '', '', '#pt-notifications-alert');
});
// My scripts
importScript('User:Alex 21/script-functions.js');
importScript('User:Alex 21/script-episodetable.js');
importScript('User:Alex 21/script-formatdates.js');
importScript('User:Alex 21/script-linecolour.js');
importScript('User:Alex 21/script-plotlength.js');
importScript('User:Alex 21/script-redlinks.js');
importScript('User:Alex 21/script-seasonlist.js');
importScript('User:Alex 21/script-seriesoverview.js');
importScript('User:Alex 21/script-tablecolour.js');
importScript('User:Alex 21/script-tvepisoderatings.js');
importScript('User:Alex 21/script-updateepisodes.js');
importScript('User:Alex 21/script-categorypagelinks.js');
importScript('User:Alex 21/script-imageres.js');
importScript('User:Alex 21/script-categoriessort.js');
importScript('User:Alex 21/script-references.js');
(function() {
'use strict';
var button = $('<button class="oo-ui-buttonElement-button">Dummy edit</button>');
button.click(function(e) {
var wpSummary = $('#wpSummary');
var val = wpSummary.val();
val = "[[WP:DUMMY|(dummy edit)]]; " + val;
wpSummary.val(val);
e.preventDefault();
});
var span = $('<span class="oo-ui-widget-enabled oo-ui-inputWidget oo-ui-buttonElement oo-ui-buttonElement-framed oo-ui-labelElement"></span>');
span.append(button);
$('#wpDiffWidget').after(' ', span);
})();
if (window.location.href.indexOf('summary=hide') > 0) {
d = document.getElementsByClassName('description');
for (i=0; i<d.length; i++) d[i].style.display = 'none';
}
importScript('User:קיפודנחש/cat-a-lot.js'); // Backlink: [[User:קיפודנחש/cat-a-lot.js]]