r32839 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r32838‎ | r32839 | r32840 >
Date:08:03, 6 April 2008
Author:amidaniel
Status:old
Tags:
Comment:
* Use parsemag to get plural, etc. to work in log entry.
* Rmv unneeded section break in MessagesEn
Modified paths:
  • /trunk/phase3/includes/SpecialRevisiondelete.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialRevisiondelete.php
@@ -1412,7 +1412,7 @@
14131413 $s = $changes[2][0];
14141414 }
14151415
1416 - $ret = wfMsg ( 'revdelete-log-message', $s, $count );
 1416+ $ret = wfMsgExt ( 'revdelete-log-message', array( 'parsemag' ), $s, $count );
14171417
14181418 if ( $comment )
14191419 $ret .= ": $comment";
Index: trunk/phase3/languages/messages/MessagesEn.php
@@ -1215,8 +1215,6 @@
12161216 'revdel-restore' => 'Change visiblity',
12171217 'pagehist' => 'Page history',
12181218 'deletedhist' => 'Deleted history',
1219 -
1220 -# Revision deletion - log messages
12211219 'revdelete-content' => 'content',
12221220 'revdelete-summary' => 'edit summary',
12231221 'revdelete-uname' => 'username',
@@ -1224,7 +1222,7 @@
12251223 'revdelete-unrestricted' => 'removed restrictions for sysops',
12261224 'revdelete-hid' => 'hid $1',
12271225 'revdelete-unhid' => 'unhid $1',
1228 -'revdelete-log-message' => '$1 for $2 {{PLURAL:$2|revisions|revision}}: $3',
 1226+'revdelete-log-message' => '$1 for $2 {{PLURAL:$2|revision|revisions}}',
12291227
12301228 # Suppression log
12311229 'suppressionlog' => 'Suppression log',

Status & tagging log