From: Niklas Laxström Date: Fri, 2 Jun 2006 17:06:48 +0000 (+0000) Subject: * New message sp-newimages-showfrom replaces rclistfrom on special:newimages X-Git-Tag: 1.31.0-rc.0~56925 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=9a360ba3b6e52a1b0474a09435140f04bac64e15;p=lhc%2Fweb%2Fwiklou.git * New message sp-newimages-showfrom replaces rclistfrom on special:newimages --- 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',