Pengguna:Rinai Natsumi/statusChanger2.js: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
k Maintenance: Replacing addOnloadHook with native jQuery (mw:ResourceLoader/Migration_guide_(users)#addOnloadHook - phab:T130879)
k Maintenance: Replacing legacy global variable (phab:T72470)
Baris 26:
addPortletLink(
"p-personal", //target tab - personal links
mw.config.get('wgServer') + mw.config.get('wgScript') + "?title=" + statusChangerConfig.statusPage + "&action=edit&newstatus=" + stat, //link URL
stat, //link text
"pt-status-" + stat, //id of new button