User:Nageh/rollbackSum

Installation
Not fixed (yet):

To install the tool with the extra rollback summary button, add the following to your skin.js or common.js file, then bypass your cache:

To install the tool that prompts a summary by using rollback, add the following to your skin.js or common.js file, then bypass your cache:

Extra options
To have any extra options, add the following codes to your skin.js or common.js, then bypass your cache.

To disable rollback links, copy the code below. The options are 'diff', 'history', 'user', 'recent', and 'watchlist'. Here is an example:

To add a custom summary, copy the code below. Here is an example of a custom summary:

Parameters/Usage

 * $1 = The user who you are restoring
 * $2 = The user who you are reverting
 * $3 = The first diff you are reverting' ID number
 * $4 = The first diff you are reverting' time
 * $5 = The first diff you are reverting' date
 * $6 = Your diff's ID number
 * $7 = Your diff's time
 * $8 = Your diff's date

NOTE: You cannot put a blank rollback summary, because if you do, rollback will be canceled.