* (bug 27560) Search queries no longer fail in walloon language
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 19 Feb 2011 20:06:50 +0000 (20:06 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 19 Feb 2011 20:06:50 +0000 (20:06 +0000)
RELEASE-NOTES
languages/classes/LanguageWa.php

index 4c16667..5aaffaa 100644 (file)
@@ -137,6 +137,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 27201) Special:WhatLinksHere output no longer contains duplicate IDs
 * (bug 15905) Nostalgia skin could become more usable by including a Talk:
   link at the top of the page
+* (bug 27560) Search queries no longer fail in walloon language
 
 === API changes in 1.18 ===
 * (bug 26339) Throw warning when truncating an overlarge API result
index 4500f6a..0cb439d 100644 (file)
@@ -25,6 +25,7 @@ class LanguageWa extends Language {
        ## # "<day> d' <monthname>" for months starting with a vowel
        ## #
        function date( $ts, $adj = false, $format = true, $tc = false ) {
+               $ts = wfTimestamp( TS_MW, $ts );
                if ( $adj ) { $ts = $this->userAdjust( $ts, $tc ); }
                $datePreference = $this->dateFormat( $format );