(bug 13429) Separate date and time in message sp-newimages-showfrom
authorHuji <huji@users.mediawiki.org>
Wed, 19 Mar 2008 10:21:45 +0000 (10:21 +0000)
committerHuji <huji@users.mediawiki.org>
Wed, 19 Mar 2008 10:21:45 +0000 (10:21 +0000)
RELEASE-NOTES
includes/SpecialNewimages.php
languages/messages/MessagesEn.php
languages/messages/MessagesFa.php

index 40047f2..ff9741d 100644 (file)
@@ -105,6 +105,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 12801) Fix link in subtitle message in AJAX search
 * (bug 13428) Fix regression in protection form layout HTML validity
 * (bug 9403) Sanitize newlines from search term input
+* (bug 13429) Separate date and time in message sp-newimages-showfrom
 
 
 === API changes in 1.13 ===
index 013b098..f701089 100644 (file)
@@ -175,8 +175,9 @@ function wfSpecialNewimages( $par, $specialPage ) {
                $botpar='';
        }
        $now = wfTimestampNow();
-       $date = $wgLang->timeanddate( $now, true );
-       $dateLink = $sk->makeKnownLinkObj( $titleObj, wfMsgHtml( 'sp-newimages-showfrom', $date ), 'from='.$now.$botpar.$searchpar );
+       $d = $wgLang->date( $now, true );
+       $t = $wgLang->time( $now, true );
+       $dateLink = $sk->makeKnownLinkObj( $titleObj, wfMsgHtml( 'sp-newimages-showfrom', $d, $t ), 'from='.$now.$botpar.$searchpar );
 
        $botLink = $sk->makeKnownLinkObj($titleObj, wfMsgHtml( 'showhidebots', ($hidebots ? wfMsgHtml('show') : wfMsgHtml('hide'))),'hidebots='.($hidebots ? '0' : '1').$searchpar);
 
index 7596a1f..02da6d3 100644 (file)
@@ -2523,7 +2523,7 @@ $1',
 'noimages'              => 'Nothing to see.',
 'ilsubmit'              => 'Search',
 'bydate'                => 'by date',
-'sp-newimages-showfrom' => 'Show new files starting from $1',
+'sp-newimages-showfrom' => 'Show new files starting from $2, $1',
 
 # Video information, used by Language::formatTimePeriod() to format lengths in the above messages
 'video-dims'     => '$1, $2×$3', # only translate this message to other languages if you have to change it
index 15e94ec..0fb9f6b 100644 (file)
@@ -2182,7 +2182,7 @@ $1',
 'noimages'              => 'چیزی برای دیدن نیست.',
 'ilsubmit'              => 'جستجو',
 'bydate'                => 'از روی تاریخ',
-'sp-newimages-showfrom' => 'نشان‌دادن تصویرهای جدید از $1 به بعد',
+'sp-newimages-showfrom' => 'نشان‌دادن تصویرهای جدید از $2، $1 به بعد',
 
 # Bad image list
 'bad_image_list' => 'اطلاعات را باید به این شکل وارد کنید: