Commit graph

120 commits

Author SHA1 Message Date
Tim Starling 06f07b0000 Add parser functions giving access to standard date/time formats
Add parser functions #timef and #timefl, giving access to the standard
date/time formats of any language.

StubObject::unstub() is no longer required since the user language is
unstubbed in ParserOptions::__construct().

Bug: T223772
Change-Id: If158f45aad67ff017f9cd15889915b226e03f50c
2024-07-23 13:10:59 +10:00
Fomafix 2e145b0ff6 Rename language codes sr-ec and sr-el to sr-cyrl and sr-latn
sr-ec and sr-el are not conform to BCP 47. https://tools.ietf.org/html/bcp47
BCP 47 explicit mentions sr-Latn and sr-Cyrl as examples.

This change requires 6839b8599458d978b0596de57c8cb8f31db5a2f6
in MediaWiki core included in MediaWiki 1.39.

The bidirectional fallback between the old and the new language codes
ensures that the magic words supports both language codes. This can be
checked at api.php?action=query&meta=siteinfo&siprop=magicwords&format=json
Just the order of the entries is different after this change.

The rename of the JSON files
* sr-ec.json to sr-cyrl.json and
* sr-el.json to sr-latn.json
has to be done in translatewiki.net.

Bug: T117845
Depends-On: I666fbdea89ccf21aab6ca1849adf22813dec052e
Change-Id: I2746b7986cda454affbc17f467fef233ecd4bf51
2024-05-19 19:30:56 +00:00
zoranzoki21 67df7364be Add magic words for Serbian language
Added magic word for "if" in Serbian (Cyrillic script), and everything in Serbian (Latin script) from Serbian (Cyrillic script).

Bug: T349952
Change-Id: If33383174c9176b1e4018e02de1eea52cf4489ca
2023-10-28 16:20:52 +02:00
Fomafix cd17cb4a18 Remove LEFT-TO-RIGHT MARK (U+200E) from comments and messages
'LEFT-TO-RIGHT MARK' (U+200E) is not needed in the source code
comments and messages.

c8caf26ffd9 removed already the LRM/RLM from Names.php.

Change-Id: Ic9856b680b94d41168eaee14e596c6b21420ad22
2022-08-10 21:23:14 +00:00
Amir Aharoni ab160fa5c7 Add translations for ckb
Bug: T187333
Change-Id: Ie521f1cf75c462a72c9c446f4fe6c9d089449160
2019-01-15 11:25:48 +02:00
محمد شعیب 7a06ffd8a3 Adding Urdu translations of magic words related to Parser function extension.
Change-Id: Icfe2309939ea72d27f62723ca3fe5d2efbc452ae
2017-10-04 15:09:50 -07:00
mathieu stumpf guntz 4cef958ddb Complete the Esperanto magicword translation
Some entries were missing, and some are completed with additional
synonyms. No synonym was deleted, despite cases where the provided words
are most likely erroneous, like "lungo" (which may have some relevancy in
Italian).

A particular effort was put to make the whole set of entry provide
consistency, with
- control flow magicwords receiving an adverbial -e form,
- function like magicwords end with jussive mood mark -u
- "function returning somithing"-like are ending with "-donu",
  a verb whose meaning include behavior of returning something

But once again, existing entries were not deleted, as they are probably
used in the wild, which might affect this consistency effort.
If wished, removing that kind of entries would require
some bot replacement work prior to their removal.

