importScript('Wikipedia:WikiProject User scripts/Scripts/Watchlist since'); /* === watchlistSorter === This tool that sorts your watchlist by [[WP:NS|namespac
importScript('Wikipedia:WikiProject User scripts/Scripts/Watchlist since');
/*
=== watchlistSorter ===
This tool that sorts your watchlist by [[WP:NS|namespace]] making it easier to browse for important edits - not recommended for
people with thousands of pages watched. Not compatible with Internet Explorer.
Not compatible with "Enhanced recent changes" option in Preferences.
To install it, add the following to [[Special:Mypage/monobook.js|your monobook]]:
*/
if (wgPageName == 'Special:Watchlist') {
importScript('User:Misza13/watchlistSorter.js');
}
/*
=== viewSource ===
This code will create a new button called '''[view source]''' to the left of the '''[edit this page]''' button (unless you're
already editing a page or the page is protected). Technically, it takes you to editing the page, but removes the interface (edit
summary box, minor edit and watch checkboxes, save/preview/show changes buttons) below the editing box. This will prevent you from
accidentally saving the page if you were just playing with the content.
To install it, add the following to [[Special:Mypage/monobook.js|your monobook]]:
*/
importScript('User:Misza13/viewSource.js');
/*
== [[m:pywikipedia|pywikipedia]] scripts ==
*[[User:Misza13/ace_voter.py]] - ArbCom Election voting script
*[[User:Misza13/spoilerkill.py]] - interactive script to aid in the removal of redundant {{tl|spoiler}} (and related) tags from
articles
*[[User:Misza13/browseCSD.py]]
== MediaWiki template stuff ==
Other random stuff I've created:
*[[User:Misza13/vote]] is the ultimate voting template! All in one, but since [[m:voting is evil|voting is evil]] and such
templates have been pretty controversial in the past, '''use it at your own risk'''.
*[[User:Misza13/CURRENTMINUTEOFDAY]] is a template that translates '''<nowiki>{{CURRENTTIME}}</nowiki>''' (i.e.
'''{{CURRENTTIME}}''') into a number of minutes passed since midnight: '''{{User:Misza13/CURRENTMINUTEOFDAY}}'''
*[[User:Misza13/Random]] is a Wiki-[[random number generator|RNG]]! See for yourself!
*/
importScript('User:Lupin/recent2.js');
importScript("User:Topaz/init.js");
importScript("User:Topaz/util.js");
importScript("User:Topaz/comm.js");
importScript("User:Topaz/wputil.js");
importScript("User:WarFox/statuschanger.js");
importScript('MediaWiki:LinkFixr.js');
importScript('User:Cameltrader/Advisor.js');
// install [[User:Cacycle/wikEd]] in-browser text editor
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+ '&action=raw&ctype=text/javascript');
/*
//Show the button to fix common typos using AutoWikiBrowser RegExTypoFix rules:
var wikEdConfig = {};
var wikEdConfig.regExTypoFix = true;*/
//Add your own summary presets:
var wikEdConfig = {};
wikEdConfig.comboPresetOptions = {};
wikEdConfig.comboPresetOptions.summary = [ 'super-duper mega edit',
'copyedit', 'reply', 'article created', 'intro rewrite', 'linkfix',
'removing linkspam', 'reverting test', 'reverting vandalism', 'formatting source text',
'{wikEdUsing}','typo corrections [[WP:TYPO]]' ];
// Adds a "Replace" tab which pops up two prompt boxes; one for a regexp and one for a replacement
function wpTextboxReplace() {
var s = prompt("Search regexp:");
if(s){
var r = prompt("Replace /"+s+"/ with:");
if(!r && r != '') return;
var txt = document.editform.wpTextbox1;
txt.value = txt.value.replace(new RegExp(s, "mg"), r);
}
}
addOnloadHook(function () {
if (document.forms.editform) {
mw.util.addPortletLink('p-cactions', 'javascript:wpTextboxReplace()', 'Replace', 'ca-replace',
'Regexp replace for the edit window', 'R', document.getElementById('ca-history'));
} });
//igloo
importScript('User:Ale_jrb/Scripts/igloo.js'); // [[User:Ale_jrb/Scripts/igloo]]
importScript('User:Symplectic_Map/spell.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.