Reedy
7a67ab0a5d
Fix and enable 1 PHPCS exclusion
...
Change-Id: Iee1fb7c926b301a9980e8f1d2b447fb6ef169c6e
2022-04-08 13:57:05 +00:00
Reedy
6829b5410c
EditFilterMergedContent: Remove handling for old MW
...
Change-Id: Id1ca273b13f762d3a4d06e63019e74c9f4e89877
Follows-Up: I456a40ce676c486b4ae12f00a7024a4c070448cd
2022-04-08 13:57:00 +00:00
Reedy
52bb0939d9
Namespace extension
...
Change-Id: Ie53302078d5f405eaa6caef3b7ef4daebf47d877
2022-04-08 13:41:20 +00:00
gerritbot
1f10a3f7fc
Fix usage of ApiBase::PARAM_* deprecated constants
...
The ones that are replaced with ParamValidator
Bug: T275455
Change-Id: I5337394f4d556c170b95c8baa21bf4738d195bc3
2022-04-04 01:29:42 +02:00
Samwalton9
5d6168805b
Fix use of errorbox
...
Replace use of errorbox class with Html::errorBox.
Bug: T304270
Change-Id: I5d18b32e26dea1ca8f37a27f14a5d8486cbb69df
2022-03-24 21:34:37 +00:00
Translation updater bot
46352b2ea8
Localisation updates from https://translatewiki.net .
...
Change-Id: I20204fcafb2df4114b99bb3c921502bca40f8b72
2022-03-24 08:35:16 +01:00
Translation updater bot
d83f229a66
Localisation updates from https://translatewiki.net .
...
Change-Id: I1efca1cdc0700ae984a03aae3c33891d07921b0e
2022-03-08 09:02:10 +01:00
Umherirrender
a5c4f5bb4d
Use new namespace for MediaWiki\Revision\SlotRecord
...
MediaWiki\Storage is alias since 1.35
Change-Id: I24ed7c7893d6b949ab847bb5dfe703ca5d49c39d
2022-02-26 22:17:53 +01:00
Translation updater bot
1314c00c20
Localisation updates from https://translatewiki.net .
...
Change-Id: I49e0d0bcf6de3d4ac9173f3890e5518d79203631
2022-02-25 09:45:43 +01:00
Reedy
2219888555
Replace usages of Wikimedia\(suppress|restore)Warnings()
...
Change-Id: I17ff2a8c9ff6aa0be4990fb45aa966b3610f7d06
2022-02-24 21:15:28 +00:00
Translation updater bot
0162ab3330
Localisation updates from https://translatewiki.net .
...
Change-Id: Id40f9f21138e54ff98cd3be275aad859636abaca
2022-02-01 08:27:32 +01:00
Translation updater bot
9ad93e8330
Localisation updates from https://translatewiki.net .
...
Change-Id: Icbc2e48c9a0dcf0b274e2e1a0f155396ef802044
2022-01-26 08:25:32 +01:00
jenkins-bot
24a757cab4
Merge "Take LogicException into consideration"
2022-01-13 07:32:38 +00:00
Amir Sarabadani
d353677bdf
Take LogicException into consideration
...
It can be caused by undo
Bug: T299111
Change-Id: I94054648ddfe95b59668ad3f53ac864e0c5f6e30
2022-01-13 08:08:41 +01:00
Translation updater bot
454805256a
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia4e410e95338fbdb3485f5d519063ec5f9e5ef8e
2022-01-12 08:25:34 +01:00
jenkins-bot
8b8482837a
Merge "Give priority to PreparedUpdate"
2022-01-10 14:41:45 +00:00
Amir Sarabadani
3cb265f12e
Give priority to PreparedUpdate
...
StashedEdit is slower than the PreparedUpdate
Bug: T288639
Change-Id: Ibeb934050c6b24720da4b69dba6273c8b3e15acc
2022-01-10 09:10:18 +01:00
jenkins-bot
1d1c3dd1c9
Merge "Use PreparedUpdate to avoid double parse"
2022-01-07 17:18:02 +00:00
Amir Sarabadani
3758ed5510
Use PreparedUpdate to avoid double parse
...
It is now possible to do after Id5ba40a21cc45
Bug: T288639
Change-Id: Icaf5d15928c500dacde3f5574c71b3702702bb88
2022-01-01 11:21:38 +01:00
Translation updater bot
226d6a1ec3
Localisation updates from https://translatewiki.net .
...
Change-Id: I7401811b70e2157eddaab93a2991542d5b767af1
2021-12-27 09:31:02 +01:00
Translation updater bot
9b617156c3
Localisation updates from https://translatewiki.net .
...
Change-Id: Id6f7fa940f422e4befc57b6fb4a797fa81bacc3b
2021-12-24 09:09:57 +01:00
Umherirrender
3dc7350f89
Use ParserOptions::newFromAnon instead of ParserOptions::newCanonical
...
ParserOptions::newCanonical is deprecated.
Change-Id: If689727640c3f9a353a0ecc32c3a2973136737dc
2021-12-18 20:07:40 +01:00
Translation updater bot
9099dda86b
Localisation updates from https://translatewiki.net .
...
Change-Id: I416389454f36e999e50e86c6deba05dff44fd4c2
2021-12-06 08:20:12 +01:00
Translation updater bot
77b044351e
Localisation updates from https://translatewiki.net .
...
Change-Id: If60d4304c352ef1557ca9441802e49dc8a2e80c7
2021-11-09 07:29:44 +01:00
libraryupgrader
040d446819
build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
...
Change-Id: Id92c54ace86e93bef23c06c8be823b6e6a45701d
2021-10-24 13:21:37 +00:00
Roman Stolar
3451e9261a
Replace deprecated Content::getParserOutput call to new one ContentRenderer::getParserOutput
...
Bug: T287158
Change-Id: I07f043deea33391302692f56604d9f641bc77916
2021-10-20 16:17:36 +03:00
Translation updater bot
bb4add95c9
Localisation updates from https://translatewiki.net .
...
Change-Id: I311e5f2b6bd5fb158d1b1d83f9cbb8b464ad0c05
2021-10-18 15:21:22 +02:00
Alexander Vorwerk
ef084bbead
MediaWikiTestCase -> MediaWikiIntegrationTestCase
...
MediaWikiTestCase has been renamed to MediaWikiIntegrationTestCase in 1.34.
Bug: T293043
Change-Id: Ie7b8882367285568ac7fcf2a28e1c7931bb5c059
2021-10-12 01:04:44 +02:00
libraryupgrader
3440e0980d
build: Updating ansi-regex to 5.0.1
...
* https://npmjs.com/advisories/1002401 (CVE-2021-3807)
Additional changes:
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).
Change-Id: I675ca17a09d06404450a03208a450681df7a25c0
2021-10-08 11:00:34 +00:00
Translation updater bot
c9f0a21a48
Localisation updates from https://translatewiki.net .
...
Change-Id: I4dbb462b7bfdea53dad323b18003ed01744054ed
2021-09-13 08:30:20 +02:00
libraryupgrader
5cf47545c7
build: Updating composer dependencies
...
* mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1
Change-Id: Ib6db3984f5892a13461defbbe9f191ceb75853c8
2021-09-09 11:41:40 +00:00
Translation updater bot
43ab5f41d1
Localisation updates from https://translatewiki.net .
...
Change-Id: I148fb8ad3d2d75eb6cac02abfbe644efe902efbb
2021-09-06 08:21:17 +02:00
Translation updater bot
949ecca1be
Localisation updates from https://translatewiki.net .
...
Change-Id: I1bd78fe735a1b31dd519adc6d64116d08a03304e
2021-09-02 08:26:48 +02:00
libraryupgrader
af0fe1eece
build: Updating path-parse to 1.0.7
...
* https://npmjs.com/advisories/1773 (CVE-2021-23343)
Change-Id: Idc4c79c4f7fe817d39665bbac5f55a0733a39803
2021-08-25 10:17:54 +00:00
Translation updater bot
3c9f4fefcd
Localisation updates from https://translatewiki.net .
...
Change-Id: I4f86ba1f512cb1edd88b16d22f1810d2023dd6c9
2021-08-19 08:13:53 +02:00
Translation updater bot
19e7c2d7ca
Localisation updates from https://translatewiki.net .
...
Change-Id: Iaf09e35b4c86059af7a44627fbc648a382fff6bc
2021-08-17 08:19:43 +02:00
Amir Sarabadani
530c13120b
Try to use EditStash before re-rendering
...
Bug: T288639
Change-Id: Ia2b41f1b5da0ed4f938b92d04f661d8b869fce01
2021-08-16 15:26:45 +02:00
Amir Sarabadani
e7a37be1c8
Don't generate HTML when asking for ParserOutput
...
It doesn't need it and it's really expensive to produce.
Bug: T288639
Change-Id: I5f3ec6c38aec2cf4b5c648e00691272a3941d9ce
2021-08-12 11:29:55 +02:00
Amir Sarabadani
5d90e38616
Avoid using deprecated WikiPage::prepareContentForEdit
...
Which would prevent every edit attempt rendering the content twice.
Bug: T288639
Change-Id: I802ed3685b7f2bea3616399fd92a9720f204f134
2021-08-11 19:51:58 +00:00
Translation updater bot
0b5dd63f38
Localisation updates from https://translatewiki.net .
...
Change-Id: I6b4892d20af2682927744eaf28c39e7b0cd89893
2021-08-05 08:22:45 +02:00
daniel
24d3c2d7c3
Add integration test
...
This test ensures that SpamBlacklist prevents edits that contain spam.
Change-Id: I18e205752d9c5428bb52ebf41ad10fa29e813247
2021-07-27 10:26:41 +00:00
libraryupgrader
3b79f98ba8
build: Updating mediawiki/mediawiki-codesniffer to 37.0.0
...
Change-Id: Id3f23569f8c6726382dfc1723516ce093df9adb6
2021-07-24 02:17:52 +00:00
Translation updater bot
78c954f270
Localisation updates from https://translatewiki.net .
...
Change-Id: I7dd52066b6d506a808d9b3d2135962d5dc51b68b
2021-07-20 08:21:03 +02:00
Roman Stolar
bbb4bec7e4
Replace depricating method IContextSource::getWikiPage to WikiPageFactory usage
...
Bug: T275710
Change-Id: I3a762c4c097e4b3e89e82e5d0e62e9eecc2486d3
2021-06-28 17:04:10 +03:00
jenkins-bot
eb38eb13dc
Merge "Handle EditFilterMergedContent hook properly to break hook chains and display error message"
2021-06-26 12:57:19 +00:00
jenkins-bot
f3356ee29c
Merge "Use WikiPage::doUserEditContent() instead of ::doEditContent()"
2021-06-25 16:48:01 +00:00
DannyS712
a12591ca97
Use WikiPage::doUserEditContent() instead of ::doEditContent()
...
::doUserEditContent() is available since 1.36 as a replacement
for ::doEditContent(), which has been deprecated. Extension
already requires MediaWiki 1.36+, so the method is always
available.
Bug: T255507
Change-Id: I6bccbe68a1c462fa8c44d0e5aa01656e73f5c2b8
2021-06-24 04:37:06 +00:00
DannyS712
55399c4938
Pass a user to WikiPage::prepareContentForEdit()
...
Bug: T285447
Change-Id: I745a7c185e35295e578fdb1d36a6841bb4a1e126
2021-06-24 03:29:13 +00:00
Translation updater bot
1ee24c121a
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib9be60230d2541ea04fad434a3cd2fd9583bb348
2021-06-09 08:28:59 +02:00
Translation updater bot
2ed9cafa13
Localisation updates from https://translatewiki.net .
...
Change-Id: Iefbe4be87de8c106f877179de8ab9a32a7aa0e2b
2021-06-07 08:42:57 +02:00