User:Peterxy12/AdvancedRollback/es.js
From Test Wiki
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/*
* Advanced Rollback script for rollbackers (English)
*
* This script asks the user to supply an optional rollback summary.
* After the rollback is complete, the user is taken to the diff page.
* The diff page will open in a new window if the user is on Special:RecentChanges.
*
* Add the following line to your common.js or global.js to load this script:
* mw.loader.load( "https://zh.wikipedia.org/w/index.php?title=User:1F616EMO/AdvancedRollback/en.js&action=raw&ctype=text/javascript" );
*
* This script is made by 1F616EMO on zhwiki, licensed under CC BY-SA 4.0.
*
* 225-02-16 forked from https://zh.wikipedia.org/wiki/MediaWiki:Gadget-rollback-summary.js
*
*/
// <nowiki>
mw.messages.set({
'rollback-button-quick-revert': 'Quick revert',
'rollback-window-title': 'Reverting edits on [[$1]] by [[Special:Contributions/$2|$2]]',
'rollback-window-title-nofrom': 'Reverting edits on [[$1]]',
'rollback-fieldset-label': 'Reverting edits by [[Special:Contributions/$1|$1]]',
'rollback-warn-3rr': 'Three or more reverts found in recent edits. Make sure you are not violating [[Project:3RR|the edit-warring policy]].',
'rollback-use-rollback': 'Use rollback',
'rollback-intention-unspecified': 'Unspecified',
'rollback-intention-good': 'AGF',
'rollback-intention-vandalism': 'Disruptive',
'rollback-summary-hide-user': 'Hide username',
'rollback-summary-show-talk-page': 'Open talk page after rollback',
'rollback-summary-user-string': '[[Special:Contributions/$1|$1]] ([[User talk:$1|talk]])',
'rollback-summary-revdel-user-string': 'a user whose name is hidden',
'rollback-summary-inappropriate-user-string': 'a user whose name is inappropriate',
'rollback-summary-intention': 'Intention',
'rollback-summary-unspecified': 'Reverted edit(s) by $1',
'rollback-summary-good': 'Undid [[WP:AGF|good faith]] edit(s) by $1',
'rollback-summary-vandalism': 'Reverted possibly [[WP:DISRUPT|disruptive]] edit(s) by $1',
'rollback-summary-undo-unspecified': 'Undid revision [[Special:diff/$1|$1]] by $2',
'rollback-summary-undo-good': 'Undid [[WP:AGF|good faith]] edit [[Special:diff/$1|$1]] by $2',
'rollback-summary-undo-vandalism': 'Reverted possibly [[WP:DISRUPT|disruptive]] edit [[Special:diff/$1|$1]] by $2',
'rollback-summary-undoseries-button': 'Revert edits between selected revisions',
'rollback-summary-undoseries-groupdiff-button': 'Revert all',
'rollback-summary-undoseries-unspecified': 'Undid revisions from [[Special:diff/$1|$1]] to [[Special:diff/$2|$2]]',
'rollback-summary-undoseries-good': 'Undid [[WP:AGF|good faith]] edits from [[Special:diff/$1|$1]] to [[Special:diff/$2|$2]]',
'rollback-summary-undoseries-vandalism': 'Reverted possibly [[WP:DISRUPT|disruptive]] edits from [[Special:diff/$1|$1]] to [[Special:diff/$2|$2]]',
'rollback-summary-presets': 'Presets',
'rollback-summary-prompt': 'Please enter a custom rollback summary',
'rollback-summary-custom': 'Custom summary',
'rollback-processing': 'Rollbacking',
'rollback-done': 'Done',
'rollback-failed': 'Rolback failed: $1',
'rolback-failed-href-error': 'Parameter error',
'advanced-rollback-tag': '// [[w:zh:U:1F616EMO/AdvancedRollback|AdvancedRollback]]',
});
mw.loader.load("https://zh.wikipedia.org/w/index.php?title=User:1F616EMO/AdvancedRollback/core.js&action=raw&ctype=text/javascript");
// </nowiki> Nya~!