* (bug 12267) set the default date format for the Thai language into the Thai solar calender year format

This commit is contained in:
Shinjiman 2007-12-13 04:25:21 +00:00
parent c6fe05073b
commit fd12dfd311
2 changed files with 11 additions and 0 deletions

View 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)

View 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' => 'แก้ไขรายการเฝ้าดูทั้งหมด',
);