Commit graph

100104 commits

Author SHA1 Message Date
DannyS712
ef6d79a6bb WatchedItemQueryService: Add expiry to items
So that ApiQueryWatchlist can include it

Bug: T263796
Follow-up: 9fefe2eac0
Change-Id: I18bfc19e992a00549cdcd14db436cd65f8654cb6
2020-12-01 01:30:46 +00:00
jenkins-bot
00e3c53250 Merge "SpecialEditWatchlist: remove unneeded BC hack" 2020-11-30 21:24:18 +00:00
jenkins-bot
f6e109cece Merge "PoolWorkArticleViewOld: use WANObjectCache" 2020-11-30 17:35:08 +00:00
Daimona Eaytoy
8f1fda255f SpecialEditWatchlist: remove unneeded BC hack
This hack was introduced with c5a80bfb66%5E%21
in 2011, as SpecialEditWatchlist replaced WatchlistEditor, so that
callers could still use the old signature.

The class WatchlistEditor was removed in 1.24, and nobody should be
instantiating this class directly (outside of SpecialPageFactory), which
means that this hack is effectively unnecessary nowadays.

Change-Id: Iadf352b375b4caa7d88d01b15e2b8e73239ff924
2020-11-30 18:10:18 +01:00
jenkins-bot
951f75ec80 Merge "Improve docs in FileJournal class" 2020-11-30 17:07:58 +00:00
jenkins-bot
f2909ad897 Merge "Suppress taint-check issues in LogFormatter/LogPage" 2020-11-30 17:05:04 +00:00
jenkins-bot
afade79a99 Merge "Suppress taint-check issue in BacklinkJobUtils" 2020-11-30 16:57:58 +00:00
jenkins-bot
88e64f99d3 Merge "Use WebRequest::getRawVal in SpecialEditWatchlist and fix docs" 2020-11-30 16:45:58 +00:00
jenkins-bot
04f8e801d9 Merge "WikiImporter: Replace deprecated WikiRevision::setText" 2020-11-30 16:45:35 +00:00
daniel
2c7ba6f62b PoolWorkArticleViewOld: use WANObjectCache
Use WANObjectCache instead of the local cluster object cache.

Bug: T268278
Change-Id: Ic16feffecaf4b75c284c6ef34de42ac113e625f8
2020-11-30 16:38:56 +00:00
jenkins-bot
cb84df21d3 Merge "Increase line height for languages of India" 2020-11-30 15:33:48 +00:00
jenkins-bot
b2590ad102 Merge "Add message for another EXIF statement: stitchingsoftware" 2020-11-30 14:42:33 +00:00
Raymond
f54433c739 Add message for another EXIF statement: stitchingsoftware
Already defined in  includes/media/FormatMetadata.php

Found it in https://commons.wikimedia.org/wiki/File:K%C3%B6ln_Kugelpanorama_%C3%BCber_dem_Zeughaus.jpg
Defined in https://developers.google.com/streetview/spherical-metadata

Change-Id: I9e7b16d2990592e4375fc17568415accc61a496d
2020-11-30 14:19:00 +00:00
jenkins-bot
07476651ce Merge "Show read-only wikitext if editing old revision with non-main-slot diffs from latest" 2020-11-30 12:12:55 +00:00
Ammar Abdulhamid
96bcbcd758 WikiImporter: Replace deprecated WikiRevision::setText
Change-Id: Ic1626a95f4dbb9ca848422e095e3098f2393cca9
2020-11-30 10:14:53 +00:00
Translation updater bot
ed5d593252 Localisation updates from https://translatewiki.net.
Change-Id: I94129a1b96f93a847ba62f84225cda6be5e4347e
2020-11-30 08:45:15 +01:00
DannyS712
e8b7c36181 ContentHandlerFactory: whitespace cleanup
Change-Id: Ie47dddc905ea7dc0b3e3d624dca91e354aa39110
2020-11-29 22:00:06 +00:00
jenkins-bot
9e655bb47a Merge "Suppress taint-check in DefaultPreferencesFactory" 2020-11-29 20:58:54 +00:00
Umherirrender
18ca431f46 Suppress taint-check in DefaultPreferencesFactory
Bug: T216348
Change-Id: I0c272ca193097be844915065d52db3e426b740a6
2020-11-29 12:19:28 +00:00
Umherirrender
cd70fe89e1 Suppress taint-check issue in BacklinkJobUtils
Bug: T268905
Change-Id: Ic6256cc996646f4418f1c119d025f5a20e764d41
2020-11-29 11:32:27 +01:00
Umherirrender
1bc05f5242 Use UserNameUtils in Setup
Change-Id: Id374aa1d460ee2b1ecb362bd3cce50fb8ed11149
2020-11-29 08:43:52 +00:00
jenkins-bot
d6fdbca8a2 Merge "CollationTest: Stop checking for intl being loaded" 2020-11-29 01:14:02 +00:00
jenkins-bot
b83c4eddc0 Merge "RELEASE-NOTES: Add specific upgrade note that ext-intl is needed" 2020-11-29 01:13:17 +00:00
jenkins-bot
322c906a5d Merge "Remove some checks for extension_loaded( 'intl' )" 2020-11-29 00:59:47 +00:00
Reedy
deb55049ae CollationTest: Stop checking for intl being loaded
Bug: T267669
Change-Id: I4ee41ebe09eac7864bb5b64d36ad6efb7f990b3b
2020-11-29 00:22:40 +00:00
Reedy
2420533662 RELEASE-NOTES: Add specific upgrade note that ext-intl is needed
Change-Id: I9a5ef154c4d50e782ef228fdb750ac9bb1adbac4
2020-11-29 00:18:00 +00:00
Reedy
9ee7179d15 Remove some checks for extension_loaded( 'intl' )
ext-intl is required by MW now, so composer will enforce requirement

