//<pre><nowiki>
//First loads
importScript('User:Voice_of_All/Addtabs/monobook.js');
importScript('User:Voice_of_All/replacetxt.js');
//wierd stuff
importScript('User:Voice_of_All/Specialadmin/monobook.js');
//crat stuff
importScript('User:Voice_of_All/Bureaucrat/monobook.js');
importScript('User:Voice_of_All/History/monobook.js');
//CU stuff
importScript('User:Voice_of_All/CheckUser/monobook.js');
importScript('User:Voice_of_All/Protection/monobook.js');
//BAG stuff
importScript('User:Voice_of_All/Approvals.js');
//rollback
importScript('User:Voice_of_All/Revert.js');
//search links
importScript('User:Voice_of_All/Google/monobook.js');
//</nowiki></pre>
////<pre><nowiki>
function navigationlinks()
{
if (typeof addnavbox_link === 'undefined') return;
addnavbox_link('https://wiki95.com/en/Wikipedia:Administrator_intervention_against_vandalism','Vandalism','aiv-ln');
addnavbox_link('https://wiki95.com/en/Category:Candidates_for_speedy_deletion','Speedy deletions','speedy-ln');
addnavbox_link('https://wiki95.com/en/Wikipedia:Requests for page protection','Protection requests','rfpp-ln');
addnavbox_link('https://wiki95.com/en/Wikipedia:Administrators%27_noticeboard','Noticeboard','AN-ln');
}
function addtoolboxlinks()
{
if(typeof addlilink === 'undefined' || !document.getElementById('p-tb')) return;
var tb = document.getElementById('p-tb').getElementsByTagName('ul');
addlilink(tb, 'https://wiki95.com/en/Special:Newpages', 'New pages', '');
addlilink(tb, 'https://wiki95.com/en/Special:Log/newusers', 'New users', '');
}
//</nowiki></pre>
////<pre><nowiki>
//MAIN
$(Mainfast)
function Mainfast()
{
navigationlinks();
addtoolboxlinks();
}
window.onload = Main;
function Main()
{
block_check();
}
//END
//************
function block_check()
{
if (document.title.indexOf('Block user') !=0){return;}
//monobook
if (document.getElementById('pt-userpage'))
{var user_name = document.getElementById('pt-userpage').getElementsByTagName('a').innerHTML;}
//cologneblue
else if (document.getElementById('quickbar') && document.getElementById('quickbar').getElementsByTagName('h6'))
{
var toplinks = document.getElementById('quickbar');
var user_name = toplinks.innerHTML.split('<h6>My pages</h6>').split('title="User:').split('"');
}
if (document.getElementsByTagName('input').value == user_name)
{alert('Are you sure you want to block yourself?');}
else if (document.getElementsByTagName('input').value == user_name.replace(/ /g,'_'))
{alert('Are you sure you want to block yourself?');}
}
//
$(Dfn_js_con)
function Dfn_js_con()
{
Mvaluejs_class = 'DMalak1';
Rvaluejs_class = 'ERollen2';
Uvaluejs_class = 'DRaven2';
}
//
//</nowiki></pre>]