Pengguna:לערי ריינהארט/common.js: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
k Maintenance: Replacing importScriptURI with mw.loader.load (phab:T95964)
k Maintenance: Replacing addOnloadHook with native jQuery (mw:ResourceLoader/Migration_guide_(users)#addOnloadHook - phab:T130879)
Baris 2:
mw.loader.load("//www.wikidata.org/w/index.php?title=User:Yair rand/WikidataInfo.js&action=raw&ctype=text/javascript");
addOnloadHook$(function() { addPortletLink('p-cactions', wgServer + wgScript + '?title=' + encodeURIComponent(wgPageName) + '&action=purge', 'purge', 'ca-purge', 'Purge the internal cache for this page'); });
 
/* BiDi support • function bidiSwitchSetup() */
Baris 39:
'<'+'/style>');
 
addOnloadHook$(function () {
var diffSigns = new Array();
var fixDiffWidth = function () {