$( 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: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:YuviPanda/AssessmentBar/install.js');
window.popupFixRedirs = true;
window.popupFixDabs = true;
window.popupDelay = 0.2;
window.popupRedlinkRemoval = true;