User:Kiteretsu/rollbackSum: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
m Protected "User:Aviram7/rollbackSum": User request in own userspace ([Edit=Allow only bureaucrats] (indefinite) [Move=Allow only bureaucrats] (indefinite) [Delete=Allow only bureaucrats] (indefinite) [Protect=Allow only bureaucrats] (indefinite))
m Drummingman moved page User:Aviram7/rollbackSum to User:Infinityboy7/rollbackSum: Automatically moved page while renaming the user "Aviram7" to "Infinityboy7"
(No difference)

Revision as of 15:21, 28 May 2024

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:

rollbackLinksDisable = [ 'history', 'user' ]

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

rollbackSummaryDefault = "Reverted edits by [[Special:Contributions/$2|$2]] ([[User talk:$2|talk]]) to last version by $1"

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.