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

Konten dihapus Konten ditambahkan
←Membuat halaman berisi 'function twinklediff() { if( wgNamespaceNumber < 0 ) { return; } var query = { 'title': wgPageName, 'diff': 'cur', 'oldid': 'prev' }; addPortletLink( (typ...'
 
k Maintenance: Replacing addOnloadHook with native jQuery (mw:ResourceLoader/Migration_guide_(users)#addOnloadHook - phab:T130879)
Baris 27:
addPortletLink( (typeof pTwinkle != "undefined") ? pTwinkle : "p-cactions", wgServer + wgScriptPath + '/index.php?' + QueryString.create( query ), 'Current', 'tw-curdiff', 'Show difference to current revision' );
}
addOnloadHook$( twinklediff );
 
twinklediff.evaluate = function twinklediffEvaluate(me) {