Page MenuHomePhabricator

Patch for default Thai year format
Closed, ResolvedPublic

Description

Author: manop

Description:
Patch file for default Thai date format

Follow up from http://bugzilla.wikimedia.org/show_bug.cgi?id=11657. I request to set Thai date format as the default.


Version: 1.12.x
Severity: enhancement

Attached:

Details

Reference
bz12267

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:59 PM
bzimport set Reference to bz12267.
bzimport added a subscriber: Unknown Object (MLST).

When editing php files, be sure to use editor which doesn't insert BOM-characters in beginning of the files. Notepad is known to do that. The patch seems to have one. Also we usually don't copy comments from MessagesEn.php.

manop wrote:

Thank you for the comment. I used Notepad++ which is listed in http://www.mediawiki.org/wiki/Localisation#Text_editors_with_unicode_support

Do you have another text editor recommened? I have no idea how to find one. So I can submit a new patch then.

Applied on r28430.

(In reply to comment #2)

Thank you for the comment. I used Notepad++ which is listed in
http://www.mediawiki.org/wiki/Localisation#Text_editors_with_unicode_support
Do you have another text editor recommened? I have no idea how to find one. So
I can submit a new patch then.

If you are advanced user for text editing, the Vi (gVim) editor is recommended, the editer are available on Windows, Mac OS or Linux platforms. This one does not add the BOM into the beginning of the file.