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
Translation updater bot
5ca24f733d
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib62423cd1fd9cdf9297da6dfa5bc92ceb06222c0
2021-05-31 08:32:55 +02:00
libraryupgrader
2133946b54
build: Updating browserslist to 4.16.6
...
* https://npmjs.com/advisories/1747 (CVE-2021-23364)
Change-Id: I65b0c4a0fb80616dd7e756ad04aef713bb5f4e3e
2021-05-28 09:08:45 +00:00
Translation updater bot
8a325ae68b
Localisation updates from https://translatewiki.net .
...
Change-Id: Icb60f7a9d02b9f13070c6a27d0f9909bd145b863
2021-05-28 09:07:25 +02:00
Translation updater bot
b7877e710c
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie2df1cbdd4bde76448e825435d42634bfa0df46b
2021-05-27 12:06:16 +02:00
jenkins-bot
ff2cf5be37
Merge "Avoid using ContentHandler::getContentText()"
2021-05-25 22:46:28 +00:00
Translation updater bot
7735860a7b
Localisation updates from https://translatewiki.net .
...
Change-Id: I36d74a3b38c477f150637625d1f8c5b34c60a6d6
2021-05-24 09:55:27 +02:00
Translation updater bot
ad767eccc0
Localisation updates from https://translatewiki.net .
...
Change-Id: I985b6e27c99ddf8cf0012b724e18c7d3705a0eb8
2021-05-20 09:11:24 +02:00
Alexander Vorwerk
daba89ed47
Avoid using ContentHandler::getContentText()
...
ContentHandler::getContentText() is deprecated and should be
replaced with Content::getText() for TextContent instances.
Change-Id: Ic858f41f66d3c6654f28e3b330d1ce3a35507b13
2021-05-18 00:32:36 +02:00
libraryupgrader
bca1a61958
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0
npm:
* grunt: 1.3.0 → 1.4.0
* lodash: 4.17.19 → 4.17.21
* https://npmjs.com/advisories/1673 (CVE-2021-23337)
Change-Id: If7fce8d1738a011f37a9fcbfacbb52cf214d9bea
2021-05-13 21:44:31 +00:00
jenkins-bot
b0d900e89d
Merge "Localisation updates from https://translatewiki.net ."
2021-04-26 07:16:21 +00:00
Translation updater bot
6d94db860d
Localisation updates from https://translatewiki.net .
...
Change-Id: If773adb6a19117f29d8114171e683db29da318c7
2021-04-26 09:10:53 +02:00
Translation updater bot
48bf3c2a72
Localisation updates from https://translatewiki.net .
...
Change-Id: I68a95be0e88658bf5fcabf8d4291ede9aa9b4247
2021-04-26 08:57:50 +02:00
Func
d4dd5a9408
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: I456a40ce676c486b4ae12f00a7024a4c070448cd
2021-04-24 02:06:59 +00:00
Umherirrender
32ea1e7596
Use HookHandlers for core hooks
...
Bug: T271028
Depends-On: If7930a196272f782a6541fb0bc301e04e2d56f38
Change-Id: I7b5b6da058360bb60057f275234f972305ec0ea1
2021-04-15 21:02:35 +00:00
libraryupgrader
e080b30b74
build: Updating eslint-config-wikimedia to 0.20.0
...
Change-Id: I01007822a8caefbd9e87e084dcbd179577631c71
2021-04-14 06:23:43 +00:00
DannyS712
7b1d5edcdb
Delete empty translation files
...
Change-Id: I03e01722364334eaf5d8f0470b5740d167c10e19
2021-04-08 02:13:33 +00:00
Translation updater bot
52cbd17bf6
Localisation updates from https://translatewiki.net .
...
Change-Id: I39eed32683c09c20ab3ce8a699089947fb46c142
2021-03-16 08:33:49 +01:00
libraryupgrader
29f487bc4f
build: Updating eslint-config-wikimedia to 0.19.0
...
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).
Change-Id: Ibb8cab00435b9062fbe8959a25bcaa9570073dc0
2021-03-14 15:44:41 +00:00
jenkins-bot
90cbe93161
Merge "Add grepability comments"
2021-03-12 20:13:22 +00:00
libraryupgrader
91017a766c
build: Updating eslint-config-wikimedia to 0.18.2
...
Additional changes:
* Dropped .php5 and .inc files from .phpcs.xml (T200956).
Change-Id: I5fa19dc57624055e2c5c9c617c0baf87469b4146
2021-03-08 00:30:38 +00:00
Reedy
4cbdb4fbc2
Add grepability comments
...
Collapse one nested if
Change-Id: I0d01239bc9ca3999688df2bb6d6360ccf563d956
2021-03-01 17:38:38 +00:00
Translation updater bot
66d656c6d7
Localisation updates from https://translatewiki.net .
...
Change-Id: Ida393a6e3dd3bd5336cad209e4751e5f784773f2
2021-03-01 08:53:31 +01:00
Translation updater bot
ae2a4dc7ef
Localisation updates from https://translatewiki.net .
...
Change-Id: I2e33d18629e1c13f0ed88b9048ae4c912c5ac2ec
2021-02-15 10:06:29 +01:00
Reedy
c2e57657f4
Use updated CheckUser Hooks class
...
Depends-On: I3f66b660f9d59c0e88b182c9b06ee8cec994348e
Change-Id: I79e12fcd328bda203013a438b7f9a472b351dd48
2021-02-11 19:31:42 +00:00