User:PrimeHunter/vector.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:PrimeHunter/vector.css. |
$( document ).ready( function() {
document.getElementById('pt-mytalk').getElementsByTagName('a')[0].href+='#footer';
mw.util.addPortletLink(
'p-personal',
mw.util.getUrl( 'Wikipedia:Help_desk#footer' ),
'HD',
'pt-HD',
'Go to Help desk',
null,
'#pt-preferences'
);
mw.util.addPortletLink(
'p-personal',
mw.util.getUrl( 'Wikipedia:Teahouse#footer' ),
'TH',
'pt-TH',
'Go to Teahouse',
null,
'#pt-preferences'
);
mw.util.addPortletLink(
'p-personal',
mw.util.getUrl( 'Wikipedia:Village_pump_(technical)#footer' ),
'VPT',
'pt-VPT',
'Go to Tech pump',
null,
'#pt-preferences'
);
mw.util.addPortletLink(
'p-personal',
mw.util.getUrl( 'Special:Search' ) + '?profile=advanced&fulltext=Search&ns0=1&redirs=1&profile=advanced',
'Search',
'pt-Search',
'Go to search',
null,
'#pt-preferences'
);
mw.util.addPortletLink(
'p-personal',
mw.util.getUrl( 'Special:ExpandTemplates' ),
'ET',
'pt-ET',
'ExpandTemplates',
null,
'#pt-preferences'
);
mw.util.addPortletLink(
'p-personal',
mw.util.getUrl( 'Special:PrefixIndex' ),
'PI',
'pt-PI',
'Special:PrefixIndex',
null,
'#pt-preferences'
);
mw.util.addPortletLink(
'p-personal',
mw.util.getUrl( 'Special:Logs' ),
'Logs',
'pt-logs',
'Special:Logs',
null,
'#pt-preferences'
);
mw.util.addPortletLink(
'p-personal',
mw.util.getUrl( 'Special:Search' ) + '?profile=advanced&search=incategory%3A"Pages+with+disallowed+DISPLAYTITLE+modifications"&ns0=1',
'DTM',
'pt-dtm',
'Pages with disallowed DISPLAYTITLE modifications',
null,
'#pt-preferences'
);
if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Search'){
mw.util.addPortletLink(
'p-tb',
location.href.replace( location.hash, '' ) + ( location.search ? '&' : '?' ) + 'useskin=monobook',
'MonoBook',
't-monobook',
'Repeat the search in MonoBook'
);
}
});
importScript('User:PrimeHunter/My subpages.js');
importScript('User:PrimeHunter/Source links.js'); // Linkback: [[User:PrimeHunter/Source links.js]]
importScript('User:PrimeHunter/Sticky_headers.js'); // Linkback: [[User:PrimeHunter/Sticky headers.js]]
importScript('User:X!/userrights.js');
importScript('User:PrimeHunter/In MonoBook.js'); // Linkback: [[User:PrimeHunter/In MonoBook.js]]
importScript('User:PrimeHunter/Impact.js'); // Linkback: [[User:PrimeHunter/Impact.js]]
importScript('User:PrimeHunter/Deleted contribs.js'); // Linkback: [[User:PrimeHunter/Deleted contribs.js]]
importScript("User:Writ Keeper/Scripts/teahouseUtility.js"); // Gives one-click option to add Teahouse invitation or talkback to a user
importScript('User:Jackmcbarn/advancedtemplatesandbox.js'); // Linkback: [[User:Jackmcbarn/advancedtemplatesandbox.js]]
importStylesheet('User:BrandonXLF/GreenRedirects.css') //Makes redirects green [[User:BrandonXLF/GreenRedirects]]
importScript('User:Markhurd/hidetopcontrib.js');
importScript('User:PrimeHunter/Category source.js'); // Linkback: [[User:PrimeHunter/Category source.js]]
importScript('User:PrimeHunter/Parameter links.js'); // Linkback: [[User:PrimeHunter/Parameter links.js]]
importScript('User:PrimeHunter/Mobile view.js'); // Linkback: [[User:PrimeHunter/Mobile view.js]]
importScript('User:YuviPanda/AssessmentBar/install.js');
importScript('User:Ohconfucius/script/MOSNUM dates.js'); // Backlink: [[User:Ohconfucius/script/MOSNUM dates.js]]
window.popupFixRedirs = true;
window.popupFixDabs = true;
window.popupDelay = 0.2;
window.popupRedlinkRemoval = true;
window.popupMaxPreviewCharacters = 10000;
window.popupPreviewButton = true;