User:Spartaz/beta.js
// Script from [[User:ais523/editcount.js]]
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:ais523/editcount.js'
+ '&action=raw&ctype=text/javascript');
//popups
// [[User:Lupin/popups.js]]
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'
+ '&action=raw&ctype=text/javascript');
importScript("User:Lupin/recent2.js");
//DRV Closing script
importScript("User:Lifebaka/closedrv.js");
// Interiot's tool2
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Interiot/Tool2/code.js'
+ '&action=raw&ctype=text/javascript');
// User:Steel359/protection.js importScript('User:Steel359/protection.js');
importScript('User:AzaToth/twinkle.js');
TwinkleConfig = {
revertMaxRevisions : 50,
userTalkPageMode : 'window',
showSharedIPNotice : true,
openTalkPage : [ 'agf', 'norm', 'vand' ],
openTalkPageOnAutoRevert : false,
openAOLAnonTalkPage : false,
summaryAd : " using [[WP:TWINKLE|TW]]",
deletionSummaryAd : " using [[WP:TWINKLE|TW]]",
protectionSummaryAd : " using [[WP:TWINKLE|TW]]",
watchSpeedyPages : [ 'g3', 'g5', 'g10', 'g11', 'g12' ],
watchProdPages : true,
openUserTalkPageOnSpeedyDelete : [ 'g1', 'g2', 'g10', 'g11', 'g12', 'a1', 'a7', 'i3', 'i5', 'i7', 'u3', 't1' ],
watchRevertedPages : [ 'agf', 'norm', 'vand', 'torev' ],
markRevertedPagesAsMinor : [ 'agf', 'norm', 'vand', 'torev' ],
deleteTalkPageOnDelete : false,
watchWarnings : true,
markAIVReportAsMinor : true,
markSpeedyPagesAsMinor : true,
offerReasonOnNormalRevert : true};
//VoA stuff
importScript('User:Voice_of_All/Addtabs/monobook.js');
importScript('User:Voice_of_All/replacetxt.js');
importScript('User:Voice_of_All/Specialadmin/monobook.js');
importScript('User:Voice_of_All/Bureaucrat/monobook.js');
importScript('User:Voice_of_All/History/monobook.js');
importScript('User:Voice_of_All/Sleeper/monobook.js');
importScript('User:Voice_of_All/Adminwarnings/monobook.js');
importScript('User:Voice_of_All/Deletion/monobook.js');
importScript('User:Voice_of_All/Google/monobook.js');
/**** afd helper ****/
document.write('<script type="text/javascript"' +
'src="http://en.wikipedia.org/w/index.php?title=User:Jnothman/afd_helper/' +
'script.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');
function Main()
{
afd_helper();
// You may include here other "extensions"
}
// [[User:Lupin/popups.js]]
/*
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'
+ '&action=raw&ctype=text/javascript');
*/
function hidevfd(){
var divs = document.getElementsByTagName("div");
for(var x = 0; x < divs.length; ++x)
if(divs[x].className.indexOf("vfd") != -1)
divs[x].style.display = "none";
document.getElementById('footer').style.display = 'none';
}
function showvfd(){
var divs = document.getElementsByTagName("div");
for(var x = 0; x < divs.length; ++x)
if(divs[x].className.indexOf("vfd") != -1)
divs[x].style.display = "";
document.getElementById('footer').style.display = '';
}
function addlilink(tabs, url, name){
var na = document.createElement('a');
na.href = url;
na.appendChild(document.createTextNode(name));
var li = document.createElement('li');
li.appendChild(na);
tabs.appendChild(li);
return li;
}
function vfdlinks(){
var tabs = document.getElementById('p-cactions').getElementsByTagName('ul')[0];
if(document.title.indexOf("Wikipedia:Articles for deletion") == 0){
addlilink(tabs, 'javascript:hidevfd()', 'Hide');
addlilink(tabs, 'javascript:showvfd()', 'Show');
}
}
if (window.addEventListener) window.addEventListener("load",vfdlinks,false);
else if (window.attachEvent) window.attachEvent("onload",vfdlinks);
// Script from [[User:ais523/editcount.js]]
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:ais523/editcount.js'
+ '&action=raw&ctype=text/javascript');
function checkall()
{
if (document.getElementById('bodyContent'))
{form = document.getElementById('bodyContent');}
else if (document.getElementById('quickbar'))
{form = document.getElementById('content');}
l = form.getElementsByTagName('input');
for (i = 0 ; i < l.length; i++)
{
if (l[i].type == 'checkbox')
{l[i].value = '1'; l[i].checked=true;}
}
}
if (document.title.indexOf('View and restore deleted pages') != -1 && location.href.search(/×tamp=|&action=submit/) == -1)
{
addTab("javascript:checkall()", "Check all revisions", "ca-checkall", "Check all deleted revisions", "");
}
// CSD AutoReason
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:^demon/csd.js'
+ '&action=raw&ctype=text/javascript');
//
function filter_main() {
var lis = document.getElementById('bodyContent').getElementsByTagName('li');
var len = lis.length;
for(var i=0; i<len; i++) {
var li = lis[i];
if(li.getElementsByTagName('a')[1].innerHTML.indexOf(':') != -1) {
//li.parentNode.removeChild(li);
li.style.display = 'none';
}
}
}
if(wgPageName == 'Special:Linksearch') {
addOnloadHook(function() {
mw.util.addPortletLink('p-cactions', "javascript:void(filter_main())", "filter", 'ca-filter', 'Filter all pages on here to only be for mainspace');
});
}
//
importScript('User:Mr.Z-man/closeAFDtest.js');
importScript('User:Mr.Z-man/hideClosedAFD.js');
Content Disclaimer
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.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.