User:SWFlash/monobook.js

onload=function{ announce=document.getElementById('announce');if(announce){ announce.innerHTML=' Super Mario Wiki   Ссылки: Чат, Список наблюдения, Предложения, JS, CSS. ' announce.style.padding='15px'}

proposal=document.getElementsByClassName('MainPageProposalBox')[0];if(proposal){ proposal.innerHTML=' [edit] '+proposal.innerHTML}

editstr='edit';if(wgUserLanguage=='ru'){editstr='править'} function editer{editlead=document.getElementById('firstHeading');if(editlead){ editlead.innerHTML=editlead.innerHTML+' ['+editstr+'] '}} if(wgIsArticle){rig=wgRestrictionEdit;gir=wgUserGroups;if(rig.length==0){editer }else{for(i=0;i<rig.length;i++){for(z=0;z<gir.length;z++){if(rig[i]==gir[z]){editer;break}}}}}}