Commit graph

1934 commits

Author SHA1 Message Date
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
Translation updater bot 1e22875a0d Localisation updates from https://translatewiki.net.
Change-Id: Ic476f2dffc0421aa3ce4b93d2d22d09e1c31fb33
2021-09-13 08:30:16 +02:00
libraryupgrader 5c63190944 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

npm:
* stylelint-config-wikimedia: 0.10.3 → 0.11.1

Change-Id: I82e56565364f0502b0e70fe7414057ae876c0b98
2021-09-11 22:36:44 +00:00
daniel 1a24ade06c Use mock restriction store in tests
This fixes an incompatibility introduced by Ia73ea587586cb69eb5.

Depends-On: I1f24703b80566220ac6fe8ee500e838ed7fd29af
Change-Id: I31ca0a8987f9694bc3b312a48c2c111ceda6fa3e
2021-09-10 14:50:04 +00:00
Translation updater bot 3d7ec0339c Localisation updates from https://translatewiki.net.
Change-Id: I6e3a7c84d8ecb95ef380e6d2fa292f7d460293d6
2021-09-09 08:18:01 +02:00
Translation updater bot d8b861c101 Localisation updates from https://translatewiki.net.
Change-Id: I93342f9fafb7a80a513b66e4b25d706b08a6c5c3
2021-09-02 08:26:44 +02:00
Translation updater bot 1e24719999 Localisation updates from https://translatewiki.net.
Change-Id: I25db13ef5699c4bddd6b12ba5480288c70d38859
2021-09-01 08:16:40 +02:00
Translation updater bot a8ef8791cd Localisation updates from https://translatewiki.net.
Change-Id: Idcc471971696f486a998eb9da0c60eaa59d73946
2021-08-31 08:16:05 +02:00
Translation updater bot 212153169b Localisation updates from https://translatewiki.net.
Change-Id: Ia3da4b80a3301579aa5aeeabd15334c147ed47ce
2021-08-30 08:20:36 +02:00
Translation updater bot 04495f0715 Localisation updates from https://translatewiki.net.
Change-Id: I24e2772cf137fc7d80f89ac8881133ff4962f92f
2021-08-26 08:36:52 +02:00
libraryupgrader a5a910e802 build: Updating path-parse to 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: I177d28882ba2bc12ec818c7d7fe16595b2dc7eb1
2021-08-25 10:17:50 +00:00
Translation updater bot 275366428d Localisation updates from https://translatewiki.net.
Change-Id: Ia34990e541102ed408aef874577190b6a858b723
2021-08-24 10:24:25 +02:00
Translation updater bot cd2d551855 Localisation updates from https://translatewiki.net.
Change-Id: Id4f64e5aaa8ab23874812c6f3315ca1dcb431088
2021-08-23 09:04:21 +02:00
Translation updater bot 77fc89d5e2 Localisation updates from https://translatewiki.net.
Change-Id: I32aa0673b57304c0d00d5ece50d59b3058019bd9
2021-08-16 08:16:49 +02:00
Translation updater bot b007655481 Localisation updates from https://translatewiki.net.
Change-Id: If7fb812508756398cd11b0a41ff3d0e9f4cc2096
2021-08-12 08:09:48 +02:00
Translation updater bot f88f013912 Localisation updates from https://translatewiki.net.
Change-Id: Idff311b13d06c7b3e64866776cd25d74b164d273
2021-08-09 08:25:06 +02:00
libraryupgrader 29f4c03de1 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0

npm:
* postcss: 7.0.35 → 7.0.36
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)
* glob-parent: 5.1.0 → 5.1.2
  * https://npmjs.com/advisories/1751 (CVE-2020-28469)
* trim-newlines: 3.0.0 → 3.0.1
  * https://npmjs.com/advisories/1753 (CVE-2021-33623)

Change-Id: If0310d25d0380a6d4e936e666729e6a65a90a710
2021-07-23 21:34:32 +00:00
Translation updater bot 4aca14ae6d Localisation updates from https://translatewiki.net.
Change-Id: Ic33a4b007767cfdd39646e6e2e85a7e29ecbbed9
2021-07-19 08:16:29 +02:00
Translation updater bot 83e6142ce9 Localisation updates from https://translatewiki.net.
Change-Id: I2438897b74d13a68e2230195d63281482595e7f9
2021-07-13 08:12:00 +02:00
Translation updater bot 2cbce31a4f Localisation updates from https://translatewiki.net.
Change-Id: I67d8af743b668abf12bf94fbd14a6a853a5d44d0
2021-07-05 08:07:17 +02:00
ZabeMath 91a762312e Update Module_talk name in Tigrinya
Bug: T263840
Change-Id: I3ab577dbf646b6b478318ea529689be25b67e118
2021-06-28 13:08:17 +00:00
Func b765524ac8 Handle EditFilterMergedContent hook properly to break hook chains and display error message
Extensions are supposed to return false to break hook chains when failed, which can avoid unnecessary call of later handlers in other extensions and work around with problems caused by difference betwen multiple triggers.

On mediawiki version 1.36 and before, just returning false in this hook can't display error message by default.
Set $status->value manually still to provide backward compatibility.

Bug: T280312
Change-Id: I935eb40d41c4bf9c123e131a54f6bfca2d517450
2021-06-26 12:21:06 +00:00
DannyS712 cd885e83cb Use WikiPage::doUserEditContent() instead of ::doEditContent()
::doUserEditContent() is available since 1.36 as a replacement
for ::doEditContent(), which has been deprecated. Bump the
required version of MediaWiki to 1.36 accordingly.

Results in passing a user where previously the fallback
to $wgUser was being used.

Bug: T255507
Change-Id: I11e4a305e66935ea1d1b4692561fb5d49871a729
2021-06-24 05:58:13 +00:00
Translation updater bot 047f21264f Localisation updates from https://translatewiki.net.
Change-Id: I49a6e5288efb73dc4c294aa91f82c3c15453fd77
2021-06-22 08:09:50 +02:00