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)
 
(5 intermediate revisions by 2 users not shown)
Line 2:
//By Path slopu, 2019
//Attribution:Nageh, Eizzen
//This script is a combined version of userscripts created by Nageh and Eizzen
 
//Original code-User:Nageh/rollbackSum.js
Line 339 ⟶ 340:
});
});
 
//Adding links in tool bar
 
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");
}
 
$(countervandalismlinks);