Commit graph

1957 commits

Author SHA1 Message Date
Translation updater bot 1aeaeb47f3 Localisation updates from https://translatewiki.net.
Change-Id: I1b713139d2589f6dd9fa5695ead056fcdad52a00
2022-02-11 08:42:14 +01:00
Ammarpad c51b6efec1 Revert "Add test for pageLanguage property"
This reverts commit 9adf9ef66c.

Reason for revert: The feature it's testing has been reverted in Ic6c0e31c8247f7d89824d20f28fb0aa56d6ed749

Change-Id: I74b4273bf246560b31911f8953974b9653217ec9
2022-02-09 02:10:18 +00:00
Ammarpad b8d7d70084 Use Category::getMemberCount from core
Core now provides all-member count separately with type guarantee.

Depends-On: I8780a4f9bc6c4cb588d0da10b457130df104ced9
Change-Id: Iae795c7c46360727dd4a4d47e7b8bb4dc1c607ab
2022-02-06 16:35:03 +01:00
Translation updater bot b90f2bb163 Localisation updates from https://translatewiki.net.
Change-Id: Ie9200de0dad74bd36e57716d2ef738cbc037f502
2022-02-01 08:27:28 +01:00
Tim Starling 9adf9ef66c Add test for pageLanguage property
Bug: T161976
Change-Id: I7008b80e9724955cb8a716311438280029e05a52
2022-01-25 23:35:28 +00:00
Translation updater bot 511c66e80f Localisation updates from https://translatewiki.net.
Change-Id: I108b6b2daa1e82f11452a06c86cb4a33dde9456c
2022-01-24 08:27:46 +01:00
Thiemo Kreuz 6d7d686441 Remove comments that literally repeat the code
Change-Id: I6508745504af15a233ed4f6981c5114b72f1805a
2022-01-18 23:50:13 +00:00
C. Scott Ananian 6633e446d9 Passing a string to ParserOutput::addModules()/addModuleStyles() is deprecated
In addition, several variables which contained instances of ParserOutput
were renamed to $parserOutput to help future humans and code-searchers
to distinguish these from instances of OutputPage.

Bug: T296123
Change-Id: Ic532bca4348b17882716fcb2ca8656a04766c095
2022-01-12 11:31:31 -05:00
MarcoAurelio fa8dd36536 Amend Scribunto namespace names for Abkhazian (ab)
Old namespace names added as namespaceAliases[] to prevent broken links.

Author/Source of translations: <https://phabricator.wikimedia.org/p/Surprizi/>
Bug: T270808
Change-Id: Ic8d5b6ccc78e3f53ee0c8abb193cecf32add6af9
2022-01-08 12:09:54 +00:00
20after4 5e7cfe4b84 Revert "mw.title: Add pageLanguage property"
This reverts commit 602cef87e0.

Reason for revert: Production errors in 1.38.0-wmf.16

Bug: T298659
Change-Id: Ic6c0e31c8247f7d89824d20f28fb0aa56d6ed749
2022-01-06 22:13:30 +00:00
AntiCompositeNumber de670e77bd
Add it namespace aliases in scn
scn namespace translations were added in d3bbf48. Because the fallback
it names had been in use for some time, they should be added as aliases
in scn to avoid breaking links.

Bug: T297844
Change-Id: I58baa25b2bb03261d11a8f87f049962879c2382a
2022-01-01 12:14:59 -05:00
Saint Johann d3bbf48bdf Add Sicilian translation for Module namespaces
Bug: T297844
Change-Id: I3d0a3786d9765b5fb233b2f24f365cb445a641ec
2021-12-23 21:15:50 +00:00
Alexander Vorwerk aae6e29547 Replace usages of deprecated wfWikiID()
The global function wfWikiID() is deprecated since 1.35 and it's usages
should be replaced with WikiMap::getCurrentWikiId().

Bug: T298059
Change-Id: Idb937a82b08679f6552699ecc4a7ea1da7006e09
2021-12-21 02:32:15 +01:00
Alexander Vorwerk a34a51fa47 Avoid using WikiPage::factory()
WikiPage::factory() is deprecated since 1.36 and should be replaced
with WikiPageFactory::newFromTitle().

Bug: T297688
Change-Id: Ie333c616c46a71430f8c18db85bdd64c13379ef0
2021-12-18 16:33:19 +00:00
Brad Jorsch 602cef87e0 mw.title: Add pageLanguage property
Bug: T161976
Change-Id: Ifc7a462efb11b28f20ebaad5d62cba8f1f1f8e91
2021-12-17 04:10:40 +00:00
Winston Sung beb0bf8465 Update zh/zh-* namespace names and adding namespace aliases in Scribunto
zh namespace names should be in en by default and having zh variant names as namespace aliases.

