User:SWFlash/monobook.js

onload=function{ function $(a){return document.getElementById(a)}

announce=$('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}

function editer{editlead=$('firstHeading');if(editlead){ editlead.innerHTML+=' [править] '}} editab=$('ca-edit') editab=editab?editab.getElementsByTagName('a')[0].innerHTML:'';if(editab=='Править'){ if(wgIsArticle){rig=wgRestrictionEdit;gir=wgUserGroups;if(rig.length==0){editer }else{for(i=0;iПодпись</li>' $('pt-preferences').innerHTML+=' JS</a><li>CSS</a></li></li>' }