Content deleted Content added
Closedmouth (talk | contribs) no response from author, see talk |
m Maintenance: Replacing addPortletLink() with mw.util.addPortletLink() (mw:ResourceLoader/Migration_guide_(users)#addPortletLink) |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1:
function movetocommons()
{
var url="http://
}
function start()
{
if(mw.config.get('wgCanonicalNamespace') == "Image" || mw.config.get('wgCanonicalNamespace') == "File")
{
mw.util.addPortletLink("p-cactions","javascript:movetocommons()","move to commons","ca-mcom");
}
}
|