User:Liz/common.js
Appearance
< User:Liz
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:Liz/common.css. |
importScript('User:Equazcion/ScriptInstaller.js'); // Backlink: [[User:Equazcion/ScriptInstaller.js]]
mw.loader.load( '/w/index.php?title=User:Evad37/duplinks-alt.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Evad37/duplinks-alt.js]]
importScript("User:PleaseStand/userinfo.js");
importScript('User:Equazcion/ActiveWatchers.js'); //Linkback: [[User:Equazcion/ActiveWatchers]]
importScript('User:Liz/Vector.js'); //Linkback: [[User:Liz/Vector.js]] Added by Script installer
importScript("User:GregU/dashes.js");
importScript("User:PleaseStand/segregate-refs.js");var SegregateRefsJsAllowConversion = true;
importScript('User:Cameltrader/Advisor.js');
importScript('User:Dr_pda/prosesize.js'); //[[User:Dr_pda/prosesize.js]]
importScript('user:js/urldecoder.js')
var urlDecoderIntLinks = true;
importScript('User:Ohconfucius/script/Common Terms.js');
importScript('User:Ohconfucius/script/EngvarB.js'); //[[User:Ohconfucius/script/EngvarB.js]]
importScript('User:Ohconfucius/script/formatgeneral.js');
importScript('User:Ohconfucius/script/MOSNUM dates.js'); //[[User:Ohconfucius/script/MOSNUM dates.js]]
importScript('User:Scottywong/diffconverter.js');
importScript('User:Ucucha/HarvErrors.js');
importScript("User:Drilnoth/delresized.js");
importScript('User:WOSlinker/hlist.js');
importScript( 'User:MusikAnimal/responseHelper.js' );// Backlink: User:MusikAnimal/responseHelper.js
// <nowiki>
// Googling (based on Commons:MediaWiki:Gadget-GoogleImages.js):
if (mw.config.get('wgNamespaceNumber') == 6) {
var images = document.getElementById('file').getElementsByTagName('img');
var imageurl = images[0].parentNode.href;
mw.util.addPortletLink('p-cactions', 'https://www.google.com/searchbyimage?image_url=' + encodeURIComponent(imageurl), 'Google Images');
}
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hedonil/XTools/XTools.js&action=raw&ctype=text/javascript');
// </nowiki>
importScript('User:Liz/recent2.js'); //Linkback: [[User:Liz/recent2.js]] Added by Script installer
importScript("User:Writ Keeper/Scripts/teahouseUtility.js"); // Gives one-click option to add Teahouse invitation or talkback to a user
importScript("User:Writ Keeper/Scripts/teahouseTalkback.js"); // Adds Talkback reminder when you save an edit at the Teahouse
importScript('User:Qwertyytrewqqwerty/DisamAssist.js'); // Backlink: [[User:Qwertyytrewqqwerty/DisamAssist.js]]
importScript( 'User:Technical 13/Scripts/OneClickArchiver.js' );// Backlink: [[User:Technical 13/Scripts/OneClickArchiver]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ALegoktm%2Frescaled.js&action=raw&ctype=text/javascript'); // [[User:Legoktm/rescaled.js]]
// This code does an asynchronous check to see if there are any pages or files in
// "Category:Candidates for speedy deletion as attack pages" and if there are will
// place a big red button in the navigation window to take me there. It is my hopes
// that this can reduce the time that attack pages are present.
$(function () {
mw.loader.using( 'mediawiki.api', function () {
( new mw.Api() ).get( {
action: 'query',
prop: 'categoryinfo',
titles: 'Category:Candidates for speedy deletion as attack pages'
} ).done( function ( data ) {
var attackExists = data.query.pages[38838529].categoryinfo.files ||
data.query.pages[38838529].categoryinfo.pages;
if( attackExists ) {
mw.util.addPortletLink(
'p-navigation',
mw.config.get('wgServer')+mw.config.get('wgScriptPath')+
'/index.php?title=Category:Candidates for speedy deletion as attack pages',
'Attack page!',
'attackNotification'
);
attackNotification.children[0].style = 'background-color:red;color:white;font-weight:bold;';
}
} );
} );
});
importScript('User:Animum/easyblock.js'); //Linkback: [[User:Animum/easyblock.js]] Added by Script installer
importScript('User:V111P/js/whatLinksHereLinkFilter.js'); //Linkback: [[User:V111P/js/whatLinksHereLinkFilter.js]] Added by Script installer
importScript('User:WereSpielChequers/monobook.js'); //Linkback: [[User:WereSpielChequers/monobook.js]] Added by Script installer
importScript('User:The Earwig/copyvios.js');
importScript('User:Lourdes/PageCuration.js'); // Linkback: [[User:Lourdes/PageCuration.js]]
importScript( 'User:DannyS712/Cat links.js' );// [[User:DannyS712/Cat links.js]]
importScript('User:Bellezzasolo/Scripts/arb.js'); // Backlink: [[User:Bellezzasolo/Scripts/arb.js]]
importScript('User:SD0001/RFUD-helper.js'); // [[User:SD0001/RFUD-helper.js]]
importScript( 'User:DannyS712/DiscussionCloser.js' );// [[User:DannyS712/DiscussionCloser.js]]
importScript('User:Frietjes/findargdups.js'); //Linkback: [[User:Frietjes/findargdups.js]] Added by Script installer
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript');
importScript('User:BrandonXLF/ShowRevisionID.js'); // Backlink: [[User:BrandonXLF/ShowRevisionID.js]]
importScript('User:Mr. Stradivarius/gadgets/Draftify.js'); // Linkback: [[User:Mr. Stradivarius/gadgets/Draftify.js]]
$.when(
$.ready,
mw.loader.using('mediawiki.api')
).then(function() {
if (!$('.mw-undelete-subtitle').length || mw.config.get('wgCurRevisionId') || mw.config.get('wgUserGroups').indexOf('sysop') === -1) {
return;
}
var api = new mw.Api();
api.get({
"action": "query",
"format": "json",
"prop": "deletedrevisions",
"titles": mw.config.get('wgPageName'),
"formatversion": "2",
"drvprop": "content",
"drvlimit": "1"
}).then(function(json) {
var wikitext = json.query.pages[0].deletedrevisions[0].content;
wikitext = '=Last deleted version=\n' + wikitext;
return api.get({
"action": "parse",
"format": "json",
"title": mw.config.get('wgPageName'),
"text": wikitext,
"prop": "text",
"disableeditsection": 1,
"formatversion": "2"
});
}).then(function(json) {
var html = json.parse.text;
$('#mw-content-text').append(
$('<div>').attr('id', 'quickViewDeleted-text').html(html)
);
$('.mw-undelete-subtitle').append(
$('<span>').css({
'float': 'right'
}).append(
$('<a>').text('Jump to preview >').attr('href', '#quickViewDeleted-text')
)
);
}).catch(console.error);
});
importScript('User:Enterprisey/section-watchlist.js'); //Linkback: [[User:Enterprisey/section-watchlist.js]] Added by Script installer
importScript('User:Writ Keeper/Scripts/massRollback.js'); //Linkback: [[User:Writ Keeper/Scripts/massRollback.js]] Added by Script installer
mw.loader.load( '/w/index.php?title=User:RedWarn/.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:RedWarn/.js]]
importScript('User:Enterprisey/diff-permalink.js'); //Linkback: [[User:Enterprisey/diff-permalink.js]] Added by Script installer
importScript('User:Danski454/unwatch.js'); //Linkback: [[User:Danski454/unwatch.js]] Added by Script installer
importScript('User:The Transhumanist/WatchlistSorter.js'); //Linkback: [[User:The Transhumanist/WatchlistSorter.js]] Added by Script installer
importScript('User:DannyS712/Logs.js'); //Linkback: [[User:DannyS712/Logs.js]] Added by Script installer
importScript('User:Kangaroopower/MRollback.js'); //Linkback: [[User:Kangaroopower/MRollback.js]] Added by Script installer
importScript('User:Enterprisey/live-reload.js'); // Backlink: [[User:Enterprisey/live-reload.js]]
mw.loader.load( '/w/index.php?title=User:Evad37/MoveToDraft.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Evad37/MoveToDraft.js]]
//[[User:Schnark/js/artikel-statistik.js]]
mw . loader . load ( 'https://de.wikipedia.org/w/index.php?title=Benutzer:Schnark/js/artikel-statistik.js&action=raw&ctype=text/javascript' );
importScript('User:Nardog/CatChangesViewer.js'); // Backlink: [[User:Nardog/CatChangesViewer.js]]
importScript('User:MusikAnimal/nightpedia.js'); // Backlink: [[User:MusikAnimal/nightpedia.js]]
importScript('User:DannyS712/Draft no cat.js'); // Backlink: [[User:DannyS712/Draft no cat.js]]
importScript('User:MusikAnimal/userRightsManager.js'); // Backlink: [[User:MusikAnimal/userRightsManager.js]]
importScript('installed15'); // Backlink: [[installed15]]
importScript('User:GeneralNotability/ip-ext-info.js'); //Linkback: [[User:GeneralNotability/ip-ext-info.js]] Added by Script installer
importScript('User:GeneralNotability/mark-locked.js'); //Linkback: [[User:GeneralNotability/mark-locked.js]] Added by Script installer
importScript('User:GeneralNotability/moremenu-proxy.js'); //Linkback: [[User:GeneralNotability/moremenu-proxy.js]] Added by Script installer
importScript('User:BrandonXLF/HotDefaultSort.js'); // Backlink: [[User:BrandonXLF/HotDefaultSort.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Alexis_Jazz/RedirectCommonsRedirects.js&action=raw&ctype=text/javascript');
importScript('User:Mdaniels5757/markAdmins.js'); //Linkback: [[User:Mdaniels5757/markAdmins.js]] Added by Script installer
importScript('User:Bradv/endlesscontribs.js'); // Backlink: [[User:Bradv/endlesscontribs.js]]
importScript('User:SD0001/deleted-metadata-link.js'); //Linkback: [[User:SD0001/deleted-metadata-link.js]] Added by Script installer
mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:Ahecht/Scripts/refresh.js&action=raw&ctype=text/javascript' ); // Linkback: [[User:Ahecht/Scripts/refresh.js]]
mw.loader.load( '/w/index.php?title=User:Evad37/rater.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Evad37/rater.js]]
importScript('User:SD0001/StubSorter.js'); //Linkback: [[User:SD0001/StubSorter.js]] Added by Script installer
importScript('User:DannyS712/Draft re cat.js'); // Backlink: [[User:DannyS712/Draft re cat.js]]
importScript('User:SuperHamster/CiteUnseen.js'); //Linkback: [[User:SuperHamster/CiteUnseen.js]] Added by Script installer
importScript( 'User:Headbomb/unreliable.js' ); // Backlink: [[User:Headbomb/unreliable.js]]
importScript('User:Bradv/Scripts/Superlinks.js'); // Backlink: [[User:Bradv/Scripts/Superlinks.js]]
importScript('User:Ingenuity/cleaner.js'); // Backlink: [[User:Ingenuity/cleaner.js]]
importScript('User:Ingenuity/cleaner.js'); //Linkback: [[User:Ingenuity/cleaner.js]] Added by Script installer
importScript('User:DannyS712/SectionRemover.js'); // Backlink: [[User:DannyS712/SectionRemover.js]]
importScript('User:Lourdes/PageCuration.js'); //Linkback: [[User:Lourdes/PageCuration.js]] Added by Script installer
importScript('User:Þjarkur/NeverUseMobileVersion.js'); // Backlink: [[User:Þjarkur/NeverUseMobileVersion.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Indic-TechCom/Script/massMover.js&action=raw&ctype=text/javascript');
importScript('User:TheTVExpert/rmCloser.js'); // Backlink: [[User:TheTVExpert/rmCloser.js]]
importScript('User:MPGuy2824/MoveToDraft.js'); // Backlink: [[User:MPGuy2824/MoveToDraft.js]]
importScript('User:Ahecht/Scripts/massmove.js'); //Linkback: [[User:Ahecht/Scripts/massmove.js]] Added by Script installer
importScript('User:Evad37/MoveToDraft.js'); //Linkback: [[User:Evad37/MoveToDraft.js]] Added by Script installer
importScript('User:Novem_Linguae/Scripts/CiteHighlighter.js'); // Backlink: [[User:Novem_Linguae/Scripts/CiteHighlighter.js]]
importScript('User:Novem Linguae/Scripts/DraftCleaner.js'); //Linkback: [[User:Novem Linguae/Scripts/DraftCleaner.js]] Added by Script installer
importScript('User:Evad37/XFDcloser/v3.js'); //Linkback: [[User:Evad37/XFDcloser/v3.js]] Added by Script installer
importScript('User:TheresNoTime/Scripts/CT-Helper.js'); // Backlink: [[User:TheresNoTime/Scripts/CT-Helper.js]]
importScript('User:Qwerfjkl/scripts/massXFD.js'); //Linkback: [[User:Qwerfjkl/scripts/massXFD.js]] Added by Script installer
importScript('User:DannyS712/Draft_no_cat.js'); // Backlink: [[User:DannyS712/Draft_no_cat.js]]
importScript('User:Enterprisey/parent-cats.js'); //Linkback: [[User:Enterprisey/parent-cats.js]] Added by Script installer
importScript('User:Alex 21/script-categorypagelinks.js'); //Linkback: [[User:Alex 21/script-categorypagelinks.js]] Added by Script installer