Difference between revisions of "MediaWiki:Monobook.js"

Айдать на коробушку Айдать на сыскальник
Content deleted Content added
No edit summary
No edit summary
Line 6: Line 6:
window.attachEvent("onload", func);
window.attachEvent("onload", func);
}
}


var disable_zero_section = 0;
function edit_zero_section()
{
if((disable_zero_section != 1) && (document.getElementById('bodyContent').innerHTML.match('class=\"editsection\"')))
document.getElementById('bodyContent').innerHTML = "<div class=\"editsection\" id=\"ca-edit-0\">[<a href=\"http://ru-sib.wikipedia.org/w/index.php?title=" + document.title.substr(0, document.title.lastIndexOf(" — ")) + "&action=edit&section=0\">чернить</a>]</div>" + document.getElementById('bodyContent').innerHTML;
}
addLoadEvent(edit_zero_section);


/* tooltips and access keys */
/* tooltips and access keys */