MediaWiki:Common.js: berrikuspenen arteko aldeak

Ezabatutako edukia Gehitutako edukia
t Bot: Security fix: protocol-relative URLs per https://meta.wikimedia.org/?oldid=3197161 (questions?).
t Fixed some minor flaws, should work exactly as it did before
8. lerroa:
document.getElementById("wpPreview").style.fontWeight = "bold";
}
addOnloadHook$(document).ready(forcePreview);
 
 
179. lerroa:
}
}
addOnloadHook$(document).ready(imageGroup);
//###### finalitza codi per a plantilla de diapositives #####
253. lerroa:
}
addOnloadHook$(document).ready(addCharSubsetMenu);
 
 
function addLoadEvent(func)
{
if (window.addEventListener)
window.addEventListener("load", func, false);
else if (window.attachEvent)
window.attachEvent("onload", func);
}
 
function LinkFA()
284 ⟶ 275 lerroa:
}
 
addLoadEvent$(document).ready(LinkFA);
 
 
394 ⟶ 385 lerroa:
}
addLoadEvent$(document).ready(createNavigationBarToggleButton);
 
// == Collapsible tables ======================================
471 ⟶ 462 lerroa:
}
addLoadEvent$(document).ready(createCollapseButtons);
 
483 ⟶ 474 lerroa:
 
if (isMainPage && !isDiff) {
mw.util.addCSS('#lastmod, #siteSub, #contentSub, h1.firstHeading, #catlinks' +{ display: none !important; }');
document.write('<style type="text/css">/*<![CDATA[*/ ' +
'#lastmod, #siteSub, #contentSub, h1.firstHeading, #catlinks' +
'{ display: none !important; } /*]]>*/</style>');
}