Pengguna:Iwan Novirion/friendlytalkback.js: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
JS Pribadi
 
k Maintenance: Replacing addPortletLink() with mw.util.addPortletLink() (mw:ResourceLoader/Migration_guide_(users)#addPortletLink)
 
(1 revisi perantara oleh pengguna yang sama tidak ditampilkan)
Baris 40:
}
 
addOnloadHook$(friendlytalkback);
 
function friendlytalkback() {
Baris 46:
var username = wgTitle.split( '/' )[0].replace( /\"/, "\\\""); // only first part before any slashes
 
mw.util.addPortletLink( 'p-cactions', "javascript:friendlytalkback.callback(\"" + username + "\")", "TB", "friendly-talkback", "Easy talkback", "");
}
}