User:SWFlash/monobook.js

function show{ shoe=['welcome','niwa','shroom','maintain','footer','p-Mario_knowledge','p-community'] for(i=0;iправить] '}}

onload=function{

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Подпись' $('pt-preferences').innerHTML+=' JS CSS'

if($('bodyContent').innerHTML.indexOf('Очистить кеш этой страницы?')>0) {$('bodyContent').getElementsByTagName('form')[0].getElementsByTagName('input')[0].click}

if(wgPageName=='User:SWFlash/Sig'){$('pt-mytalk').getElementsByClassName('spe')[0].getElementsByTagName('a')[0].style.fontWeight='bold'} if(wgPageName=='User:SWFlash/monobook.js'){$('pt-preferences').getElementsByClassName('spe')[0].getElementsByTagName('a')[0].style.fontWeight='bold'} if(wgPageName=='User:SWFlash/monobook.css'){$('pt-preferences').getElementsByClassName('spe')[1].getElementsByTagName('a')[0].style.fontWeight='bold'}

if(wgTitle=='Main Page'){ $('ca-nstab-main').getElementsByTagName('a')[0].innerHTML='Заглавная'}

if(wgPageName=='Main_Page'){

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

proposal=document.getElementsByClassName('MainPageProposalBox')[0];if(proposal){ proposal.innerHTML=' [править</a>] '+proposal.innerHTML}

location=document.getElementsByClassName('pds-links')[0].getElementsByTagName('a')[0].href

$('ca-watch').getElementsByTagName('a')[0].style.display='none' reset=document.createElement('a') reset.href='javascript:show' $('ca-watch').appendChild(reset)

$('searchInput').focus }}