Content deleted Content added
Amorymeltzer (talk | contribs) m Remove legacy globals per phab:T72470 (via WP:JWB) |
m Maintenance: Replacing addPortletLink() with mw.util.addPortletLink() (mw:ResourceLoader/Migration_guide_(users)#addPortletLink) |
||
(One intermediate revision by the same user not shown) | |||
Line 9:
if(mw.config.get('wgCanonicalNamespace') == "Image" || mw.config.get('wgCanonicalNamespace') == "File")
{
mw.util.addPortletLink("p-cactions","javascript:movetocommons()","move to commons","ca-mcom");
}
}
|