User:Bosco/AdvancedRollback/en.js: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
Content deleted Content added
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 45: Line 45:


'rollback-summary-undo-unspecified': 'Undid revision [[Special:diff/$1|$1]] by $2',
'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-good': 'Undid good faith edit [[Special:diff/$1|$1]] by $2',
'rollback-summary-undo-vandalism': 'Reverted possibly disruptive edit [[Special:diff/$1|$1]] by $2',
'rollback-summary-undo-vandalism': 'Reverted possibly disruptive edit [[Special:diff/$1|$1]] by $2',


Line 64: Line 64:
'rolback-failed-href-error': 'Parameter error',
'rolback-failed-href-error': 'Parameter error',


'advanced-rollback-tag': '// [[dev:User:PB2008/AdvancedRollback|AdvancedRollback]]',
'advanced-rollback-tag': '// [[mhdev:User:PB2008/AdvancedRollback|AdvancedRollback]]',
});
});



Latest revision as of 09:08, 15 January 2026

/*
 * 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://dev.miraheze.org/w/index.php?title=User:PB2008/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
 * 
 */
 /***
  * 2025-12-30 Forked from Chinese Wikipedia https://zh.wikipedia.org/w/index.php?title=User%3A1F616EMO%2FAdvancedRollback%2Fen.js&oldid=90827337
  * CC BY-SA 4.0
  */
// <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 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 good faith edit(s) by $1',
    'rollback-summary-vandalism': 'Reverted possibly disruptive edit(s) by $1',

    'rollback-summary-undo-unspecified': 'Undid revision [[Special:diff/$1|$1]] by $2',
    'rollback-summary-undo-good': 'Undid good faith edit [[Special:diff/$1|$1]] by $2',
    'rollback-summary-undo-vandalism': 'Reverted possibly 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 good faith edits from [[Special:diff/$1|$1]] to [[Special:diff/$2|$2]]',
    'rollback-summary-undoseries-vandalism': 'Reverted possibly 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': '// [[mhdev:User:PB2008/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~!