This commit will change the zh namespace name to English (which it should be) by default and keep the old name as aliases with other aliases added to language variants.
This commit is a re-patch/solution for https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Scribunto/+/606768
This commit will fix https://phabricator.wikimedia.org/T165593 in the extension instead of only fix in WMF wikis' config files

Bug: T165593
Bug: T286291
Bug: T286105
Related: I9b40319d374143668a2666b42f59a3799d041afc
Change-Id: Ib083a8ff042daa9bdd30d6a1e8c34f85b500fc12
2021-12-16 17:58:03 +00:00
Translation updater bot 6373543677 Localisation updates from https://translatewiki.net.
Change-Id: If341a1ddda432a6e2ecb09669b9d5a5bad812a2a
2021-12-16 08:30:06 +01:00
Translation updater bot d76e163beb Localisation updates from https://translatewiki.net.
Change-Id: I6f5324d11a231ca9ab4ac133f5998c4f73472e23
2021-12-09 08:22:54 +01:00
Translation updater bot 8cad36b254 Localisation updates from https://translatewiki.net.
Change-Id: I416eda921ae114b0d90c2ef7989a7ff59f8771a8
2021-12-06 08:20:05 +01:00
Translation updater bot 130e3478f9 Localisation updates from https://translatewiki.net.
Change-Id: I5accbcc7d2a85e6f35796110728db70e00177e5b
2021-11-25 09:02:35 +01:00
Translation updater bot a5c314b1c5 Localisation updates from https://translatewiki.net.
Change-Id: Ice752af99bda35924b85807d0678036295f352de
2021-11-17 08:30:57 +01:00
Brian Wolff 405045c416 Return correct lua version on windows
For some reason this is hard coded 5.1.4. But if you look at the
included binaries, the windows ones are clearly 5.1.5.

Change-Id: If0e7e6ae47b058b3d425b586955cc87a14b21eb8
2021-11-15 19:33:30 -08:00
Translation updater bot 172565855f Localisation updates from https://translatewiki.net.
Change-Id: If041c2851f3777b532a3a0f06b8404e79b2d864e
2021-11-15 08:12:37 +01:00
Roman Stolar d2c23dd3a3 Override ContentHandler::validateSave instead of Content::prepareSave.
Prepare override for ScribuntoContentHandler, remove usage in ScribuntoContent.

Bug: T287159
Depends-On: I7f23e6e97b1c7d27a6aaefdb88b19b2fc6e8b3a8
Change-Id: I4b9287372a95f4b6178dc321105081552d040ef8
2021-11-11 16:01:05 +00:00
Translation updater bot ca1d24691b Localisation updates from https://translatewiki.net.
Change-Id: I72e9a3fd2f37bfd04330b7b335d3a4342d7c87c0
2021-11-11 10:02:57 +01:00
Translation updater bot 3420346c41 Localisation updates from https://translatewiki.net.
Change-Id: Ifdf20dca081c3c3000b9f009f9fde1fc53db61d5
2021-11-09 07:29:38 +01:00
Translation updater bot b741b7f550 Localisation updates from https://translatewiki.net.
Change-Id: I9a6a6ee340c17e393b5e08efcd8de1a34a4ea3e9
2021-11-03 08:21:12 +01:00
Translation updater bot d2f750ac78 Localisation updates from https://translatewiki.net.
Change-Id: I8c0b04063056c78a2354c5ba58356c4e99328617
2021-11-02 08:07:28 +01:00
Translation updater bot bf693104d9 Localisation updates from https://translatewiki.net.
Change-Id: Ice97def6bb1dc2f9111e4981b5c278ec5c2d5862
2021-11-01 09:34:28 +01:00
Translation updater bot a43494fecf Localisation updates from https://translatewiki.net.
Change-Id: Ie4ad8d1d547b2268f98dcb35cfc5617346381c8c
2021-10-28 08:28:52 +02:00
Thiemo Kreuz 51592c654f Add missing & and (int) casts
Bug: T290189
Change-Id: I0bd0d06834f91fbc6a4067987e7e9e9e09b4e740
2021-10-27 17:27:33 +00:00
Translation updater bot 973cfccb9b Localisation updates from https://translatewiki.net.
Change-Id: I2a1f486a44ac55021e7c910ad6910235b184b68f
2021-10-27 08:22:39 +02:00
Translation updater bot a20087af59 Localisation updates from https://translatewiki.net.
Change-Id: I01bebc2fe30768f146e85454ec027f400a55f581
2021-10-26 08:17:59 +02:00
libraryupgrader 7c9f325914 build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: Id07ce01f86061aceae4cfad6f2d3be9cd0c0a7b4
2021-10-24 12:38:02 +00:00
Translation updater bot 2fd4f0fb3f Localisation updates from https://translatewiki.net.
Change-Id: I4a802a18741e048d90e012449b4fdd3db0dc8bfa
2021-10-20 08:37:44 +02:00
Roman Stolar 8c66ac25c9 Override ContentHandler::fillParserOutput instead of Content::fillParserOutput.
Prepare override for ScribuntoContentHandler, remove usage in ScribuntoContent.

