User:Path slopu/scripts/RBK-assist.js: Difference between revisions

Content deleted Content added
No edit summary
m Maintenance: Fixing deprecated call to addPortletLink (mw:ResourceLoader/Migration_guide_(users)#addPortletLink)
 
(One intermediate revision by the same user not shown)
Line 344:
 
function countervandalismlinks() {
mw.util.addPortletLink("p-tb", "https://en.wikipedia.org/wiki/Wikipedia:Administrator_intervention_against_vandalism", "AIV", "tb-AIV","Go to AIV");
mw.util.addPortletLink("p-tb", "https://en.wikipedia.org/wiki/Wikipedia:Administrators%27_noticeboard/Incidents", "ANI", "tb-ANI","Go to ANI");
mw.util.addPortletLink("p-tb", "https://en.wikipedia.org/wiki/Wikipedia:Administrators%27_noticeboard/Edit_warring", "AN3", "tb-AN3","Go to AN3");
mw.util.addPortletLink("p-tb", "https://en.wikipedia.org/wiki/Wikipedia:Requests_for_page_protection", "RPP", "tb-RPP","Go to RPP");
mw.util.addPortletLink("p-tb", "https://en.wikipedia.org/wiki/Wikipedia:Usernames_for_administrator_attention", "UAA", "tb-UAA","Go to UAA");
mw.util.addPortletLink("p-tb", "https://en.wikipedia.org/wiki/Wikipedia:Biographies_of_living_persons/Noticeboard", "BLPN", "tb-BLPN","Go to BLPN");
}
 
addOnloadHook$(countervandalismlinks);