Commit graph

2078 commits

Author SHA1 Message Date
Translation updater bot 979d23d3bf Localisation updates from https://translatewiki.net.
Change-Id: I3b0602a43eaddd568d1d4926daed529f4d1491f2
2022-05-13 08:26:34 +02:00
Reedy 8e73003fee Start namespacing extension
Change-Id: Ib632434861c2df03dfcddbd195f556c937812196
2022-05-12 01:33:11 +00:00
Translation updater bot 7e1a496f09 Localisation updates from https://translatewiki.net.
Change-Id: I98c46f1dc6fbddba975fe8233ca5788f668376a3
2022-05-11 08:12:04 +02:00
Reedy 09b60f174c Use namespaced SyntaxHighlight class
Also swap class_exists() for ExtensionRegistry->isLoaded() call

Change-Id: I3435e3775a28f4f056599ae26ba23f54d32cde18
2022-04-27 16:10:48 +00:00
Translation updater bot c7d382b9f7 Localisation updates from https://translatewiki.net.
Change-Id: I93457a64e0c7f04c409a1737b98414fafe227de2
2022-04-25 08:18:57 +02:00
Translation updater bot 22a829ef50 Localisation updates from https://translatewiki.net.
Change-Id: I585481d74479633ce65f2a3ebe013125a3a7c0cc
2022-04-21 08:12:35 +02:00
Translation updater bot 8b707a45a5 Localisation updates from https://translatewiki.net.
Change-Id: I5f4c4d59e5ba03e42e2556a4c4144fb7bcced7fb
2022-04-20 08:19:14 +02:00
Translation updater bot e8748d97f1 Localisation updates from https://translatewiki.net.
Change-Id: I03d0097450ed81ad9a4790c0f8054e652d3169d3
2022-04-18 10:06:47 +02:00
Reedy 6f411e3921 Minor cleanup
Change-Id: Ic81ab852c43e98370097d01c3b6d6cddee7a5850
2022-04-16 22:09:10 +01:00
Translation updater bot 2573ae2fd8 Localisation updates from https://translatewiki.net.
Change-Id: I615ffb17e21e8217358f41565d24e90e337ec68a
2022-04-13 08:32:49 +02:00
Translation updater bot 29da380d16 Localisation updates from https://translatewiki.net.
Change-Id: Ie9ae3b4f2c2a386bfd72224272001c0b13a55480
2022-04-12 08:14:47 +02:00
Translation updater bot ead697cd62 Localisation updates from https://translatewiki.net.
Change-Id: Iedc19bd3d88c6980ac6ea33e9d24bfd634105c21
2022-04-05 08:26:06 +02:00
Translation updater bot 1ba50058dd Localisation updates from https://translatewiki.net.
Change-Id: I65807bd2a501cba0d35f9002e5045844d494121c
2022-04-04 09:35:07 +02:00
gerritbot 14589459a1 Fix usage of ApiBase::PARAM_* deprecated constants
The ones that are replaced with ParamValidator

Bug: T275455
Change-Id: I69cfbbe5b00a4e15a0d6492541292bcddd61069a
2022-04-04 02:30:20 +00:00
Umherirrender 9c3fe53170 Adjust argument for local interwiki in InterwikiLookup::getAllPrefixes
To match the type change in core

Depends-On: I63ed9772429c6f5bfe38a9fad190491812866f3f
Change-Id: I5394d82e7c78b12453f824664f53fe8e6a73aa0b
2022-04-04 02:30:19 +00:00
Translation updater bot 33dc0ce54f Localisation updates from https://translatewiki.net.
Change-Id: I59e25211b07ea4c31d0910e90090efec46e44850
2022-03-24 08:35:13 +01:00
Translation updater bot b71214c259 Localisation updates from https://translatewiki.net.
Change-Id: I27b9afad1e4624022923a49ea31bd6a25681a1c7
2022-03-16 08:08:08 +01:00
Translation updater bot f7bc86eaa9 Localisation updates from https://translatewiki.net.
Change-Id: I42f46205dda3f41cc1bb89981c4720ec10f94ffa
2022-03-14 08:14:39 +01:00
Translation updater bot 378fc36dbf Localisation updates from https://translatewiki.net.
Change-Id: I88a6d22e8916884e4d9eaa2ef460d645caa3c083
2022-02-25 09:45:30 +01:00
Reedy 5ca204aa0d Replace usages of Wikimedia\(suppress|restore)Warnings()
Change-Id: I6bf98327dafe3d2a7009cd0897f6418ca84690dd
2022-02-24 21:16:46 +00:00
Translation updater bot 62121907d4 Localisation updates from https://translatewiki.net.
Change-Id: Icefc0093b2f4ebd89deb9930b7c19293d5049705
2022-02-14 08:15:09 +01:00
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