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
jenkins-bot
5bad40f6f8
Merge "Use PageIdentityValue instead of SearchResultPageIdentityValue."
2021-05-13 20:35:15 +00:00
libraryupgrader
668d044574
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: I6797ecfc38973777657d1d4611363595b23e4afd
2021-05-12 19:05:01 +00:00
Translation updater bot
c6fd5dd8a4
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic3a3439b84171e4325c72d1fe306047bc1532838
2021-05-12 09:22:43 +02:00
daniel
ccedc7a921
Use PageIdentityValue instead of SearchResultPageIdentityValue.
...
Depends-On: I6eb55c78a0a72be66814f8bc854ba663e7c6f62b
Change-Id: Idc20c479defe5ce377046172a639c89d6fc4e8f6
2021-05-12 01:01:12 +00:00
jenkins-bot
738e91e19c
Merge "Pass wikiId to constructor of SearchResultPageIdentityValue."
2021-05-12 00:44:36 +00:00
daniel
985dfba509
Pass wikiId to constructor of SearchResultPageIdentityValue.
...
SearchResultPageIdentityValue will become an alias for
PageIdentityValue, which requires the forth parameter.
Needed-By: I6eb55c78a0a72be66814f8bc854ba663e7c6f62b
Change-Id: I9b1ab02e0acf12ace107361ea2c443aa543c4880
2021-05-10 16:09:12 +02:00
Clare Ming
4bb7aface9
Address voice and tone issues.
...
Replace instances of "blacklist" with "denylist" throughout extension.
Bug: T277955
Depends-On: Ib4985ec2fcb22eafad8f3a7cf9fc3161782a71db
Change-Id: Ibe460cb9691d56a9e83686b53c7629b5404af6fb
2021-05-07 20:39:38 +00:00
jenkins-bot
2a963b67ff
Merge "Update PHPDocs and use PHP7 features where possible"
2021-05-04 18:31:58 +00:00
DannyS712
273dfc5cee
ApiQueryPageImagesTest: fix parameter order in assertions
...
Expected first, then actual
Change-Id: I13849d517a5c018133fb2111cd0d19c965dc3735
2021-05-04 16:44:00 +00:00
Thiemo Kreuz
d8eceed585
Update PHPDocs and use PHP7 features where possible
...
Change-Id: I417ad041e268b88512de435c59695cb4338331cc
2021-05-04 16:51:18 +02:00
Thiemo Kreuz
c386aa5328
Remove unnecessary boilerplate from PHPUnit test setups
...
* any() doesn't do anything. It's the default anyway.
* Prefer the more strict assertSame() where possible.
* Use shortcuts like createMock() where possible.
Change-Id: Iff33f111312448e9fc8ff827e2ef9eb2b583ff6f
2021-05-04 16:50:15 +02:00
Translation updater bot
0feece7a29
Localisation updates from https://translatewiki.net .
...
Change-Id: I60e5e910cab1bd78b2fc3c7be7a4510f3eb497d4
2021-05-04 08:52:42 +02:00
libraryupgrader
3bb61ff0d6
build: Updating eslint-config-wikimedia to 0.20.0
...
Change-Id: Iabcdc5b4259a2ff09305ebdadf555bd5039a6be3
2021-04-13 20:40:52 +00:00
Umherirrender
de2ea3885e
Use ::class for class name
...
Change-Id: I97d470bf535c3141e0443ef0aaf8784b02dd4240
2021-04-08 21:15:01 +02:00
Reedy
36d64ba6d6
Test cleanup
...
Change-Id: Id0eab4d331fd178c69fe29efd3d7fd10c6503eaf
2021-03-20 05:22:04 +00:00
libraryupgrader
bdc669f93e
build: Updating eslint-config-wikimedia to 0.19.0
...
Change-Id: If79239336be6ee46e0573a927e3cbacf9b912a6f
2021-03-14 05:27:07 +00:00
libraryupgrader
b3c4adb93d
build: Updating eslint-config-wikimedia to 0.18.2
...
Change-Id: Ic2c5066e5110212de076d3af2cc0382560ab77ff
2021-03-07 12:04:37 +00:00
Umherirrender
d1d7cfef0b
Remove pre-1.35 code
...
Version was increased with I2f5251aa2f8298fd11096b27eea3e5ccf71f2103
Change-Id: I8df702f3ee7751a280b9821e0624ddcb1ce5b185
2021-03-06 18:26:23 +01:00
Translation updater bot
ae2ad6da3a
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib1d13b0d5ed2c9d14b19c61a23f384b0fc7d1cae
2021-02-15 10:06:04 +01:00
Translation updater bot
d39d07a667
Localisation updates from https://translatewiki.net .
...
Change-Id: I3df5c678dc6cbfba2a0c4d0ea0e09b5fbe845e36
2021-02-08 08:43:22 +01:00
libraryupgrader
1ce3592d89
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
* mediawiki/minus-x: 1.1.0 → 1.1.1
npm:
* eslint-config-wikimedia: 0.17.0 → 0.18.1
Additional changes:
* Added the "composer phan" command to conveniently run phan.
Change-Id: I337c9ae59ddd0324b6b48a1bbdee4366ff67d199
2021-01-30 06:58:49 +00:00
Umherirrender
fa781357b5
Remove uneeded @return
...
Change-Id: I3813de58f8314938b7c3a193faa21b45b15f1dcf
2021-01-27 20:02:49 +01:00
Umherirrender
f9fb414b22
Add missing @param to test
...
Change-Id: Ibb7db4ac089e0d639540dfc96d1f6339b1bda9e0
2021-01-23 16:18:08 +01:00
libraryupgrader
79edb98f16
build: Updating mediawiki/mediawiki-phan-config to 0.10.6
...
Change-Id: I1f46f1f3f99b0c34cf9aea8bc8ee617b4516aaa4
2020-12-19 23:43:06 +00:00
libraryupgrader
adffd80fdc
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-phan-config: 0.10.4 → 0.10.5
npm:
* ini: 1.3.5 → 1.3.7
* https://npmjs.com/advisories/1589
Change-Id: Ic7a816b48c865246fea0a23d72fb5b8f53ff119f
2020-12-11 01:17:12 +00:00
Translation updater bot
9fa92c53d8
Localisation updates from https://translatewiki.net .
...
Change-Id: I31684067ad6a65534d28e93f37f309a18d47cd14
2020-12-10 08:35:24 +01:00