Ndryshimi mes inspektimeve të "MediaWiki:Common.js"

v
Fixed some minor flaws, should work exactly as it did before
v (Fixed some minor flaws, should work exactly as it did before)
// Crudely widen the sitenotice message to 100% page width and hide the dismiss link.
// NB: This one is better left commented out when not specifically needed.
/*
addOnloadHook(function(){
try {
var siteNoticeText = document.getElementById('mw-dismissable-notice').childNodes[0].childNodes[0].childNodes[0];
var siteNoticeDismisssiteNoticeText = document.getElementById('mw-dismissable-notice').childNodes[0].childNodes[0].childNodes[20];
var siteNoticeTextsiteNoticeDismiss = document.getElementById('mw-dismissable-notice').childNodes[0].childNodes[0].childNodes[02];
siteNoticeDismiss.setAttribute('style', 'display:none;');
}catch(e){
siteNoticeText.setAttribute('width', '100%');
return false;
}
siteNoticeDismiss.setAttribute('style', 'display:none;');
siteNoticeText.setAttribute('width', '100%');
});
*/
 
/** Interwiki links to featured articles ***************************************
*