Pengguna:ESCa/vector.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 4:
var portletId = UTCLiveClockConfig.portletId || 'p-personal';
var nextNode = UTCLiveClockConfig.nextNodeId ? document.getElementById(UTCLiveClockConfig.nextNodeId) : undefined;
liveClock.node = addPortletLink( portletId, mw.config.get('wgServer') + mw.config.get('wgScriptPath') + '/index.php?title=' + encodeURIComponent(wgPageName) + '&action=purge', '', 'utcdate', undefined, undefined, nextNode );
if( !liveClock.node ) return;
liveClock.node.style.fontSize = 'larger';
|