importScript('User:Cameltrader/Advisor.js'); importScript("User:PleaseStand/segregate-refs.js"); importScript('MediaWiki:LinkFixr.js')
importScript('User:Cameltrader/Advisor.js');
importScript("User:PleaseStand/segregate-refs.js");
importScript('MediaWiki:LinkFixr.js');
importScript('user:js/urldecoder.js');
importScript('User:Lenore/autolink.js');
mw.loader.load('https://ru.wikipedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript');
importScript('User:Ale_jrb/Scripts/userhist.js');
//[[User:ais523 non-admin/adminrights.js]]
//
// This script highlights bluelinks to admins' userpages or talkpages in bodyContent (that is, everything but the tabs, personal
// links at the top of the screen and sidebar) by giving them a cyan background. Please import this script using importScript,
// rather than copying the code, as the list of admins is hard-coded for performance and if you copy the code the list won't update
// with time (I update it from time to time). You can do this by substing Template:js with this script's name as an argument in your
// monobook.js.
//
// If you want a colour other than cyan, add
// .ais523_adminrights_admin {background-color: #FFFF00 !important}
// (or any other colour code) to your monobook.css file.
//Update this list at
//http://en.wikipedia.org/w/index.php?title=Special:Listusers&limit=5000&group=sysop&ais523update=y
var adminrights=new Array();
importScript('User:Ais523/adminrights-admins.js'); //[[User:Ais523/adminrights.js]]
//Updating script
addOnloadHook(function(){
if(location.href=="http://en.wikipedia.org/w/index.php?title=Special:ListUsers&limit=5000&"+
"group=sysop&ais523update=y")
{
var h=document.getElementById('bodyContent').innerHTML;
var a=new Array();
h=h.split(/\< *li *\>/i);
var i=0;
while(++i<h.length)
{
a[h[i].split(">")[1].split("<")[0]]=h[i].split(/\< *\/ *li *\>/i)[0];
}
for(i in a)
{
document.write("adminrights['"+
encodeURIComponent(i).split("\\").join("\\\\").split("'").join("%27")
.split("(").join("%28").split(")").join("%29")
.split("%21").join("!").split("%2C").join(",")
.split("%3A").join(":")+"']=1;<BR/>");
}
}
});
//Highlighting script. Based on [[User:ais523/highlightmyname.js]].
function highlightadmins(n,p) //node, parent node
{
while(n!=null)
{
if(n.nodeType==1&&n.tagName.toLowerCase()=="a") //anchor
{
if(n.href.indexOf("http://en.wikipedia.org/wiki/User:")!=-1)
{
var u=n.href.split("http://en.wikipedia.org/wiki/User:")[1];
if(adminrights[u.split("_").join("%20")]==1)
{
n.style.backgroundColor="#00FFFF";
if(n.className==null||n.className=="") n.className="ais523_adminrights_admin";
else n.className+="ais523_adminrights_admin";
}
n=n.nextSibling;
}
else if(n.href.indexOf("http://en.wikipedia.org/wiki/User_talk:")!=-1)
{
var u=n.href.split("http://en.wikipedia.org/wiki/User_talk:")[1];
if(adminrights[u.split("_").join("%20")]==1)
{
n.style.backgroundColor="#00FFFF";
if(n.className==null||n.className=="") n.className="ais523_adminrights_admin";
else n.className+=" ais523_adminrights_admin";
}
n=n.nextSibling;
}
else if(n.href.indexOf("http://en.wikipedia.org/wiki/Special:Contributions:")!=-1)
{
var u=n.href.split("http://en.wikipedia.org/wiki/Special:Contributions:")[1];
if(adminrights[u.split("_").join("%20")]==1)
{
n.style.backgroundColor="#00FFFF";
if(n.className==null||n.className=="") n.className="ais523_adminrights_admin";
else n.className+=" ais523_adminrights_admin";
}
n=n.nextSibling;
}
else if(n.href.indexOf("http://en.wikipedia.org/w/index.php?title=User:")!=-1)
{
var u=n.href.split("http://en.wikipedia.org/w/index.php?title=User:")[1];
if(adminrights[u.split("_").join("%20")]==1)
{
n.style.backgroundColor="#00FFFF";
if(n.className==null||n.className=="") n.className="ais523_adminrights_admin";
else n.className+=" ais523_adminrights_admin";
}
n=n.nextSibling;
}
else if(n.href.indexOf("http://en.wikipedia.org/w/index.php?title=User_talk:")!=-1)
{
var u=n.href.split("http://en.wikipedia.org/w/index.php?title=User_talk:")[1];
if(adminrights[u.split("_").join("%20")]==1)
{
n.style.backgroundColor="#00FFFF";
if(n.className==null||n.className=="") n.className="ais523_adminrights_admin";
else n.className+=" ais523_adminrights_admin";
}
n=n.nextSibling;
}
else
{
if(n.firstChild!=null) highlightadmins(n.firstChild,n);
n=n.nextSibling;
}
}
else
{
if(n.firstChild!=null) highlightadmins(n.firstChild,n);
n=n.nextSibling;
}
}
}
addOnloadHook(function() {
if(location.href.indexOf("?ais523")==-1&&location.href.indexOf("&ais523")==-1&&
location.href.indexOf("?action=edit")==-1&&location.href.indexOf("?action=submit")==-1&&
location.href.indexOf("&action=edit")==-1&&location.href.indexOf("&action=submit")==-1&&
wgPageName!="Special:Preferences")
{
highlightadmins(document.getElementById('bodyContent').firstChild,
document.getElementById('bodyContent'));
}
});
// Adds a link to the admin dashboard
//
// Installation Method 1:
// Add the following line to your monobook.js
// importScript('User:Plastikspork/admindash.js');
//
// Installation Method 2:
// Just copy and paste the uncommented part of this page
addOnloadHook(function () {
mw.util.addPortletLink( "p-personal",
mw.config.get('wgServer') + mw.config.get('wgScriptPath') + "/index.php?title=Template:Admin_dashboard",
"admin dashboard", "pt-admindashboard", "Link to admin dashboard",
"A", document.getElementById("pt-logout"));
});
// Please leave the following line
// [[user:Where/usertabs]]
addOnloadHook(function() {
if (wgTitle.indexOf("/") != -1 || document.title.indexOf("- History -") != -1) //no subpages or history
return;
if (wgCanonicalNamespace == "User" || wgCanonicalNamespace == "User_talk") {
var username = encodeURIComponent( wgTitle );
mw.util.addPortletLink("p-cactions", wgServer + "/wiki/Special:Contributions/" + username, "Contribs", "ca-contrib", "User contributions");
mw.util.addPortletLink("p-cactions","http://toolserver.org/~soxred93/count/index.php?name="+ username +"〈=en&wiki=wikipedia" , "Edit count", "ca-editcount", "Edit count from X!'s Tool");
mw.util.addPortletLink("p-cactions", wgServer + "/w/index.php?title=Special:Log&type=move&user=" + username, "Page moves", "ca-pagemoves", "Page moves by this user");
mw.util.addPortletLink("p-cactions", wgServer + "/w/index.php?title=Special:Log&type=block&page=User:" + username, "Blocks received", "ca-blog", "Blocks received by this user");
mw.util.addPortletLink("p-cactions", wgServer + "/w/index.php?title=Special:Prefixindex&from=" + username + "&namespace=2", "Userspace", "", "List of pages in this user's userspace");
mw.util.addPortletLink("p-cactions", wgServer + "/w/index.php?title=Special:Log&type=block&user=" + username, "Blocks given", "", "Blocks by this user");
mw.util.addPortletLink("p-cactions", wgServer + "/w/index.php?title=Special:Log&type=protect&user=" + username, "Protections", "", "Protections by this user");
mw.util.addPortletLink("p-cactions", wgServer + "/w/index.php?title=Special:Log&type=delete&user=" + username, "Deletions", "", "Deletions by this user");
}
});
importScript('User:AWeenieMan/furme.js');
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.