* New message sp-newimages-showfrom replaces rclistfrom on special:newimages
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Fri, 2 Jun 2006 17:06:48 +0000 (17:06 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Fri, 2 Jun 2006 17:06:48 +0000 (17:06 +0000)
RELEASE-NOTES
includes/SpecialNewimages.php
languages/Messages.php

index f87ce0b..13872c8 100644 (file)
@@ -409,7 +409,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * Pre-save transform no longer changes the case of close tags
 * (bug 6164) Fix regression with <gallery> resetting <ref> state
 * Hackaround for IE 7 wrapping bug in MonoBook footer
-
+* New message sp-newimages-showfrom replaces rclistfrom on special:newimages
 
 == Compatibility ==
 
index 1215f2a..2d693ed 100644 (file)
@@ -179,7 +179,7 @@ function wfSpecialNewimages( $par, $specialPage ) {
        }
        $now = wfTimestampNow();
        $date = $wgLang->timeanddate( $now );
-       $dateLink = $sk->makeKnownLinkObj( $titleObj, wfMsg( 'rclistfrom', $date ), 'from='.$now.$botpar.$searchpar );
+       $dateLink = $sk->makeKnownLinkObj( $titleObj, wfMsg( 'sp-newimages-showfrom', $date ), 'from='.$now.$botpar.$searchpar );
 
        $botLink = $sk->makeKnownLinkObj($titleObj, wfMsg( 'showhidebots', ($hidebots ? wfMsg('show') : wfMsg('hide'))),'hidebots='.($hidebots ? '0' : '1').$searchpar);
 
index cb0e9df..98b4dc8 100644 (file)
@@ -8,7 +8,8 @@
 # hyphen (-). If you need more characters, you may be able to change
 # the regex in MagicWord::initRegex
 
-/* private */ $wgAllMessagesEn = array(
+global $wgAllMessagesEn;
+$wgAllMessagesEn = array(
 /*
 The sidebar for MonoBook is generated from this message, lines that do not
 begin with * or ** are discarded, furthermore lines that do begin with ** and
@@ -1229,6 +1230,8 @@ Consult the [[Special:Log/delete|deletion log]] for a record of recent deletions
 'uctop'         => ' (top)' ,
 'newbies'       => 'newbies',
 
+'sp-newimages-showfrom' => 'Show new images starting from $1',
+
 'sp-contributions-newest' => 'Newest',
 'sp-contributions-oldest' => 'Oldest',
 'sp-contributions-newer'  => 'Newer $1',