Bug: T287158
Change-Id: I91f6a077f5cc0de25f83bea26d9f1772af0d3d68
2021-10-19 14:08:17 +00:00
Translation updater bot b899a69cf4 Localisation updates from https://translatewiki.net.
Change-Id: Ib367524cf8c9ec3c9448da182ac40f56a491e514
2021-10-18 15:21:14 +02:00
C. Scott Ananian 1af638f8db Replace use of deprecated ParserOutput::addWarning()
Bug: T293515
Depends-On: I6a7c04c67ac586ab00d4edcbb3d09485a7794e23
Change-Id: Ib51c75e38b9bf490b4ded481ee92ede0949f272e
2021-10-16 01:17:20 +00:00
C. Scott Ananian c0963eced7 Replace use of deprecated ParserOutput::{get,set}Flag()
Depends-On: I39bc58d207836df6f328c54be9e3330719cebbeb
Change-Id: I906a5970088965c187bf653267ac4b369dac9b9b
2021-10-15 23:41:06 +00:00
C. Scott Ananian 0453ef6021 Replace use of deprecated ParserOutput::addTrackingCategory()
Depends-On: I697ce188a912e445a6a748121575548e79aabac6
Change-Id: Ie41ad70f1fb5de202355314a96a1243234fb267c
2021-10-13 21:46:57 -04:00
Translation updater bot 802c4fbde7 Localisation updates from https://translatewiki.net.
Change-Id: I382386d5bbe8ddbe35931d61a644184361bfe49e
2021-10-06 09:28:51 +02:00
libraryupgrader e9041cff69 build: Updating ansi-regex to 5.0.1
* https://npmjs.com/advisories/5197 (CVE-2021-3807)

Additional changes:
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: Ice1ef6761846052b07589538c7d36c5f4680d31e
2021-10-05 22:52:36 +00:00
Petr Pchelko ae920ae5b8 Replace deprecated ParserOptions::getUser with ::getUserIdentity
Bug: T292589
Change-Id: I381863a62340292e8bbc7840256f591a31afb42e
2021-10-05 14:48:28 -07:00
Translation updater bot e45e7b2f64 Localisation updates from https://translatewiki.net.
Change-Id: Ib307e56e9da6b2e1378c5f163e70b818bd676024
2021-10-04 08:56:26 +02:00
Translation updater bot 666ca3e349 Localisation updates from https://translatewiki.net.
Change-Id: I03c0002c9039786b0a38cc331d108b9204e4a2c1
2021-09-28 08:19:08 +02:00
Translation updater bot a12cf74816 Localisation updates from https://translatewiki.net.
Change-Id: Ic2c16d6931d877aa69daca7316ea24ba9fde2c36
2021-09-27 08:35:31 +02:00
Translation updater bot b791efdabf Localisation updates from https://translatewiki.net.
Change-Id: I92719130400c32539d0a70f0f9b92419fbce5830
2021-09-22 08:11:03 +02:00
Translation updater bot 1ad9c71971 Localisation updates from https://translatewiki.net.
Change-Id: I00def9501c7175d22374a1b3d22e2dd4fb469282
2021-09-15 08:14:47 +02:00
Translation updater bot 5e2ed3ae1a Localisation updates from https://translatewiki.net.
Change-Id: Ibc5d94c97792dfe85059e573845d4ad8291c075c
2021-09-14 08:33:12 +02:00
Arlo Breault 97cae0d3e0 Apply utf normalize to lua module name in error messages
This previously bypassed normalization because only the "value" part
of the internal exception message was normalized, the "module" part
can be invalid as well since it's derived from the original message.

Similar to Idc5514261e99d64222b86877dd0500d425a26988

Bug: T289358
Change-Id: I1ce09dd521eb80ba0d2fb6f84508a1a77d339496
2021-09-13 19:33:24 +00:00