User:Bosco/AdvancedRollback/en.js: Difference between revisions
From Test Wiki
Content deleted Content added
Created page with "/* * 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=r..." |
mNo edit summary |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 7: | Line 7: | ||
* |
* |
||
* Add the following line to your common.js or global.js to load this script: |
* Add the following line to your common.js or global.js to load this script: |
||
* mw.loader.load( "https:// |
* 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. |
* This script is made by 1F616EMO on zhwiki, licensed under CC BY-SA 4.0. |
||
| 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 |
'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': '// [[ |
'advanced-rollback-tag': '// [[mhdev:User:PB2008/AdvancedRollback|AdvancedRollback]]', |
||
}); |
}); |
||