Translation updater bot
061e159118
Localisation updates from https://translatewiki.net .
...
Change-Id: I7b9e486905a58575334a01696945cb4310c2dba6
2022-06-08 08:27:42 +02:00
libraryupgrader
6d7433a0c9
build: Updating grunt to 1.5.3
...
Change-Id: I2f2c03a2bf454188180e3accc7a422e2e361a5c4
2022-05-26 20:25:15 +00:00
libraryupgrader
d1d1ad176b
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1
* php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
* php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2
npm:
* eslint-config-wikimedia: 0.20.0 → 0.22.1
* grunt: 1.4.0 → 1.5.2
* grunt-eslint: 23.0.0 → 24.0.0
* async: 3.2.0 → 3.2.3
* https://github.com/advisories/GHSA-fwr7-v2mv-hh25
Additional changes:
* Set `name` in package.json.
Change-Id: I41174721934d271f34bcf8e8cdd322a9eae3cae0
2022-05-21 09:06:38 +00:00
gerritbot
d0f26549f2
Fix usage of ApiBase::PARAM_* deprecated constants
...
The ones that are replaced with ParamValidator
Bug: T275455
Change-Id: Ie88e576d3a6dc61155f2b7f49e86a993c2577427
2022-04-04 00:32:20 +00:00
gerritbot
c2ee690bdd
Replace deprecated ApiBase::PARAM_ with IntegerDef ones
...
The rest of ApiBase::PARAM_ will be done in separate patches
Bug: T275455
Change-Id: Ia64fadade6a890827bfb2b220e430c16716e86f7
2022-04-03 22:16:07 +02:00
Translation updater bot
eb6e3ae4ca
Localisation updates from https://translatewiki.net .
...
Change-Id: I38bbf70b0bb505ca39f0f8360be928ed75c8edaa
2022-03-04 08:29:55 +01:00
Translation updater bot
546144de52
Localisation updates from https://translatewiki.net .
...
Change-Id: I025e112657cceaefcc09d56bbb66c8559e9f02c2
2022-02-25 09:45:01 +01:00
C. Scott Ananian
8d62412484
ParserOutput::getPageProperty() now returns null when key is missing.
...
The return value of ParserOutput::getPageProperty() has transitioned
to returning `null` instead of `false` when the page property is missing.
Bug: T301915
Depends-On: Iaa25c390118d2db2b6578cdd558f2defd5351d15
Change-Id: Ie746883bd14eb579b40390d5fe824a5c6f93fa1e
2022-02-16 18:37:52 -05:00
C. Scott Ananian
e9b268827f
Update uses of ParserOutput::getPageProperty() to handle new return value
...
The return value of ParserOutput::getPageProperty() will transition to
returning `null` instead of `false` when the page property is missing.
Bug: T301915
Change-Id: I383abb6b7dc5e96c0061af13957609f6e31a1065
2022-02-16 18:37:52 -05:00
Simon Legner
41f4165230
Allow editors control of the page image
...
- Exclude images with class=notpageimage
Bug: T301588
Change-Id: I15eb580f5047a414431a45acf4004344e01a5881
2022-02-14 18:53:57 +00:00
jenkins-bot
69f7d0d2f8
Merge "Add more integrated parser test"
2022-02-03 20:21:48 +00:00
Translation updater bot
0f40df0326
Localisation updates from https://translatewiki.net .
...
Change-Id: I427cb3bbd02a7813182172fef37c94641bc34265
2022-02-01 08:27:20 +01:00
Translation updater bot
fc80ededda
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibbfa09b2d1e730ca9341276eda20ee212d26b886
2022-01-28 08:34:18 +01:00
Translation updater bot
087b6d1304
Localisation updates from https://translatewiki.net .
...
Change-Id: I810690f08fa7e389c032cb1317ca516a98b39320
2022-01-27 08:39:10 +01:00
Tim Starling
ccdb93f3c1
Add more integrated parser test
...
Including regression test for T299798.
Bug: T299798
Depends-On: Idc4ac4eb4e20d8e3e2fdbd093ff75f26d3af0d57
Change-Id: I89fa346651e756d1981a950a8b778020359b86a2
2022-01-24 14:00:27 +11:00
Tim Starling
cf7a366089
Fix the case where there are no section headers
...
Bug: T299798
Change-Id: Ib5b25dbaece5c9ac5de665f4c990d053e8d9d440
2022-01-24 12:00:24 +11:00
jenkins-bot
72f726cde1
Merge "Replace deprecated JobQueueGroup::singleton()"
2022-01-23 21:39:33 +00:00
Umherirrender
c3cfe99103
Replace deprecated JobQueueGroup::singleton()
...
Change-Id: I5b5f907c6f54874fc41e51fc6f4bd02bd2151845
2022-01-21 17:21:19 +00:00
jenkins-bot
03ef33639c
Merge "Convert timestamps for database in InitImageData maintenance script"
2022-01-21 08:11:27 +00:00
Translation updater bot
a6879fd872
Localisation updates from https://translatewiki.net .
...
Change-Id: I2114ca4e4dd83ce221f9de00a444f3ecec15f116
2022-01-17 08:12:43 +01:00
Tim Starling
372b5938f5
Strip comments from indicators
...
They are documented as being HTML, so look for candidate comments and
strip them, same as we do for the main HTML.
Bug: T298930
Change-Id: I7caf96b8d15f887e0be4c9a24acfd981b3e7a776
2022-01-11 15:36:10 +11:00
Bartosz Dziewoński
035938e76c
Disable parser HTML changes during parser tests, they cause failures
...
Bug: T298930
Change-Id: If143365ba89eb894250b34fd9f1c603595e19fca
2022-01-11 00:26:53 +00:00
Umherirrender
33ed67ced6
Convert timestamps for database in InitImageData maintenance script
...
For better cross RDBMS support
Change-Id: Ie56fba354446ed17a1302f686b8b3929ea55f600
2022-01-07 21:26:17 +01:00
Tim Starling
768464d0f9
Identify lead images using a new parser hook instead of during LinksUpdate
...
I added ParserModifyImageHTML to core to make it easier for PageImages
to identify images in the lead section.
This also allows PageImages to stop writing to LinksUpdate properties.
It is one of only two extensions that do that.
Depends-On: I24528381e8d24ca8d138bceadb9397c83fd31356
Bug: T176520
Bug: T296895
Change-Id: I472f4a023969bfde6298eb56112c16d2ae842199
2022-01-04 14:19:32 +11:00
Translation updater bot
2793356c59
Localisation updates from https://translatewiki.net .
...
Change-Id: I72f624f7ac8a43fd8effe1684411ba710ee54422
2021-12-09 08:22:43 +01:00
Roman Stolar
19729997d5
Avoid using User::getOption
...
Remove using of User:getOption since this method will be hard-deprecated. Now it is soft-deprecated
Bug: T296083
Change-Id: Ia6c2fb8a4510cc55e424fc23816e71b2b93732b4
2021-11-25 13:04:14 +02:00
Umherirrender
23c44e9f7d
doc: Cleanup @param documentation
...
No extra sign needed between variable and description
Change-Id: I6cf199a7e3e295d45bf95981166a23119afb41ac
2021-11-04 22:19:59 +01:00
Translation updater bot
d8fd89f32b
Localisation updates from https://translatewiki.net .
...
Change-Id: I713dd3b2db5a1ccfa28268da67a7380b1f8603cf
2021-11-03 08:21:01 +01:00
jenkins-bot
5396ef9f94
Merge "Fix typo in PageImagesScores description"
2021-10-29 19:52:39 +00:00
Simon Legner
d3f9a011fd
Output multiple og:image with widths 1200/800/640
...
Multiple images are supported according to https://ogp.me/#array .
Facebook suggest an image with at least 1080px.
WhatsApp ignores images >300px.
Bug: T282065
Change-Id: Ibc18df03fbd6f4ec9f4970331e1b5bf930710816
2021-10-26 13:12:22 +02:00
Simon Legner
6220277055
Fix typo in PageImagesScores description
...
Change-Id: Ica4ae8963f8b21b016ca96c4454c4e88fd353e30
2021-10-26 12:42:46 +02:00
libraryupgrader
b28c4b85b8
build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
...
Change-Id: Iee514d0b79423ab4cdc4c1456efc6a610b1afb8a
2021-10-24 09:12:58 +00:00
Roman Stolar
6b4da12fd6
Replace deprecated Content::getParserOutput call to new one ContentRenderer::getParserOutput
...
Bug: T287158
Change-Id: Ia537b3a496e48237d427ad61a6db6268f63c769e
2021-10-21 18:19:03 +03:00
Translation updater bot
0f202c660c
Localisation updates from https://translatewiki.net .
...
Change-Id: Ica229f415312bdee721200c4a0bd4b7459a5561e
2021-10-21 08:22:22 +02:00
Translation updater bot
0fc15a4766
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic257b1da714edd882ce3f55fca2ac45bc87bbe7e
2021-10-18 15:20:55 +02:00
Alexander Vorwerk
7b03392757
MediaWikiTestCase -> MediaWikiIntegrationTestCase
...
MediaWikiTestCase has been renamed to MediaWikiIntegrationTestCase in 1.34.
Bug: T293043
Change-Id: I5a60221692f3538dd96651493fc8d392aaabdf85
2021-10-12 00:57:52 +02:00
libraryupgrader
4bd959f764
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: I6456a6915fe5bcb9a8e91dc278bef36d826886f8
2021-10-05 05:18:50 +00:00
Alexander Vorwerk
73371eb33e
Replace usage of deprecated PageProps::getInstance()
...
Bug: T289544
Change-Id: Ie30d3d2339ebf110a9827c3fa5cd604928abfd38
2021-09-26 14:40:10 +02:00
Kunal Mehta
7e13212a7c
Check $thumb->isError() before trying to use it
...
$thumb might be an instance of MediaTransformError, which as the name
implies, is not really usable as a thumbnail and should be skipped
instead.
Bug: T290973
Change-Id: Ie818bd295bfe06c7c0dc0a2ea7dd273c7e0e416f
2021-09-14 09:56:05 -07:00
libraryupgrader
b68714a834
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: I110b84b570efa0619939dc3aca1a538059adec1d
2021-09-09 04:44:33 +00:00
libraryupgrader
a31e92af16
build: Updating path-parse to 1.0.7
...
* https://npmjs.com/advisories/1773 (CVE-2021-23343)
Change-Id: I743c198ef449287b2ed1a5a2099607d3a43277aa
2021-08-12 06:04:19 +00:00
Translation updater bot
a0649780e9
Localisation updates from https://translatewiki.net .
...
Change-Id: I9e540b3134fb7f1026f9f1b5f684cdac9c733956
2021-08-05 08:22:21 +02:00
jenkins-bot
f908355d17
Merge "Add a configuration to provide the fallback of og:image"
2021-07-28 16:03:39 +00:00
libraryupgrader
2f4755e065
build: Updating mediawiki/mediawiki-codesniffer to 37.0.0
...
Change-Id: I314da8a48195e98aed3605f18e9d0eab516ba026
2021-07-23 05:46:22 +00:00
Translation updater bot
825116f6b2
Localisation updates from https://translatewiki.net .
...
Change-Id: Id16046a35cb80c83701bb0a093796314dd7c57fc
2021-07-15 08:12:27 +02:00
lens0021
d526653e3a
Add a configuration to provide the fallback of og:image
...
Makes the fallback image be used when there is no image on a page.
Bug: T256935
Change-Id: I0bc4d55b20cc37edf46cb984a9a68617e2b4a89f
2021-06-18 12:16:36 +09:00
Translation updater bot
742d4fb877
Localisation updates from https://translatewiki.net .
...
Change-Id: I92506d481bc341a3f0aaf9895148dffaeee0ee2a
2021-05-27 12:05:56 +02:00
libraryupgrader
7d54504f63
build: Updating browserslist to 4.16.6
...
* https://npmjs.com/advisories/1747 (CVE-2021-23364)
Change-Id: I28e67a7868a9904de2b1c74c71f7b7bff6fcc359
2021-05-26 00:24:10 +00:00
Translation updater bot
3a44c3610d
Localisation updates from https://translatewiki.net .
...
Change-Id: I35da7d95fef5bec47471727c0fe6efccbd9052ce
2021-05-19 08:43:42 +02:00
Petr Pchelko
a0d2696e69
Remove leftover SearchResultPageIdentity typehints
...
Change-Id: I7a1dfc26d0985e645c785297c849e4c2854c034b
2021-05-14 19:21:16 -07:00