Document additional available parameters for 'revertpage', introduced with r29794.
authorRaimond Spekking <raymond@users.mediawiki.org>
Mon, 21 Jan 2008 17:38:36 +0000 (17:38 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Mon, 21 Jan 2008 17:38:36 +0000 (17:38 +0000)
languages/messages/MessagesEn.php
maintenance/language/messages.inc

index b737bd4..dd9002b 100644 (file)
@@ -1930,7 +1930,7 @@ by [[User:$2|$2]] ([[User talk:$2|Talk]]); someone else has edited or rolled bac
 
 Last edit was by [[User:$3|$3]] ([[User talk:$3|Talk]]).',
 'editcomment'                 => 'The edit comment was: "<i>$1</i>".', # only shown if there is an edit comment
-'revertpage'                  => 'Reverted edits by [[Special:Contributions/$2|$2]] ([[User talk:$2|Talk]]); changed back to last version by [[User:$1|$1]]',
+'revertpage'                  => 'Reverted edits by [[Special:Contributions/$2|$2]] ([[User talk:$2|Talk]]); changed back to last version by [[User:$1|$1]]', # Also available: $3: revid of the revision reverted to, $4: timestamp of the revision reverted to, $5: revid of the revision reverted from, $6: timestamp of the revision reverted from
 'rollback-success'            => 'Reverted edits by $1; changed back to last version by $2.',
 'sessionfailure'              => 'There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking. Please hit "back" and reload the page you came from, then try again.',
 'protectlogpage'              => 'Protection log',
index 4a2bcc2..cbc4741 100644 (file)
@@ -2519,6 +2519,7 @@ $wgMessageComments = array(
        'sitenotice'                  => 'the equivalent to wgSiteNotice',
        'history-feed-item-nocomment' => 'user at time',
        'editcomment'                 => 'only shown if there is an edit comment',
+       'revertpage'                  => 'Additional available: $3: revid of the revision reverted to, $4: timestamp of the revision reverted to, $5: revid of the revision reverted from, $6: timestamp of the revision reverted from',
        'lastmodifiedatby'            => '$1 date, $2 time, $3 user',
        'exif-orientation-1'          => '0th row: top; 0th column: left',
        'exif-orientation-2'          => '0th row: top; 0th column: right',