aboutsummaryrefslogtreecommitdiffstats
path: root/languages/messages/MessagesBpy.php
Commit message (Collapse)AuthorAgeFilesLines
* Client-side date/time formatter libraryTim Starling2025-04-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a library providing date/time formatting according to the user's preferred time zone and date preference. I tested formatting of an example date with all defined formats in all languages, and I found that it gives identical output to PHP in about 90% of our ~500 languages. Resolve some of the outstanding issues by aliasing the problematic date formats on the client side, so that the user will see the date in another acceptable format for the same language. The remaining issues mostly relate to the use of a fallback language to display weekdays and non-Gregorian month names. Details: * Add Language::getJsDateFormats(), which converts existing date formats to an options array that can be interpreted by the client. * In Messages*.php, add $numberingSystem, which is the CLDR numbering system ID. I set it for all languages that had overriden $digitTransformTable. This is sent to the client in the library's JSON config and is used as the default numberingSystem option when formatting dates. * In Messages*.php, add $jsDateFormats, which overrides the automatically generated date format options. Bug: T389161 Change-Id: Ib6bc8ebd4d01317aaf32225c6006ea2dc7a1b39e
* Remove twn-related comment from languages/messages/* filesStang2022-11-131-2/+0
| | | | | Bug: T304802 Change-Id: Iccacf6288d758e526c95df69861385a4ac2d0f55
* language: Continue doc Languages subgroup for msg files and subclassesTimo Tijhof2022-06-291-2/+1
| | | | | | | | | | | Follows-up I301f471f86ba2. For ease of navigation, move Converter subclasses to a group called "Languages", which for documentation purposes is a subgroup of "Language". The next commit does the same for Messages* files, and Language subclasses (done separately for ease of review). Change-Id: If1cef9aa15f536ebaedd4477ad7453426e7f3b85
* Remove trailing empty lines in PHPFomafix2017-01-161-1/+0
| | | | | | | Performed using find . -name \*.php -exec sed -i -e :a -e '/./,$!d;/^\n*$/{$d;N;};/\n$/ba' {} \; Change-Id: I5d0627f94c73690cf3a8a453539c22c760c2aa60
* Convert all array() syntax to []Kunal Mehta2016-02-171-4/+4
| | | | | | | | | | Per wikitech-l consensus: https://lists.wikimedia.org/pipermail/wikitech-l/2016-February/084821.html Notes: * Disabled CallTimePassByReference due to false positives (T127163) Change-Id: I2c8ce713ce6600a0bb7bf67537c87044c7a45c4b
* Cleanup message file documentationNiklas Laxström2014-06-051-2/+1
| | | | | | | | * Interface strings are now elsewhere * MessagesQQQ no longer exists * Prefer https for translatewiki.net Change-Id: I76652ea94cca80441cd5d978029e4707ee41c4fd
* Migrate translations for core to JSON formatSiebrand Mazeland2014-04-011-1615/+0
| | | | | | Largest patch set in the history of MediaWiki! Change-Id: I918cfdc46c099017ca3622d1bcbbdd30c4fd00f6
* Localisation updates from https://translatewiki.net.Translation updater bot2014-03-211-2/+1
| | | | Change-Id: I18970accbce3b383e4ad89df2b5cd0d638861e26
* Localisation updates from https://translatewiki.net.Translation updater bot2014-02-211-1/+0
| | | | Change-Id: I71e13fdbb541c2fccbe303849a3c78f0c1260bd2
* Localisation updates from https://translatewiki.net.Translation updater bot2014-02-011-4/+0
| | | | Change-Id: I9ed903822cabaf2a845d01f1a68ee34ac444d980
* Localisation updates from https://translatewiki.net.Translation updater bot2014-01-061-1/+1
| | | | Change-Id: I1b1e7c920d7a71f8c2230dbacf9ce4b51bb1d2fe
* Localisation updates from https://translatewiki.net.Translation updater bot2013-12-101-1/+0
| | | | Change-Id: I78257c1482d2a8a5a36693082c3228a63d0f4b8f
* Localisation updates from https://translatewiki.net.Translation updater bot2013-12-081-5/+0
| | | | Change-Id: Id4b89fcef61ccf1e329710f6beff9398669fdadb
* Localisation updates from https://translatewiki.net.Translation updater bot2013-12-071-14/+1
| | | | Change-Id: Id32d5c87533081016e6a00312703f450782a1d6d
* Localisation updates from https://translatewiki.net.Translation updater bot2013-12-051-10/+0
| | | | Change-Id: I91af046a42d410457d6ccb6ce44657a29d184434
* Localisation updates from https://translatewiki.net.Translation updater bot2013-12-041-8/+0
| | | | Change-Id: Ic4c5e76d04630a9da5bde0590db09b55d30132ec
* Localisation updates from https://translatewiki.net.Translation updater bot2013-11-241-2/+0
| | | | Change-Id: Iac7415ec17a0a30026e8c542f5ddd98d67b35d59
* Localisation updates from http://translatewiki.net.Translation updater bot2013-11-181-2/+2
| | | | Change-Id: I5a74c20de10a3203ff81d453de6c739a8a476081
* Localisation updates from http://translatewiki.net.Translation updater bot2013-09-071-4/+1
| | | | Change-Id: I4f52889299ffc8ae8d49634fd8b36d73c66d8b5a
* Localisation updates from http://translatewiki.net.Translation updater bot2013-09-041-12/+0
| | | | Change-Id: I5e7da5913a10c7f75cdf223f2166cc7873134949
* Localisation updates from http://translatewiki.net.Translation updater bot2013-08-201-1/+0
| | | | Change-Id: I332982e76aa7f846c42e81fbd30141d85326f8b8
* Localisation updates from http://translatewiki.net.Translation updater bot2013-08-181-1/+1
| | | | Change-Id: Iad6b538be6d172d232b8e593ff98faf3d5707abe
* Localisation updates from http://translatewiki.net.Translation updater bot2013-08-021-1/+0
| | | | Change-Id: I9a8b8769d0077d4d406c27910b8f94d9f3a2ceeb
* Localisation updates from http://translatewiki.net.Translation updater bot2013-07-011-1/+0
| | | | Change-Id: Idfa4331722672da932fe8a124bc9618de0e31fea
* Localisation updates from http://translatewiki.net.Translation updater bot2013-06-181-1/+0
| | | | Change-Id: I4e865f40a8c69fdc7520bd3a89ec61ca9af57337
* Localisation updates from http://translatewiki.net.Translation updater bot2013-06-121-1/+0
| | | | Change-Id: I599770c4c8b53d0d46c74f1426168a5c3d963a81
* Localisation updates from http://translatewiki.net.Translation updater bot2013-05-201-15/+3
| | | | Change-Id: Ic862c638ed6ce33d3fe4dad9743c88136d832433
* Localisation updates from http://translatewiki.net.Translation updater bot2013-03-161-2/+2
| | | | Change-Id: Ie28bd2d1bce13b5a78eeb8573d8b5b9527b1afeb
* Localisation updates from http://translatewiki.net.Translation updater bot2013-01-251-1/+0
| | | | Change-Id: If7185aa1d59b6c4207765127204270ce2bc91217
* Localisation updates from http://translatewiki.net.Translation updater bot2013-01-111-0/+2
| | | | Change-Id: Ia14126efb5937b32606d7abb2334a6537eae8544
* Localisation updates from http://translatewiki.net.Translation updater bot2013-01-081-4/+4
| | | | Change-Id: If3901d13b72f526be319d8626e3d101767eccdbc
* Localisation updates from http://translatewiki.net.Translation updater bot2012-12-161-1/+0
| | | | Change-Id: Iecaef86923bb32e102dd69ec12651824565bc3ed
* Localisation updates from http://translatewiki.net.Translation updater bot2012-12-021-4/+0
| | | | Change-Id: Ib22bb939459977f160056d83697434b5a456474b
* Update parts order in message filesSiebrand Mazeland2012-10-311-13/+13
| | | | | | | | Update the order of parts in messages files. Not done for all files. Order set as: fallback, encoding, namespace related, special pages, magic words, other (no fixed ordering after magic words). Change-Id: Ide5ec747ba62a8c2bca8040a14d0aeea8e6c79b9
* Localisation updates from http://translatewiki.net.Translation updater bot2012-10-281-1/+0
| | | | Change-Id: Ie33d83a4d96477c2ed53bba8ee01bc760b980351
* Localisation updates from http://translatewiki.net.Translation updater bot2012-10-071-1/+1
| | | | Change-Id: I1b2cf70c578511ef44a2381e506ee168cc57c7ec
* Localisation updates from http://translatewiki.net.Translation updater bot2012-10-031-2/+3
| | | | Change-Id: I766bdb2f0fd630144b1bd56f0fa5135af8fbdf5d
* Localisation updates from http://translatewiki.net.Translation updater bot2012-10-021-2/+3
| | | | Change-Id: I0b758741deecd9ab4836085ca9728b7dc274bd71
* Localisation updates from http://translatewiki.net.Translation updater bot2012-08-191-3/+3
| | | | Change-Id: If391a6e847a98f6e0a044c7480f3886cd99aa8c2
* Localisation updates from http://translatewiki.net.Translation updater bot2012-08-151-1/+0
| | | | Change-Id: Ieeb8ea6edf05429cd6bbae96bf15c149df863fbe
* Localisation updates from http://translatewiki.net.Translation updater bot2012-07-101-8/+43
| | | | Change-Id: I3ccfbf0f3d1d8dbe5ae3f05210a153d42b2042d1
* Localisation updates from http://translatewiki.net.Translation updater bot2012-05-251-1/+1
| | | | Change-Id: I41a2a158064fa9545cd14fdb98e34d657402bef5
* Localisation updates from http://translatewiki.net.Translation updater bot2012-05-121-1/+0
| | | | Change-Id: Ib40693a628c4ff0d7dab68c37af49e91e9c3583d
* Translation updates from translatewiki.netTranslation updater bot2012-04-031-1116/+1116
| | | | Change-Id: If0be46f5e28febeffec3dd80a04751ad70995edf
* Localisation updates for core and extension messages from translatewiki.netRaimond Spekking2012-02-201-2/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/111959
* Localisation updates for core and extension messages from translatewiki.netRaimond Spekking2012-02-191-1/+0
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/111888
* Localisation updates from http://translatewiki.net.Siebrand Mazeland2012-02-171-2/+2
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/111759
* Localisation updates for core and extension messages from translatewiki.netRaimond Spekking2012-01-251-0/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/110028
* Localisation updates for core and extension messages from translatewiki.netRaimond Spekking2012-01-161-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/109064
* Follow-up r107187, r107188: rebuild MessagesXx.php.Siebrand Mazeland2011-12-241-1/+0
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/107192