r22606 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r22605‎ | r22606 | r22607 >
Date:18:59, 31 May 2007
Author:aaron
Status:old
Tags:
Comment:
*Use customizable 'Current revision' tab message
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.php (modified) (history)
  • /trunk/extensions/FlaggedRevs/FlaggedRevsPage.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php
@@ -886,7 +886,7 @@
887887 # Set current rev tab AFTER the main tab is set
888888 $new_actions['current'] = array(
889889 'class' => '',
890 - 'text' => wfMsg('currentrev'),
 890+ 'text' => wfMsg('revreview-current'),
891891 'href' => $title->getLocalUrl( 'stable=0' )
892892 );
893893 }
@@ -903,7 +903,7 @@
904904 # Set current rev tab AFTER the main tab is set
905905 $new_actions['current'] = array(
906906 'class' => '',
907 - 'text' => wfMsg('currentrev'),
 907+ 'text' => wfMsg('revreview-current'),
908908 'href' => $title->getLocalUrl( 'stable=0' )
909909 );
910910 }
@@ -920,7 +920,7 @@
921921 # Set current rev tab AFTER the main tab is set
922922 $new_actions['current'] = array(
923923 'class' => 'selected',
924 - 'text' => wfMsg('currentrev'),
 924+ 'text' => wfMsg('revreview-current'),
925925 'href' => $title->getLocalUrl( 'stable=0' )
926926 );
927927 }
Index: trunk/extensions/FlaggedRevs/FlaggedRevsPage.i18n.php
@@ -13,6 +13,7 @@
1414 'group-reviewer-member' => 'Reviewer',
1515 'grouppage-reviewer' => '{{ns:project}}:Reviewer',
1616
 17+ 'revreview-current' => 'Current revision',
1718 'revreview-noflagged' => 'There are no reviewed revisions of this page, so it may \'\'\'not\'\'\' have been
1819 [[Help:Article validation|checked]] for quality.',
1920 'revreview-newest' => 'The [{{fullurl:Special:stableversions|oldid=$1}} latest reviewed revision]