Change-Id: If4f40533f93c444ae7155c49485389d8b3981f63
2017-06-13 19:18:17 +02:00
Umherirrender ed016a62ef Use short array syntax in alias file
Change-Id: I9924568d2114a20a233a57d19ecb3375b4e10ff7
2017-06-06 17:19:43 +02:00
Amire80 672a2f80f7 Add Russian magic word aliases for Ukrainian for backwards compatibility
Bug: T39314
Change-Id: I468b257982c87a3f4c026db614d5f32086b4a407
2016-11-24 23:07:49 +02:00
Translation updater bot 0d63ebdffd Localisation updates from https://translatewiki.net.
Change-Id: If60dac2074d1aa216d7b966f588202fb6406cf13
2015-05-17 22:11:13 +02:00
Translation updater bot 2b779ab777 Localisation updates from https://translatewiki.net.
Change-Id: Ie3f4dd8634c8152e7976d26c108fa4609085d6f8
2015-05-12 22:23:52 +02:00
Translation updater bot ab52dc0c4f Localisation updates from https://translatewiki.net.
Change-Id: I4d02fe6faddd471aa39ea05f1180aeac29641cd1
2015-05-02 22:05:24 +02:00
Translation updater bot 45e275f00e Localisation updates from https://translatewiki.net.
Change-Id: Ieaf39461841e7a21c7b883c4071ebb207c7d88d2
2015-04-23 23:37:35 +02:00
Translation updater bot 7a7cce001b Localisation updates from https://translatewiki.net.
Change-Id: Ib362c7f3fa6aef57d6578020a6f54823040590d1
2015-04-07 22:18:57 +02:00
Translation updater bot 3511947b4b Localisation updates from https://translatewiki.net.
Change-Id: I6a3848a9abfd77c83201d94c79626d51e1d68298
2015-03-23 22:03:34 +01:00
Translation updater bot be096ec496 Localisation updates from https://translatewiki.net.
Change-Id: I640881aee4d6628365521c8964e4179bc0c6f5f3
2015-02-17 21:53:49 +01:00
Translation updater bot 230947625a Localisation updates from https://translatewiki.net.
Change-Id: I6f17ca4fbd257dcc288c3684257846641ae1989c
2015-01-18 22:21:32 +01:00
Ori Livneh 085ac33f03 MWException -> Exception
Change-Id: Ia0607f91714129c6c9861f23177e1b999d0ba20a
2015-01-09 17:57:53 -08:00
Translation updater bot 50a715006f Localisation updates from https://translatewiki.net.
Change-Id: I7454c9c261519d19f43338ede3fc09ee5e072673
2014-08-20 22:30:08 +02:00
Translation updater bot 057d585fa1 Localisation updates from https://translatewiki.net.
Change-Id: I8ed2086e441ebb76d5cb2011bb34bf59d24990ae
2014-08-09 19:59:32 +02:00
Translation updater bot 870353c24e Localisation updates from https://translatewiki.net.
Change-Id: Ic5f826826ca57a8e022a6af9df1e13f56e300079
2014-07-18 21:29:39 +02:00
Translation updater bot ac63ba7337 Localisation updates from https://translatewiki.net.
Change-Id: I04966101a0bbbb79810aca36be0316d51c0d1ee7
2014-05-31 19:01:42 +00:00
Translation updater bot eb812e3922 Localisation updates from https://translatewiki.net.
Change-Id: I65f85b68d01c0c1a8f36775848b27929704d5078
2014-05-24 15:22:15 +00:00
Translation updater bot 603d30332b Localisation updates from https://translatewiki.net.
Change-Id: Ie842d1d0ba9c0fd60b4cb52976cf50cfb7e6b7c3
2014-04-17 19:00:25 +00:00
Translation updater bot bdc4fe67a1 Localisation updates from https://translatewiki.net.
Change-Id: I69b413958fa77aa4829979d48660ec33cde5e63c
2014-04-13 19:16:33 +00:00
Translation updater bot 27b040936e Localisation updates from https://translatewiki.net.
Change-Id: I03f6f8e287ca2b1ca3e4791aba04915977f1ab45
2014-04-10 20:30:30 +00:00
Translation updater bot 350458540a Localisation updates from https://translatewiki.net.
Change-Id: I6c2ab84cfb9792e26fb3d9f660430a5f2eca2d9b
2014-04-09 19:39:37 +00:00
Translation updater bot 53b972bc27 Localisation updates from https://translatewiki.net.
Change-Id: I8088b74773973b8a8018beb476e5791dba33bc09
2014-03-31 20:16:02 +00:00
Translation updater bot 316c2edf94 Localisation updates from https://translatewiki.net.
Change-Id: I33f2f51f4c7f2b2cb2cadd9bce1a43d10c15d87e
2014-03-03 21:07:21 +00:00
Translation updater bot b70e42c910 Localisation updates from https://translatewiki.net.
Change-Id: I644ba7ac6d19ec7a5ecd60c0c678ba0089781b98
2014-03-02 20:40:21 +00:00
Translation updater bot c7b1847047 Localisation updates from https://translatewiki.net.
Change-Id: I0fdd1ee34e590032dbcb697c2b18d19d95365d36
2014-02-20 21:05:12 +00:00
Translation updater bot 7287955504 Localisation updates from https://translatewiki.net.
Change-Id: Iba7e458b8f93a1822530cb91a2d9c2b22599066e
2014-02-19 20:09:18 +00:00
Translation updater bot c8d54c9555 Localisation updates from https://translatewiki.net.
Change-Id: I749442a7dfecfd8b9d39727c0b589aeada9737c4
2014-01-01 19:58:32 +00:00
eranroz e949c0a2a5 Revert 164a6469b6
Change-Id: I714b5d192b1e1f77528feb360f520199f010a528
2013-12-31 20:22:29 +02:00
Translation updater bot 815cfd0143 Localisation updates from https://translatewiki.net.
Change-Id: Id33123dcec39a84218b5f17b1575f55cbf0d5c1d
2013-12-20 20:35:15 +00:00
Translation updater bot 164a6469b6 Localisation updates from https://translatewiki.net.
Change-Id: I5e1b76987ab0ce7033dfb34c1cc5a8c74622521f
2013-12-18 20:25:56 +00:00
Translation updater bot bb48993428 Localisation updates from https://translatewiki.net.
Change-Id: Ic27947f87a2efea66012f32a8fb9d989e0baee12
2013-12-15 20:57:57 +00:00
Translation updater bot b28ee1cbd7 Localisation updates from https://translatewiki.net.
Change-Id: Ia558008b233ba0c025445611311b2df5ebafff3d
2013-12-02 20:39:55 +00:00
Translation updater bot c5b7208c4e Localisation updates from http://translatewiki.net.
Change-Id: Iece4baf13abe31e1a2e7583a0003eaeee82c89a9
2013-11-15 20:25:27 +00:00
Translation updater bot c658ecb5ff Localisation updates from http://translatewiki.net.
Change-Id: I32023d0695bdcfcec7979b7728fb58e8f74a9a0c
2013-11-02 20:01:23 +00:00
Translation updater bot 9b20d3b01a Localisation updates from http://translatewiki.net.
Change-Id: Idf56f8582bd79ffbffd7f081beca30deaa8f3e8e
2013-10-28 20:12:04 +00:00
Translation updater bot 4462372e19 Localisation updates from http://translatewiki.net.
Change-Id: I79781006c4d3ae5298326e78eb6a2a9724261537
2013-10-15 19:29:32 +00:00
Translation updater bot b94eb06a1e Localisation updates from http://translatewiki.net.
Change-Id: Ib815b42f22f8485c828c946abcd99f1299d35f6a
2013-10-12 18:42:29 +00:00
Translation updater bot 5c1f30dbe9 Localisation updates from http://translatewiki.net.
Change-Id: Iaef968f949a34a2733026799fa0167e317653298
2013-09-29 20:10:56 +00:00
Translation updater bot 1dd48053f3 Localisation updates from http://translatewiki.net.
Change-Id: I61c8c751a088d5fa14686fafd4e03be8f8700b42
2013-09-21 19:39:42 +00:00
Translation updater bot eb40012d09 Localisation updates from http://translatewiki.net.
Change-Id: I85b9aefbf47b0d7a474793b862911c983aaa50bb
2013-08-19 19:33:45 +00:00
Translation updater bot 9868e9cdae Localisation updates from http://translatewiki.net.
Change-Id: I6c1450ad98e99200aea4feaa8dbca427b67d45bf
2013-08-05 19:38:07 +00:00
Translation updater bot 07824ab2b2 Localisation updates from http://translatewiki.net.
Change-Id: Ie1dfaa9d63b90058a4a8780f663215564d6b9a31
2013-07-31 19:59:25 +00:00
Translation updater bot a557ad5e52 Localisation updates from http://translatewiki.net.
Change-Id: Ie68c383422ea62b87f97ea0287c98e90ac9da1ab
2013-07-14 19:17:51 +00:00
Translation updater bot d5445fd44e Localisation updates from http://translatewiki.net.
Change-Id: I704756c2a87e0a3434b7f6f8a001c969a7053c52
2013-06-23 20:25:46 +00:00