r14540 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r14539‎ | r14540 | r14541 >
Date:17:06, 2 June 2006
Author:nikerabbit
Status:old
Tags:
Comment:
* New message sp-newimages-showfrom replaces rclistfrom on special:newimages
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/SpecialNewimages.php (modified) (history)
  • /trunk/phase3/languages/Messages.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialNewimages.php
@@ -179,7 +179,7 @@
180180 }
181181 $now = wfTimestampNow();
182182 $date = $wgLang->timeanddate( $now );
183 - $dateLink = $sk->makeKnownLinkObj( $titleObj, wfMsg( 'rclistfrom', $date ), 'from='.$now.$botpar.$searchpar );
 183+ $dateLink = $sk->makeKnownLinkObj( $titleObj, wfMsg( 'sp-newimages-showfrom', $date ), 'from='.$now.$botpar.$searchpar );
184184
185185 $botLink = $sk->makeKnownLinkObj($titleObj, wfMsg( 'showhidebots', ($hidebots ? wfMsg('show') : wfMsg('hide'))),'hidebots='.($hidebots ? '0' : '1').$searchpar);
186186
Index: trunk/phase3/RELEASE-NOTES
@@ -409,8 +409,8 @@
410410 * Pre-save transform no longer changes the case of close tags
411411 * (bug 6164) Fix regression with <gallery> resetting <ref> state
412412 * Hackaround for IE 7 wrapping bug in MonoBook footer
 413+* New message sp-newimages-showfrom replaces rclistfrom on special:newimages
413414
414 -
415415 == Compatibility ==
416416
417417 MediaWiki 1.7 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
Index: trunk/phase3/languages/Messages.php
@@ -8,7 +8,8 @@
99 # hyphen (-). If you need more characters, you may be able to change
1010 # the regex in MagicWord::initRegex
1111
12 -/* private */ $wgAllMessagesEn = array(
 12+global $wgAllMessagesEn;
 13+$wgAllMessagesEn = array(
1314 /*
1415 The sidebar for MonoBook is generated from this message, lines that do not
1516 begin with * or ** are discarded, furthermore lines that do begin with ** and
@@ -1229,6 +1230,8 @@
12301231 'uctop' => ' (top)' ,
12311232 'newbies' => 'newbies',
12321233
 1234+'sp-newimages-showfrom' => 'Show new images starting from $1',
 1235+
12331236 'sp-contributions-newest' => 'Newest',
12341237 'sp-contributions-oldest' => 'Oldest',
12351238 'sp-contributions-newer' => 'Newer $1',

Status & tagging log