From 9a360ba3b6e52a1b0474a09435140f04bac64e15 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Fri, 2 Jun 2006 17:06:48 +0000 Subject: [PATCH] * New message sp-newimages-showfrom replaces rclistfrom on special:newimages --- RELEASE-NOTES | 2 +- includes/SpecialNewimages.php | 2 +- languages/Messages.php | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index f87ce0bd85..13872c83ce 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 resetting state * Hackaround for IE 7 wrapping bug in MonoBook footer - +* New message sp-newimages-showfrom replaces rclistfrom on special:newimages == Compatibility == diff --git a/includes/SpecialNewimages.php b/includes/SpecialNewimages.php index 1215f2af35..2d693ed392 100644 --- a/includes/SpecialNewimages.php +++ b/includes/SpecialNewimages.php @@ -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); diff --git a/languages/Messages.php b/languages/Messages.php index cb0e9df732..98b4dc8f3d 100644 --- a/languages/Messages.php +++ b/languages/Messages.php @@ -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', -- 2.20.1