User:Dragoniez/common.js: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Content deleted Content added
Dragoniez (talk | contribs)
No edit summary
Tag: Reverted
Amos (talk | contribs)
No edit summary
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
// Navigation popups
mw.loader.load('http://127.0.0.1:5500/Test/wikipediatest.js');
mw.loader.load('http://127.0.0.1:5500/Test/wikipediatest2.js');
mw.loader.load('https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-popups.js&action=raw&ctype=text/javascript');
mw.loader.load('https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-navpop.css&action=raw&ctype=text/css', 'text/css');
mw.loader.load('http://127.0.0.1:5500/Test/wikipediatest3.js');
mw.loader.load('http://127.0.0.1:5500/Test/wikipediatest4.js');
//mw.loader.load('http://127.0.0.1:5500/wikipediaglobaltest.js');
//mw.loader.load('http://127.0.0.1:5500/wikipediaglobaltest2.js');


// UTC clock with a purge link
($ => {
$.getScript('//testwiki.wiki/wiki/Test.js&action=raw&ctype=text/javascript', function() {
mw.loader.load('https://ja.wikipedia.org/w/index.php?title=MediaWiki:Gadget-UTCLiveClock.js&action=raw&ctype=text/javascript');

console.log(TEST);
// Selective Rollback
});
//mw.loader.load("//meta.wikimedia.org/w/index.php?title=User:Dragoniez/Selective Rollback.js&action=raw&ctype=text/javascript");
})(jQuery);
//<nowiki>
window.selectiveRollbackConfig= {
lang: 'ja',
editSummaries: {
Hidden: '$1 による ID: $3 ($4) の版へ[[H:RV|巻き戻し]]'
},
showKeys: true,
specialExpressions: {
$UNDO: '[[Special:Contributions/$2|$2]] ([[User talk:$2|会話]]) による ID:$5 の版を[[H:RV|取り消し]]',
$SLIME: '[[LTA:SLIME]]',
$JANNET: '[[LTA:JANNET]]',
$QCHM: '[[LTA:QCHM]]',
$SUMOSONG: '[[LTA:SUMOSONG]]',
$ISECHIKA: '[[LTA:ISECHIKA]]',
$HEATHROW: '[[LTA:HEATHROW]]',
$ENDEF: 'Reverted edits by [[Special:Contribs/$2|$2]] ([[User talk:$2|talk]]) to last version by $1',
$ENHIDDEN: 'Reverted to revision $3 dated $4 by $1'
},
markBot: true,
watchPage: true,
confirmRCW: true
};
//</nowiki>

Latest revision as of 16:09, 11 May 2024

// Navigation popups
mw.loader.load('https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-popups.js&action=raw&ctype=text/javascript');
mw.loader.load('https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-navpop.css&action=raw&ctype=text/css', 'text/css');

// UTC clock with a purge link
mw.loader.load('https://ja.wikipedia.org/w/index.php?title=MediaWiki:Gadget-UTCLiveClock.js&action=raw&ctype=text/javascript');

// Selective Rollback
//mw.loader.load("//meta.wikimedia.org/w/index.php?title=User:Dragoniez/Selective Rollback.js&action=raw&ctype=text/javascript");
//<nowiki>
window.selectiveRollbackConfig= {
	lang: 'ja',
    editSummaries: {
    	Hidden: '$1 による ID: $3 ($4) の版へ[[H:RV|巻き戻し]]'
    },
    showKeys: true,
    specialExpressions: {
    	$UNDO: '[[Special:Contributions/$2|$2]] ([[User talk:$2|会話]]) による ID:$5 の版を[[H:RV|取り消し]]',
    	$SLIME: '[[LTA:SLIME]]',
    	$JANNET: '[[LTA:JANNET]]',
    	$QCHM: '[[LTA:QCHM]]',
    	$SUMOSONG: '[[LTA:SUMOSONG]]',
    	$ISECHIKA: '[[LTA:ISECHIKA]]',
    	$HEATHROW: '[[LTA:HEATHROW]]',
    	$ENDEF: 'Reverted edits by [[Special:Contribs/$2|$2]] ([[User talk:$2|talk]]) to last version by $1',
    	$ENHIDDEN: 'Reverted to revision $3 dated $4 by $1'
    },
    markBot: true,
    watchPage: true,
    confirmRCW: true
};
//</nowiki>