r48164 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48163‎ | r48164 | r48165 >
Date:17:12, 8 March 2009
Author:siebrand
Status:deferred
Tags:
Comment:
Add GENDER support for 'review_user_page_list'
Modified paths:
  • /trunk/extensions/Review/Review.i18n.php (modified) (history)
  • /trunk/extensions/Review/Review.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Review/Review.i18n.php
@@ -36,7 +36,7 @@
3737 'review_concerns_page' => "This review is about the page \"$1\".",
3838 'review_concerns_user' => "This is about reviews by user \"$1\".",
3939 'review_user_reviews' => "<small>(reviews by this user)</small>", # This message supports {{GENDER}}
40 - 'review_user_page_list' => "The user reviewed the following pages:",
 40+ 'review_user_page_list' => "The user reviewed the following pages:", # This message supports {{GENDER}}
4141 'review_user_details_link' => "(details)",
4242 'review_do_merge' => "Merge my reviews of other revisions of this page into this one",
4343 'review_has_been_stored' => 'Your review has been stored!',
Index: trunk/extensions/Review/Review.php
@@ -864,7 +864,7 @@
865865 } else {
866866 # View the pages reviewed by a user
867867 $data = $this->get_list_of_pages_reviewed_by_user ( $theuser ) ;
868 - $out .= "<h2>" . wfMsgForContent ( 'review_user_page_list' ) . "</h2>\n" ;
 868+ $out .= "<h2>" . wfMsgExt( 'review_user_page_list', array( 'content', 'parsemag' ), $theuser->getName() ) . "</h2>\n" ;
869869 $data2 = array () ;
870870 if ( $user_id == 0 )
871871 $user_link = "user_ip=".$user_ip ;

Status & tagging log