User:Epicgenius/pcreview.js: Difference between revisions

Content deleted Content added
didn't work
m Maintenance: Replacing addPortletLink() with mw.util.addPortletLink() (mw:ResourceLoader/Migration_guide_(users)#addPortletLink)
 
(9 intermediate revisions by 2 users not shown)
Line 1:
// Pending changes link in toolbar
// By Epigenius, 2015
// with some help from MusikAnimal's talk page
 
function pendingchanges(){
mw.util.addPortletLink("p-tb", "https://en.wikipedia.org/wiki/Special:PendingChanges", "Pending changes", "tb-pendingchanges","View the list of pending changes");
}
$(pendingchanges);