| 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Merge Interwiki extension into core, with some changes:
* Always register 'interwiki' user right and 'interwiki' log type, and
remove $wgInterwikiViewOnly
* Remove nonstandard 'intro' and 'body' CSS classes on Special:Interwiki
* Make interlanguage special cases be conditional on $wgInterwikiMagic
* Other cleanups
* Add SpecialInterwikiTest
* Add a constant MW_HAS_SPECIAL_INTERWIKI which can be used in config to
suppress loading of the extension.
After merging Interwiki extension into core we can remove
InterwikiLoadPrefix hook, which is incompatible with Parsoid.
Bug: T33951
Bug: T270444
Bug: T312425
Bug: T315759
Bug: T357247
Depends-On: I0d02d93f49c746a7ce86b72b456f13c4af9b6c34
Change-Id: I05049e7c2e056928977245367583d027b80ef613
|
|
|
|
|
|
|
|
|
| |
This is a follow up to Ic83116bdb35922f62dc4f82384743a95a4220f0c
and the reasons for it is explained there but this part of the
change was delayed just for the sake having more confidence.
Bug: T375975
Change-Id: I08343ad8b4e2e86e0f17beb6056a1715942dc495
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
Use @phpcs-require-sorted-array from new codesniffer release 32.0.0
Similiar to special page alias in
I827d1f5010d000609324ec398beeb142d9bac299
Bug: T255826
Change-Id: I7b7cbf0c03714001609437af68fe16e06930cc33
|
|
|
|
|
|
|
| |
Use @phpcs-require-sorted-array from new codesniffer release 32.0.0
Bug: T255826
Change-Id: I827d1f5010d000609324ec398beeb142d9bac299
|
|
|
|
|
| |
Bug: T243680
Change-Id: Ic6f5b6f459fe7ff8fc5047ca9dd8f9465b5c0f08
|
|
|
|
|
|
|
| |
Performed using:
sed -i 's/&#x\([0-9a-f]*\);/U+\U\1/gi' languages/messages/* languages/classes/*
Change-Id: Id489ae5ffb10bc5b047f72bc6834dd0488b5f940
|
|
|
|
| |
Change-Id: Iecc30b4eae9a5fe0f87d162c8118722ba5aab90c
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When there are multiple aliases, the first alias MUST be the
preferred alias in that language, so that wikitext code
generators can generate the desired syntax.
The other aliases SHOULD be sorted by the following convention:
- Local first, English last
- Most common first, least common last
Bug: T116020
Change-Id: Ia670512e0cb375335873e7f9a08b638bbe039e45
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
The bit being removed here causes a NOTICE with HitCounters.
Change-Id: I318eb641d4ed4b50dea0a172cf7970045b3a49e7
|
|
|
|
| |
Change-Id: Ia01549310909281e48260950f97a8f6fa12ae230
|
|
|
|
|
|
| |
Cf. f8207aeb17f955a79a726df775d3643c550605fa
Change-Id: I6e72273524c54016296c1a77d978fd6a872a542e
|
|
|
|
|
|
| |
Updates for special page aliases.
Change-Id: Ic2b34a948d527cee6b76abd7e24a6d8a33b65bd2
|
|
|
|
|
|
|
|
| |
Disable prefix on Ckb and format it like Fa, it currently links
"«[[Link]]»" to "<a>«Link</a>»" on Ckb but on Fa will "«<a>Link</a>»"
which per a community member is much better and expected
Change-Id: I1d17fc6ea511f13bde4fef7538117c9c2eebc6db
|
|
|
|
|
|
| |
Like other RTL wikis; Persian (fa) and Arabic (ar)
Change-Id: I42125730fa5f5415963d91eb8042a1a079b4f7b7
|
|
|
|
|
|
|
|
| |
* Interface strings are now elsewhere
* MessagesQQQ no longer exists
* Prefer https for translatewiki.net
Change-Id: I76652ea94cca80441cd5d978029e4707ee41c4fd
|
|
|
|
|
|
| |
Largest patch set in the history of MediaWiki!
Change-Id: I918cfdc46c099017ca3622d1bcbbdd30c4fd00f6
|
|
|
|
| |
Change-Id: Ica6fa7fc2d685a655e07b24cd54c7ec42d10f214
|
|
|
|
| |
Change-Id: I31ee0d1685cdf6b315cb5336b30e548c76d67a95
|
|
|
|
| |
Change-Id: Icad3f57cf182107ce7e813297f00473e75e4ad6f
|
|
|
|
| |
Change-Id: I18970accbce3b383e4ad89df2b5cd0d638861e26
|
|
|
|
| |
Change-Id: If3a8ff71e98aab98c39991147c715ec388ef91aa
|
|
|
|
| |
Change-Id: If66ddc1478b986417b08bd6d84cf441ea7f4526c
|
|
|
|
| |
Change-Id: I87ed70aa87a61057fa81f0eae63363af85fd71a0
|
|
|
|
| |
Change-Id: I1d75011f4c5f78746fb1b05ef05858ac6a35eec4
|
|
|
|
| |
Change-Id: I02cf02d1e9ce69f9b23eb7ddd23b1482e4ab7891
|
|
|
|
| |
Change-Id: I71e13fdbb541c2fccbe303849a3c78f0c1260bd2
|
|
|
|
| |
Change-Id: I9ed903822cabaf2a845d01f1a68ee34ac444d980
|
|
|
|
| |
Change-Id: I8187963fdb3b2cb88ee7afc1cc3b32cf8672e20b
|
|
|
|
| |
Change-Id: Idf89d2bff84d9c4e74be06a2532222891b0fb30e
|
|
|
|
| |
Change-Id: Ic09df85dd1b9122a363c4c52435c99b9d65f1979
|
|
|
|
| |
Change-Id: Iaee33fbd265807b18879b6f9873d1d4344dfb878
|
|
|
|
| |
Change-Id: I1b1e7c920d7a71f8c2230dbacf9ce4b51bb1d2fe
|
|
|
|
| |
Change-Id: Ie4cf8986d2fc3bdf1d485958c7171b0b86cefee2
|
|
|
|
| |
Change-Id: I8d9a05eb6ce4136d424c4f2ce7cdc65e8c09b0f6
|
|
|
|
| |
Change-Id: I81ed6d9e11a852b7a2ab89694615f751a983963e
|
|
|
|
| |
Change-Id: Idd97bcf1748297b4633435fd73530d7bc14e2707
|
|
|
|
| |
Change-Id: I256c74a670f5576e22e7ee6c9d3eefdade64c788
|
|
|
|
| |
Change-Id: I78257c1482d2a8a5a36693082c3228a63d0f4b8f
|
|
|
|
| |
Change-Id: Id4b89fcef61ccf1e329710f6beff9398669fdadb
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Including Iranian (Persian) and Islamic (Hijri) calendars.
Please note that the inclusion of the anglophone "dmy" and "ymd"
formats was by specific request of a Sorani Kurdish speaker. ckb
is allied to fa, which is one of many other languages to include
the anglophone formats alongside native ones. Please read the
discussions at the bug for more information.
Bug: 52009
Change-Id: Ib20e9185842a15fab6bbebd6e6e881654f276a0a
|
|
|
|
| |
Change-Id: Id32d5c87533081016e6a00312703f450782a1d6d
|
|
|
|
| |
Change-Id: I91af046a42d410457d6ccb6ce44657a29d184434
|
|
|
|
| |
Change-Id: Ic4c5e76d04630a9da5bde0590db09b55d30132ec
|
|
|
|
|
|
| |
Updates for translations of special page aliases.
Change-Id: I061d2f9c8f5b3f4df58060fae4101e340c68a04d
|
|
|
|
| |
Change-Id: Ie9ae2a0ce2d343bcc5687b5c0f61a3f3a0651433
|
|
|
|
| |
Change-Id: Ie9895f1ab208f4e1055bb74e288f82a7e0dd30d6
|