* (bug 12267) set the default date format for the Thai language into the Thai solar...
authorShinjiman <shinjiman@users.mediawiki.org>
Thu, 13 Dec 2007 04:25:21 +0000 (04:25 +0000)
committerShinjiman <shinjiman@users.mediawiki.org>
Thu, 13 Dec 2007 04:25:21 +0000 (04:25 +0000)
RELEASE-NOTES
languages/messages/MessagesTh.php

index 69e123d..8adae17 100644 (file)
@@ -237,6 +237,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * Set proper page title for successful file deletion
 * (bug 11221) Do not show 'Compare selected versions' button for a history page
   with one revision only
+* (bug 12267) Set the default date format to Thai solar calender for the Thai language
 
 == Parser changes in 1.12 ==
 
@@ -493,6 +494,7 @@ Full API documentation is available at http://www.mediawiki.org/wiki/API
 * Teluga (te)
 * Tetun (tet) (new)
 * Tajik (tg)
+* Thai (th)
 * Tagalog (tl) (new)
 * Turkish (tr)
 * Tuvinian (tyv)
index 3381f50..0bad90e 100644 (file)
@@ -77,6 +77,14 @@ $dateFormats = array(
        'ISO 8601 both' => 'xnY-xnm-xnd"T"xnH:xni:xns',
 );
 
+/**
+ * The date format to use for generated dates in the user interface.
+ * This may be one of the above date preferences, or the special value
+ * "dmy or mdy", which uses mdy if $wgAmericanDates is true, and dmy
+ * if $wgAmericanDates is false.
+ */
+$defaultDateFormat = 'thai';
+
 $linkTrail = '/^([a-z]+)(.*)\$/sD';
 
 $messages = array(
@@ -2185,3 +2193,4 @@ $1',
 'watchlisttools-raw'   => 'แก้ไขรายการเฝ้าดูทั้งหมด',
 
 );
+