User:Katanzag/monobook.js: Difference between revisions
Appearance
Content deleted Content added
m Maintenance: Replacing document.write with mw.loader.load (mw:ResourceLoader/Migration_guide_(users)#Avoid_document.write() - phab:T130879) |
m Maintenance: Replacing document.write with mw.loader.load (mw:ResourceLoader/Migration_guide_(users)#Avoid_document.write() - phab:T130879) |
||
Line 2: | Line 2: | ||
// http://it.wikipedia.org/wiki/Wikipedia:Popup_di_navigazione |
// http://it.wikipedia.org/wiki/Wikipedia:Popup_di_navigazione |
||
⚫ | |||
document.write('<script type="text/javascript" src="' |
|||
⚫ | |||
⚫ | |||
⚫ | |||
// [[User:Lupin/popups.js]] |
// [[User:Lupin/popups.js]] |
||
Line 19: | Line 18: | ||
// install [[User:Cacycle/diff]] text diff code |
// install [[User:Cacycle/diff]] text diff code |
||
⚫ | |||
document.write('<script type="text/javascript" src="' |
|||
⚫ | |||
⚫ | |||
⚫ | |||
// Commented out to fix bug in Popups which has a same tool, |
// Commented out to fix bug in Popups which has a same tool, |
||
Line 31: | Line 29: | ||
// install [[User:Mboverload/RegExTypoFix|RegExTypoFix]] common typo fixer |
// install [[User:Mboverload/RegExTypoFix|RegExTypoFix]] common typo fixer |
||
⚫ | |||
document.write('<script type="text/javascript" src="' |
|||
⚫ | |||
⚫ | |||
⚫ | |||
// install [[User:Cacycle/wikEd international]] translation here |
// install [[User:Cacycle/wikEd international]] translation here |
||
// install [[User:Cacycle/wikEd]] editing page extension |
// install [[User:Cacycle/wikEd]] editing page extension |
||
⚫ | |||
document.write('<script type="text/javascript" src="' |
|||
⚫ | |||
⚫ | |||
⚫ | |||
Latest revision as of 23:01, 20 May 2022
// Popups http://en.wikipedia.org/wiki/Wikipedia:Tools/Navigation_popups
// http://it.wikipedia.org/wiki/Wikipedia:Popup_di_navigazione
mw.loader.load('https://it.wikipedia.org/enwiki/w/index.php?title=Utente:Emc2/strings-it.js'
+ '&action=raw&ctype=text/javascript');
// [[User:Lupin/popups.js]]
importScript('User:Lupin/popups.js');
popupFixDabs=true;
simplePopups=false;
popupStructure='menus';
popupAdminLinks=true;
popupShortcutKeys=true;
//WikiED
// installation of the wikEd editing page extension
// install [[User:Cacycle/diff]] text diff code
mw.loader.load('https://en.wikipedia.org/enwiki/w/index.php?title=User:Cacycle/diff.js'
+ '&action=raw&ctype=text/javascript');
// Commented out to fix bug in Popups which has a same tool,
// see http://en.wikipedia.org/wiki/Wikipedia_talk:Tools/Navigation_popups#Stopped_Working
//// install [[User:Pilaf/Live_Preview]] page preview tool
//document.write('<script type="text/javascript" src="'
//+ 'http://en.wikipedia.org/enwiki/w/index.php?title=User:Pilaf/livepreview.js'
//+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
// install [[User:Mboverload/RegExTypoFix|RegExTypoFix]] common typo fixer
mw.loader.load('https://en.wikipedia.org/enwiki/w/index.php?title=User:Cacycle/RegExTypoFix.js'
+ '&action=raw&ctype=text/javascript');
// install [[User:Cacycle/wikEd international]] translation here
// install [[User:Cacycle/wikEd]] editing page extension
mw.loader.load('https://en.wikipedia.org/enwiki/w/index.php?title=User:Cacycle/wikEd.js'
+ '&action=raw&ctype=text/javascript');
//Interiot's javascript edit counter
if (document.title.indexOf('User:Interiot/Tool2/code.js') != -1) {
mw.loader.load('https://en.wikipedia.org/enwiki/w/index.php?title=User:Interiot/Tool2/code.js&action=raw&ctype=text/javascript'); }
//TWINKLE
//http://en.wikipedia.org/wiki/Wikipedia:TWINKLE
importScript('User:AzaToth/twinkle.js');
//default TwinkleConfig
TwinkleConfig = {
revertMaxRevisions : 50,
userTalkPageMode : 'window',
showSharedIPNotice : true,
openTalkPage : [ 'agf', 'norm', 'vand' ],
openTalkPageOnAutoRevert : 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', 'i4', 'i5', 'i6', 'i7', 'u3', 't1' ],
watchRevertedPages : [ 'agf', 'norm', 'vand', 'torev' ],
markRevertedPagesAsMinor : [ 'agf', 'norm', 'vand', 'torev' ],
deleteTalkPageOnDelete : false,
watchWarnings : true,
markAIVReportAsMinor : true,
markSpeedyPagesAsMinor : true,
offerReasonOnNormalRevert : true,
orphanBacklinksOnSpeedyDelete : {orphan:true, exclude:['g6']}
};