| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Bug: T304802
Change-Id: Iccacf6288d758e526c95df69861385a4ac2d0f55
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update language fallback chain to zh-hans <=> zh-hant bidirectional to prevent adding translation
duplicates in zh and zh-hans.
Add en magic words in zh message file to prevent fallback to translations of language variants.
Bug: T286291
Bug: T296188
Bug: T252367
Bug: T278639
Related: I484d4cba1e16fce0f7c433a865f3acf676b818c1
Related: Idf39310b4b66f9c5f210d1717e0e47b9e598c13c
Change-Id: I3b30303118ae8cd87dc5f2016372f0de89a7b075
|
|
|
|
|
|
|
| |
Use @phpcs-require-sorted-array from new codesniffer release 32.0.0
Bug: T255826
Change-Id: I827d1f5010d000609324ec398beeb142d9bac299
|
|
|
|
|
| |
Bug: T184330
Change-Id: I9dcd1829901ae4010feefd875f619db723d8dc20
|
|
|
|
| |
Change-Id: Iecc30b4eae9a5fe0f87d162c8118722ba5aab90c
|
|
|
|
|
|
|
| |
Performed using
find . -name \*.php -exec sed -i -e :a -e '/./,$!d;/^\n*$/{$d;N;};/\n$/ba' {} \;
Change-Id: I5d0627f94c73690cf3a8a453539c22c760c2aa60
|
|
|
|
|
| |
Bug: T125373
Change-Id: Ie39d03efce0997c928ac0bc7f4a97ee8e047df45
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Updates for special page aliases.
Change-Id: Ic2b34a948d527cee6b76abd7e24a6d8a33b65bd2
|
|
|
|
|
|
|
|
|
|
| |
- use tab as indent instead of spaces
- Added space after closures "function"
- Added spaces around string_concat
- Added newline inside empty blocks
- Removed four spaces after comma
Change-Id: I4425b0c6a69b36f40acfea6511b8950cf09ce2b2
|
|
|
|
|
|
|
|
| |
* Interface strings are now elsewhere
* MessagesQQQ no longer exists
* Prefer https for translatewiki.net
Change-Id: I76652ea94cca80441cd5d978029e4707ee41c4fd
|
|
|
|
|
|
|
| |
The languages does not have a fallback language, which maybe is
overridden, so there is no need to have the linktrail in its file.
Change-Id: I48334ae96a2c1318992922a4ad7f44b28485ff61
|
|
|
|
|
|
| |
Largest patch set in the history of MediaWiki!
Change-Id: I918cfdc46c099017ca3622d1bcbbdd30c4fd00f6
|
|
|
|
| |
Change-Id: Ica6fa7fc2d685a655e07b24cd54c7ec42d10f214
|
|
|
|
| |
Change-Id: I31ee0d1685cdf6b315cb5336b30e548c76d67a95
|
|
|
|
| |
Change-Id: I18970accbce3b383e4ad89df2b5cd0d638861e26
|
|
|
|
| |
Change-Id: If3a8ff71e98aab98c39991147c715ec388ef91aa
|
|
|
|
| |
Change-Id: If66ddc1478b986417b08bd6d84cf441ea7f4526c
|
|
|
|
| |
Change-Id: I87ed70aa87a61057fa81f0eae63363af85fd71a0
|
|
|
|
| |
Change-Id: I71e13fdbb541c2fccbe303849a3c78f0c1260bd2
|
|
|
|
| |
Change-Id: I9ed903822cabaf2a845d01f1a68ee34ac444d980
|
|
|
|
| |
Change-Id: I8187963fdb3b2cb88ee7afc1cc3b32cf8672e20b
|
|
|
|
| |
Change-Id: Idf89d2bff84d9c4e74be06a2532222891b0fb30e
|
|
|
|
| |
Change-Id: Iaee33fbd265807b18879b6f9873d1d4344dfb878
|
|
|
|
| |
Change-Id: I105dee236f2f05f91d0ffc4ae931c3012b48d938
|
|
|
|
| |
Change-Id: I78257c1482d2a8a5a36693082c3228a63d0f4b8f
|
|
|
|
| |
Change-Id: Id4b89fcef61ccf1e329710f6beff9398669fdadb
|
|
|
|
| |
Change-Id: Id32d5c87533081016e6a00312703f450782a1d6d
|
|
|
|
| |
Change-Id: I91af046a42d410457d6ccb6ce44657a29d184434
|
|
|
|
| |
Change-Id: Ic4c5e76d04630a9da5bde0590db09b55d30132ec
|
|
|
|
|
|
| |
Updates for translations of special page aliases.
Change-Id: I061d2f9c8f5b3f4df58060fae4101e340c68a04d
|
|
|
|
| |
Change-Id: Iac7415ec17a0a30026e8c542f5ddd98d67b35d59
|
|
|
|
| |
Change-Id: I0eb353cd0cadf0bed7cd17d4c3eb2c7e108f6aa6
|
|
|
|
| |
Change-Id: I5a74c20de10a3203ff81d453de6c739a8a476081
|
|
|
|
| |
Change-Id: I922e660fafc7a952129beebeaed001712f5c2bc1
|
|
|
|
| |
Change-Id: I4f52889299ffc8ae8d49634fd8b36d73c66d8b5a
|
|
|
|
| |
Change-Id: I5e7da5913a10c7f75cdf223f2166cc7873134949
|
|
|
|
| |
Change-Id: I332982e76aa7f846c42e81fbd30141d85326f8b8
|
|
|
|
| |
Change-Id: Iad6b538be6d172d232b8e593ff98faf3d5707abe
|
|
|
|
| |
Change-Id: I9a8b8769d0077d4d406c27910b8f94d9f3a2ceeb
|
|
|
|
| |
Change-Id: I8ba898043b74a52eeb01aabfb81af51ef3a0c451
|
|
|
|
| |
Change-Id: Ic5becb02cca2d035192b096b6b4273d5cb036790
|
|
|
|
| |
Change-Id: Icd89c666b6962cf3028ee4d13860f4f61243c654
|
|
|
|
| |
Change-Id: I1a47d9aee7f6b86cdd51f1ad0ecad9cd92d2ac4f
|
|
|
|
| |
Change-Id: Iec37b28f3b8deec9ca4be82356d33b9e07a5b6a1
|
|
|
|
| |
Change-Id: Idfa4331722672da932fe8a124bc9618de0e31fea
|
|
|
|
| |
Change-Id: I943e34620f78a0af8ee078c918b14e3521957a12
|
|
|
|
| |
Change-Id: I4e865f40a8c69fdc7520bd3a89ec61ca9af57337
|