Utente:Bulwersator/common.js: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
m Maintenance: Replacing addOnloadHook with native jQuery (mw:ResourceLoader/Migration_guide_(users)#addOnloadHook - phab:T130879) |
m Maintenance: Replacing addPortletLink() with mw.util.addPortletLink() (mw:ResourceLoader/Migration_guide_(users)#addPortletLink) |
||
Riga 1:
function move() {
if (wgNamespaceNumber == 6) {
mw.util.addPortletLink("p-cactions", "http://toolserver.org/~magnus/commonshelper.php?interface="+"en"+"&image="+wgTitle+"&lang="+wgContentLanguage+"&commonsense=1&reallydirectupload=1", "To Commons");
}
}
|