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))
(No difference)

Revision as of 12:57, 18 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.