Bug: T267669
Change-Id: I6fcc19e06b95e58def4364a24b8de100dd6f3f90
2020-11-29 00:06:32 +00:00
jenkins-bot
50cae6143b Merge "Improve docs for Xml class" 2020-11-28 23:52:06 +00:00
Umherirrender
a71552ad28 Improve docs for Xml class
Change-Id: I856b9bc4b62ddb8f03ed8f9111fc0dc037ff1046
2020-11-28 23:48:36 +01:00
Umherirrender
a6337ab666 Suppress taint-check issues in LogFormatter/LogPage
Bug: T216348
Change-Id: I1d224c46bb81864b75b3f079975e63be1f533e26
2020-11-28 19:18:37 +00:00
Peter Grassberger
cc2ddd59c0 Diff-view: indicators should not be copied on copy-and-paste
Bug: T192526
Change-Id: Ic885c3e3182e41c27c3bcb73081ab750ea55c13d
2020-11-28 17:08:21 +00:00
jenkins-bot
bc0633d41c Merge "Check for Title::canHaveTalkPage in User::addWatch" 2020-11-28 07:49:38 +00:00
jenkins-bot
25fb39a5c8 Merge "Add user name to message deletedcontributions-title" 2020-11-28 07:42:46 +00:00
jenkins-bot
6218c64b06 Merge "Add @method for type in BufferingStatsdDataFactory::produceStatsdData" 2020-11-28 00:29:27 +00:00
jenkins-bot
04b3c1e911 Merge "Used passed user objects for closure in ApiTokens" 2020-11-28 00:26:33 +00:00
jenkins-bot
970cf8fc15 Merge "Implement FauxRequest::getPostValues()" 2020-11-28 00:19:56 +00:00
Umherirrender
e00ebab245 Used passed user objects for closure in ApiTokens
This makes phan (with taint) happy when the closure has one argument and
the call_user_func provide one argument

Change-Id: Ie1f95e74dc91f83872744727afed6170221f928b
2020-11-27 23:52:30 +00:00
jenkins-bot
269a283eac Merge "Add some int casts for queries in maintenance scripts" 2020-11-27 23:38:42 +00:00
Umherirrender
823daa0ba1 Add @method for type in BufferingStatsdDataFactory::produceStatsdData
The parent abstract produceStatsdData() is documented to return
StatsdDataInterface, but that does not provide the setKey function

This patch makes phan with taint happy

Change-Id: I7fb2a79f0523fb1bf7a0778ac0380544229aa04b
2020-11-27 23:29:22 +00:00
Reedy
1c75b43201 Updating wikimedia/testing-access-wrapper (1.0.0 => 2.0.0)
Bug: T268846
Change-Id: I4f550864687241098b86eb9c5de6895424165985
Depends-On: Ieef3d5af038bc0b0fabe7af94e3f4b1d7afa0b51
2020-11-27 14:40:50 -08:00
Umherirrender
0aee2cd724 Add some int casts for queries in maintenance scripts
all places detected as SecurityCheck-SQLInjection by
mediawiki/phan-taint-check-plugin 3.1.0

Bug: T216348
Change-Id: Ifd9589e8da996a0017b4361c62830e597c41f10e
2020-11-27 18:43:40 +01:00
Umherirrender
f199ab8442 Fix docs for LanguageConverter::translate
Change-Id: Iedc18f2520aff07a70af8e1387ec3237b902f9e6
2020-11-27 16:59:05 +01:00
Umherirrender
0ce953da9b Use WebRequest::getRawVal in SpecialEditWatchlist and fix docs
Change-Id: I920be7f20fd51c27fe9fac20d8b35491a3dc8b00
2020-11-27 16:54:05 +01:00
Umherirrender
8eb9e8b6e8 Improve docs in FileJournal class
Change-Id: Ib3aaec1a9ea33c227b3002816907e42d1a970b76
2020-11-27 16:43:16 +01:00
jenkins-bot
206c961d24 Merge "mw.widgets.MediaSearchWidget: Display results labels on separate lines" 2020-11-27 12:24:48 +00:00
Lucas Werkmeister
5639786d3e Implement FauxRequest::getPostValues()
Change-Id: I709834c82f06e1da00df7667bd8bcc72a3d263a4
2020-11-27 09:38:08 +01:00
jenkins-bot
4641b20bdb Merge "Chain MutableRevisionRecord method calls 2" 2020-11-27 08:36:31 +00:00
Translation updater bot
a8f051f700 Localisation updates from https://translatewiki.net.
Change-Id: Iff45ff1a060c32f6c2fb5850b8e8cd7e260a2202
2020-11-27 08:29:13 +01:00
Ammar Abdulhamid
71571191d4 Chain MutableRevisionRecord method calls 2
Change-Id: I86578cfbc892f171a4e433283b86d1b78fe4167d
2020-11-27 05:26:54 +01:00
Timo Tijhof
ea586cfa2e GlobalFunctions: Unbreak handling of '?0' query in wfAssembleUrl()
Follows-up Ief9c15cc8fe0fcae07d2c.

Bug: T268852
Change-Id: I5ddac943aad4d634ea20cd4d4cb21d1c857c05fd
2020-11-26 23:45:45 +00:00