mediawiki.git
24 hours agoAdd application/vnd.ms-opentype to MIME listREL1_35
RhinosF1 [Mon, 21 Jun 2021 21:11:39 +0000 (21 21:11 +0000)]
Add application/vnd.ms-opentype to MIME list

Change-Id: I7330d151b5a840b615f43492b3f076abba031d9c
(cherry picked from commit 86b4e31906f4b8b54c71fad02663de52ee089bf7)

29 hours agoUpdate git submodules
Translation updater bot [Tue, 19 Jul 2022 16:50:33 +0000 (19 18:50 +0200)]
Update git submodules

* Update extensions/WikiEditor from branch 'REL1_35'
  to 2d4ddd9ff09ed86efa5139cc0148f1eaf0e52897
  - Localisation updates from https://translatewiki.net.

    Change-Id: I3b00c3de8ea7f81e516ece572578d9ded0b99ef4

2 days agoUpdate git submodules
Reedy [Mon, 18 Jul 2022 11:13:10 +0000 (18 12:13 +0100)]
Update git submodules

* Update extensions/Nuke from branch 'REL1_35'
  to aad19992e0cecd0bf26fbb38f9edd7e5d96044eb
  - SpecialNuke: Null coalescence in execute()

    Bug: T313146
    Change-Id: I40850e2f126728ab09ab89fc666241a7f041c7ee
    (cherry picked from commit cbbf2cc3760a27a286bf5d80a83279f32f405f47)

2 days agoUpdate git submodules
Translation updater bot [Mon, 18 Jul 2022 06:03:58 +0000 (18 08:03 +0200)]
Update git submodules

* Update skins/Vector from branch 'REL1_35'
  to 3fd61f36872f909fed059580b2214e44eeeaae17
  - Localisation updates from https://translatewiki.net.

    Change-Id: I181803736daba6eef8e4d184e4ecfa0da69af02f

2 days agoUpdate git submodules
Translation updater bot [Mon, 18 Jul 2022 06:03:10 +0000 (18 08:03 +0200)]
Update git submodules

* Update skins/Timeless from branch 'REL1_35'
  to 09e6bb780cec63b872fa12cf497b4b5b03546aa2
  - Localisation updates from https://translatewiki.net.

    Change-Id: I18c965fc5a80f592f6205cd4d28e92d4c914e996

2 days agoUpdate git submodules
Translation updater bot [Mon, 18 Jul 2022 06:00:07 +0000 (18 08:00 +0200)]
Update git submodules

* Update extensions/VisualEditor from branch 'REL1_35'
  to d3a4af3ab97528f9ebf4b98cb1a8aa4f87f1f144
  - Localisation updates from https://translatewiki.net.

    Change-Id: Icf3f504241efce27497c161f456c033fb1db5cb5

2 days agoUpdate git submodules
Translation updater bot [Mon, 18 Jul 2022 05:57:26 +0000 (18 07:57 +0200)]
Update git submodules

* Update extensions/TemplateData from branch 'REL1_35'
  to 8ddd75170390a2612d118a6a0c51b45c3cd8d76b
  - Localisation updates from https://translatewiki.net.

    Change-Id: I1957c3ea6ff88eab4b9c8fedb731c8c4a36244f0

2 days agoUpdate git submodules
Translation updater bot [Mon, 18 Jul 2022 05:56:25 +0000 (18 07:56 +0200)]
Update git submodules

* Update extensions/Scribunto from branch 'REL1_35'
  to 557c175d38c932595690f12740d8007888293e91
  - Localisation updates from https://translatewiki.net.

    Change-Id: I5b136117dcdc0ca573c4b24ae8c3fb27a6385ab1

2 days agoUpdate git submodules
Translation updater bot [Mon, 18 Jul 2022 05:56:16 +0000 (18 07:56 +0200)]
Update git submodules

* Update extensions/ReplaceText from branch 'REL1_35'
  to 96cac2f38ab0eada47db90aa130c8e507be3d9b4
  - Localisation updates from https://translatewiki.net.

    Change-Id: I30d34f3edd9542283d4481c4120cf4a1ffc4cc05

2 days agoUpdate git submodules
Translation updater bot [Mon, 18 Jul 2022 05:53:51 +0000 (18 07:53 +0200)]
Update git submodules

* Update extensions/OATHAuth from branch 'REL1_35'
  to 162f3e3d5765062eff392682f8e479c01fcbdf05
  - Localisation updates from https://translatewiki.net.

    Change-Id: I7b9ca45be6cc47df62de1a9bacc6aa13ccc0e282

2 days agoUpdate git submodules
Translation updater bot [Mon, 18 Jul 2022 05:53:44 +0000 (18 07:53 +0200)]
Update git submodules

* Update extensions/MultimediaViewer from branch 'REL1_35'
  to 8369e19f4d4a946ac5cae5cd4be70b6da0a2fc7c
  - Localisation updates from https://translatewiki.net.

    Change-Id: Id13432739236179e38f41eb185f0397962f6dc61

2 days agoUpdate git submodules
Translation updater bot [Mon, 18 Jul 2022 05:51:08 +0000 (18 07:51 +0200)]
Update git submodules

* Update extensions/Interwiki from branch 'REL1_35'
  to f872685f17c90dcc78e624fcb73494c795f4ac85
  - Localisation updates from https://translatewiki.net.

    Change-Id: Id07f3601c3d5c6ce0381fd8ec473545d091696e8

2 days agoUpdate git submodules
Translation updater bot [Mon, 18 Jul 2022 05:50:58 +0000 (18 07:50 +0200)]
Update git submodules

* Update extensions/ImageMap from branch 'REL1_35'
  to e70dbd4a28da7a0118f56dd3c7928da0848a0758
  - Localisation updates from https://translatewiki.net.

    Change-Id: If70fac7ada833b68553c6a8ae2e14c8540800a2e

2 days agoUpdate git submodules
Translation updater bot [Mon, 18 Jul 2022 05:49:32 +0000 (18 07:49 +0200)]
Update git submodules

* Update extensions/Gadgets from branch 'REL1_35'
  to 819b79e6cc14005d8eeecf4bd3719de29cb7f0b0
  - Localisation updates from https://translatewiki.net.

    Change-Id: I9fb8999d37a3a99eef0f4d3d46360b96e94032e8

2 days agoUpdate git submodules
Translation updater bot [Mon, 18 Jul 2022 05:46:24 +0000 (18 07:46 +0200)]
Update git submodules

* Update extensions/ConfirmEdit from branch 'REL1_35'
  to 72bde6d4bb6ceeda8f7dc009e13b484ca154a24c
  - Localisation updates from https://translatewiki.net.

    Change-Id: I68593a4dcfc132e73b4c8a1e88455eb5ede52a14

2 days agoUpdate git submodules
Translation updater bot [Mon, 18 Jul 2022 05:44:44 +0000 (18 07:44 +0200)]
Update git submodules

* Update extensions/Cite from branch 'REL1_35'
  to 8ba9de36011f516a9dc94068275e60e210a48c55
  - Localisation updates from https://translatewiki.net.

    Change-Id: I3efecd21c66e501022c89c5c315433722511fb0f

2 days agoUpdate git submodules
Translation updater bot [Mon, 18 Jul 2022 05:44:25 +0000 (18 07:44 +0200)]
Update git submodules

* Update extensions/CiteThisPage from branch 'REL1_35'
  to d0032feed5ce5424fbb0990a558b882bccaa6d44
  - Localisation updates from https://translatewiki.net.

    Change-Id: Ibf7a9f1f2d738f5971e374807a27257aa26febd8

2 days agoUpdate git submodules
Translation updater bot [Mon, 18 Jul 2022 05:43:08 +0000 (18 07:43 +0200)]
Update git submodules

* Update extensions/CategoryTree from branch 'REL1_35'
  to 1d1cf0119983a28df6101676062e3af7d528c9d0
  - Localisation updates from https://translatewiki.net.

    Change-Id: Iff01549e21e620073de04f82ec8e28423e75ae64

4 days agordbms: Adapt hasOrMadeRecentPrimaryChanges test mock for PHP 8.1
Mark A. Hershberger [Tue, 5 Jul 2022 23:25:44 +0000 (5 19:25 -0400)]
rdbms: Adapt hasOrMadeRecentPrimaryChanges test mock for PHP 8.1

Use a single callback for both mocks.  This is needed because using
PHP 8.1 results in:

> 1) LBFactoryTest::testChronologyProtector
> Implicit conversion from float 1657063075.187724
> to int loses precision
>
> tests/phpunit/includes/db/LBFactoryTest.php:313
> includes/libs/rdbms/ChronologyProtector.php:290

Bug: T312183
Change-Id: I2764cf9b81b08832c904bf7245bd54ca0f0eddad
(cherry picked from commit ea80f07d2f4f533661fa89d123d5661c83e2cd21)

4 days agofilebackend,jobqueue: Add signature for FilterIterator::accept()
Mark A. Hershberger [Mon, 4 Jul 2022 16:39:30 +0000 (4 12:39 -0400)]
filebackend,jobqueue: Add signature for FilterIterator::accept()

MappedIterator is primarily used by JobQueue.

Bug: T307304
Bug: T289879
Change-Id: Idf8ea28d4b6dc4b9d16cf86d3e5f236ad5ee64ae
(cherry picked from commit d758eb86c2dbaaed7d278d5b0b99647bf0eebd7a)

4 days agosite: Consistently return null from Site::getDomain()
Mark A. Hershberger [Mon, 4 Jul 2022 18:08:09 +0000 (4 14:08 -0400)]
site: Consistently return null from Site::getDomain()

Note that null triggers the following for php 8.1:

    PHP Deprecated:  strrev(): Passing null to parameter #1 ($string) of
    type string is deprecated

Got a few of these in WikiMapTest::testMakeForeignLink(), caused by a
single call in DBSiteStore.

Bug: T289926
Change-Id: I0b29963ec0e2e8a38a66e250e81fbc16e42465ab
(cherry picked from commit c8586c88dc5e9e4c3d9a5594fdcb1d98a7017fe7)

4 days agoHtmlForm: Null coalescence in trim() calls
Reedy [Sat, 16 Jul 2022 01:49:14 +0000 (16 02:49 +0100)]
HtmlForm: Null coalescence in trim() calls

Bug: T312305
Bug: T311572
Bug: T311571
Bug: T311578
Change-Id: I89a135d271c981c011360098ca5e98dc5a47ae37
(cherry picked from commit 32a4629b3d2b61edeaf8a86e83b649d35d3f65f6)

5 days agoEnsure we don't pass null to mb_strlen.
Mark A. Hershberger [Wed, 6 Jul 2022 20:14:20 +0000 (6 16:14 -0400)]
Ensure we don't pass null to mb_strlen.

Seen in RefreshSecondaryDataUpdateTest::testEnqueueOnFailure()

Bug: T289926
Change-Id: I22eb808ab27e702033c4df05ec299554f944590b
(cherry picked from commit 46db606eff9650b9239f9a683529636ca17a0410)

6 days agoHooks: Use more meaningful name for SkinAfterPortlet hook parameter
Jon Robson [Fri, 8 Jul 2022 17:06:26 +0000 (8 10:06 -0700)]
Hooks: Use more meaningful name for SkinAfterPortlet hook parameter

portlet suggests that the variable contains a definition of a portlet
and soon might lead to confusion that it's a Portlet component.

To avoid this confusion let's give this the more meaningful parameter
name "portletName"

Change-Id: I8d2ef3e4b81f6a740b021a8c88bd1ccdc4a9b5bc
(cherry picked from commit 6db6b4d42e3b3e54b0480267bcfd499d135479db)

6 days agoSpecialDiff: Don't pass null to trim()
Alexander Vorwerk [Wed, 13 Jul 2022 21:02:58 +0000 (13 23:02 +0200)]
SpecialDiff: Don't pass null to trim()

Bug: T312301
Change-Id: Idb1233c94c3e9b6c636996834b8a3cef0797aeff
(cherry picked from commit eb9d1762ff75b0b0e9000b86cb91639c400b07c5)

7 days agoEnsure that strlen() does not get passed a (valid) null
Mark A. Hershberger [Wed, 6 Jul 2022 20:45:10 +0000 (6 16:45 -0400)]
Ensure that strlen() does not get passed a (valid) null

Seen in FileBackendGroupIntegrationTest::testGuessMimeInternal().

Bug: T289926
Change-Id: I8bf50d0fc026b2880427d3d75d57e38d4e2989d3
(cherry picked from commit b19a8272953eeb6464350cc3c09284840c787faf)

7 days agoHandle null passed to wfShorthandToInteger() and Html::element()
Mark A. Hershberger [Wed, 6 Jul 2022 19:43:03 +0000 (6 15:43 -0400)]
Handle null passed to wfShorthandToInteger() and Html::element()

null is tested as a parameter in GlobalTest::provideShorthand() and
HtmlTest::testElementBasics(), so handling null must be important.

Bug: T289926
Change-Id: I7421fb618fbce221c638bc6faf208db5e9935545
(cherry picked from commit f6039593ef4c61a11421c7436b044d3134bc20c2)

7 days agoUpdate git submodules
Reedy [Tue, 12 Jul 2022 23:00:30 +0000 (13 00:00 +0100)]
Update git submodules

* Update extensions/Renameuser from branch 'REL1_35'
  to 2af518f446ee3248021390a598c4ca720f92e501
  - SpecialRenameuser: Don't pass null to explode

    Bug: T312303
    Change-Id: Iec6cb8eeba4341ba58387fd155e9764dc87bd57e
    (cherry picked from commit 10d8bc27702a5e658968853b2da29991b98f9003)

9 days agoUpdate git submodules
Translation updater bot [Mon, 11 Jul 2022 05:35:40 +0000 (11 07:35 +0200)]
Update git submodules

* Update skins/Vector from branch 'REL1_35'
  to 2d1b0b924da918a758f6f52320115b43c5e93933
  - Localisation updates from https://translatewiki.net.

    Change-Id: Id43c49f838bc0d98f6c6c064e9511843477db34f

9 days agoUpdate git submodules
Translation updater bot [Mon, 11 Jul 2022 05:34:47 +0000 (11 07:34 +0200)]
Update git submodules

* Update skins/Timeless from branch 'REL1_35'
  to ac572601f8b629622d563ceb2c9c3cf3be455cfb
  - Localisation updates from https://translatewiki.net.

    Change-Id: I4bd664dbf9b2b624f33b3c59e327ccb9b8627d20

9 days agoUpdate git submodules
Translation updater bot [Mon, 11 Jul 2022 05:34:45 +0000 (11 07:34 +0200)]
Update git submodules

* Update skins/MonoBook from branch 'REL1_35'
  to a5c690eef8110c2df27c84e6def9c7f2d7c7bfa5
  - Localisation updates from https://translatewiki.net.

    Change-Id: I5125f32a05ac64c625d0a89e5cd233c275b46171

9 days agoUpdate git submodules
Translation updater bot [Mon, 11 Jul 2022 05:31:47 +0000 (11 07:31 +0200)]
Update git submodules

* Update extensions/VisualEditor from branch 'REL1_35'
  to 20a3e1c426ed8e5ee4c7162af10a1201a154e992
  - Localisation updates from https://translatewiki.net.

    Change-Id: I9507e6c40de34d0ecf57f7615ce84c3883f57342

9 days agoUpdate git submodules
Translation updater bot [Mon, 11 Jul 2022 05:31:35 +0000 (11 07:31 +0200)]
Update git submodules

* Update extensions/WikiEditor from branch 'REL1_35'
  to 85d77189f38f84c3a80c5027c45eea91e3ef6a61
  - Localisation updates from https://translatewiki.net.

    Change-Id: I9507e6c40de34d0ecf57f7615ce84c3883f57342

9 days agoUpdate git submodules
Translation updater bot [Mon, 11 Jul 2022 05:30:55 +0000 (11 07:30 +0200)]
Update git submodules

* Update extensions/TitleBlacklist from branch 'REL1_35'
  to 971469f20838777eabb238f51ba1056e3d320e54
  - Localisation updates from https://translatewiki.net.

    Change-Id: Id59155c75bfc5774133187f2f32c1498de46ba18

9 days agoUpdate git submodules
Translation updater bot [Mon, 11 Jul 2022 05:30:28 +0000 (11 07:30 +0200)]
Update git submodules

* Update extensions/ReplaceText from branch 'REL1_35'
  to 39725cbca22e74a6da9d517a5f9e7a5957b7673a
  - Localisation updates from https://translatewiki.net.

    Change-Id: I0d9727dca8364745f4f1b3e718e3e6d3afaca8aa

9 days agoUpdate git submodules
Translation updater bot [Mon, 11 Jul 2022 05:30:10 +0000 (11 07:30 +0200)]
Update git submodules

* Update extensions/MultimediaViewer from branch 'REL1_35'
  to 3367fddd5254446ebb2a6c367809ade166a0677d
  - Localisation updates from https://translatewiki.net.

    Change-Id: I9e729d1b588d759d7c8359f53cfabc9784ebbe44

9 days agoUpdate git submodules
Translation updater bot [Mon, 11 Jul 2022 05:30:09 +0000 (11 07:30 +0200)]
Update git submodules

* Update extensions/OATHAuth from branch 'REL1_35'
  to b631cd8131afc424991539d7c09d728a5625b69f
  - Localisation updates from https://translatewiki.net.

    Change-Id: Ia7ff24aa84ffb87d411f22ff346c6a9a8b2ce2ce

9 days agoUpdate git submodules
Translation updater bot [Mon, 11 Jul 2022 05:29:11 +0000 (11 07:29 +0200)]
Update git submodules

* Update extensions/InputBox from branch 'REL1_35'
  to 8236af3d42951882da582fd3b08961685ad24e0c
  - Localisation updates from https://translatewiki.net.

    Change-Id: Ie47ef64db4079ece55ae6282af42349d24c27566

9 days agoUpdate git submodules
Translation updater bot [Mon, 11 Jul 2022 05:28:52 +0000 (11 07:28 +0200)]
Update git submodules

* Update extensions/Gadgets from branch 'REL1_35'
  to 4bad5105f0f01f884eda5243196c4c71d6ffaec3
  - Localisation updates from https://translatewiki.net.

    Change-Id: Ide4a7442d06fe9415d807fa3ae136383139d48f1

9 days agoUpdate git submodules
Translation updater bot [Mon, 11 Jul 2022 05:27:29 +0000 (11 07:27 +0200)]
Update git submodules

* Update extensions/ConfirmEdit from branch 'REL1_35'
  to bad131f5da1f279129d783a4d047b5d64e2d7c3c
  - Localisation updates from https://translatewiki.net.

    Change-Id: I8eff0ecd37450435ed4c714e36d5c42e633818b5

9 days agoUpdate git submodules
Translation updater bot [Mon, 11 Jul 2022 05:27:14 +0000 (11 07:27 +0200)]
Update git submodules

* Update extensions/Cite from branch 'REL1_35'
  to 5dd515f16843ddec17801fd8793821b7bb6cffea
  - Localisation updates from https://translatewiki.net.

    Change-Id: I9515bc9031682a0c5eb3f6105dc2c546f8925b3e

9 days agoUpdate git submodules
Translation updater bot [Mon, 11 Jul 2022 05:27:06 +0000 (11 07:27 +0200)]
Update git submodules

* Update extensions/CategoryTree from branch 'REL1_35'
  to c60bfc07c89141076f8e4f37738be51569e9c270
  - Localisation updates from https://translatewiki.net.

    Change-Id: Ic80927ea9e7c968771b26ffecb53ce6125aab05f

10 days agoMerge "parser: Fix CoreParserFunctions::urlencode() null coalescence $arg" into REL1_35
jenkins-bot [Sun, 10 Jul 2022 02:15:27 +0000 (10 02:15 +0000)]
Merge "parser: Fix CoreParserFunctions::urlencode() null coalescence $arg" into REL1_35

10 days agoparser: Fix CoreParserFunctions::urlencode() null coalescence $arg
Reedy [Sun, 10 Jul 2022 00:40:10 +0000 (10 01:40 +0100)]
parser: Fix CoreParserFunctions::urlencode() null coalescence $arg

Bug: T312680
Change-Id: I6fc3a08390f0c6d2d2c4c4dd79df52ab91e6c1f3
(cherry picked from commit 9d61b6de7873568d20be6bbc769f1df39ed5fec8)

10 days agoSpecialDiff: Don't pass null to explode()
Reedy [Wed, 6 Jul 2022 21:42:43 +0000 (6 22:42 +0100)]
SpecialDiff: Don't pass null to explode()

Bug: T312300
Change-Id: Idab65aaacd99fae916578bac7bf48b76f4761009
(cherry picked from commit 8273d91cadcafa15c79e3d2022d8fa96fa30661c)

10 days agoimport: UploadSourceAdapter::stream_read() don't pass null to strlen()
Reedy [Fri, 8 Jul 2022 20:27:53 +0000 (8 21:27 +0100)]
import: UploadSourceAdapter::stream_read() don't pass null to strlen()

Bug: T312678
Change-Id: I4e523352120ede4cc216ae5035b52f4e83913103
(cherry picked from commit 28864869243c9032fda9ed7f972a599d59437fdb)

11 days agoRemoveInvalidEmails: Fix quoting for postgres
Umherirrender [Sat, 9 Jul 2022 21:20:59 +0000 (9 23:20 +0200)]
RemoveInvalidEmails: Fix quoting for postgres

Use addQuotes to quote the empty string instead of hard-coding "",
which not working in postgres

Change-Id: I52b79b5baf92cf50cf6edad227bcfa1abaa88aea
(cherry picked from commit 3f63e3d8f0b877cb988e8a030a2d1aece7e1a9be)

12 days agoSpecialRedirect: Don't pass null to explode
Reedy [Thu, 7 Jul 2022 14:40:31 +0000 (7 15:40 +0100)]
SpecialRedirect: Don't pass null to explode

Bug: T312302
Change-Id: Ia61a24e0dc431bc6d331bf695c65e7e0c0ecd7d8
(cherry picked from commit 48888e78b9c9b0043fa816320fd38926f393e297)

12 days agopopulateInterwiki: Include not null columns iw_api/iw_wikiid
Umherirrender [Thu, 7 Jul 2022 20:38:28 +0000 (7 22:38 +0200)]
populateInterwiki: Include not null columns iw_api/iw_wikiid

The columns are not null and without a default value,
that makes them required on insert

Bug: T287564
Change-Id: I8bca2cbeea5ed8a7caf80f0eea15013eb5ae70dd
(cherry picked from commit 7a70c8a7a295370eac0ee729e26a80c66e65d04f)

12 days agoParser::extensionSubstitution() Don't run substr() on null
Reedy [Thu, 7 Jul 2022 10:27:14 +0000 (7 11:27 +0100)]
Parser::extensionSubstitution() Don't run substr() on null

extensionSubstitution returns a string, not null,
so if $params['attr'] is not set, default to using
an empty string (''), not null.

Bug: T312519
Bug: T312520
Change-Id: I566d95a32cffe1ef20f18ae9d9af96d57e0823a9
(cherry picked from commit 5d2feb1da1c4e379c6377049c043ea4ad9b33a2b)

12 days agoUpdate git submodules
libraryupgrader [Fri, 8 Jul 2022 00:02:33 +0000 (8 00:02 +0000)]
Update git submodules

* Update extensions/Cite from branch 'REL1_35'
  to b3873215a1ff4bdb2cfc0c383fef6c451ca6ef1a
  - build: Updating got to 11.8.5

    * https://github.com/advisories/GHSA-pfrx-2q88-qq97

    Change-Id: Ib0f50f368e4dd4c06027744e2542cc97ecee6a25

2 weeks agoMerge "Localisation updates from https://translatewiki.net." into REL1_35
Abijeet Patro [Mon, 4 Jul 2022 12:41:37 +0000 (4 12:41 +0000)]
Merge "Localisation updates from https://translatewiki.net." into REL1_35

2 weeks agoUpdate git submodules
Translation updater bot [Mon, 4 Jul 2022 05:38:57 +0000 (4 07:38 +0200)]
Update git submodules

* Update skins/Vector from branch 'REL1_35'
  to 7b121f0027f2d3d7e6f941543b01dfa50d985027
  - Localisation updates from https://translatewiki.net.

    Change-Id: I10538aa5eaa9303d1c0c7836f9d5bbe72b308a9a

2 weeks agoUpdate git submodules
Translation updater bot [Mon, 4 Jul 2022 05:36:55 +0000 (4 07:36 +0200)]
Update git submodules

* Update extensions/WikiEditor from branch 'REL1_35'
  to bfafe5a32e6b46e960a6eb8e6f240b9189b8a347
  - Localisation updates from https://translatewiki.net.

    Change-Id: Ie29d92edb5e9943bcde3c47e278ce066d75c364e

2 weeks agoUpdate git submodules
Translation updater bot [Mon, 4 Jul 2022 05:36:49 +0000 (4 07:36 +0200)]
Update git submodules

* Update extensions/VisualEditor from branch 'REL1_35'
  to e783e16c903a7fc156cbcd552f2f5be178c0ba3c
  - Localisation updates from https://translatewiki.net.

    Change-Id: I94165260865790884504989c70e132b05387ec9a

2 weeks agoUpdate git submodules
Translation updater bot [Mon, 4 Jul 2022 05:35:51 +0000 (4 07:35 +0200)]
Update git submodules

* Update extensions/TitleBlacklist from branch 'REL1_35'
  to 5418b0b74de1f44ab66abc2456632b6eecb186f5
  - Localisation updates from https://translatewiki.net.

    Change-Id: Iecb13955e99a8411b9a71c21d1bc35152c7dff0e

2 weeks agoUpdate git submodules
Translation updater bot [Mon, 4 Jul 2022 05:35:00 +0000 (4 07:35 +0200)]
Update git submodules

* Update extensions/Scribunto from branch 'REL1_35'
  to cc20d47d3a10e68ab3e051a66d5c1bd3d0e11b1e
  - Localisation updates from https://translatewiki.net.

    Change-Id: If6ba631e6e13e516d7a20a043bf43d75c4913bdb

2 weeks agoUpdate git submodules
Translation updater bot [Mon, 4 Jul 2022 05:34:57 +0000 (4 07:34 +0200)]
Update git submodules

* Update extensions/ReplaceText from branch 'REL1_35'
  to 31212addcbe25c5812ad0483b5c25ab7911d4b1e
  - Localisation updates from https://translatewiki.net.

    Change-Id: Ie54dd6b75a2497714d306bd69df2f00040c96ceb

2 weeks agoUpdate git submodules
Translation updater bot [Mon, 4 Jul 2022 05:34:05 +0000 (4 07:34 +0200)]
Update git submodules

* Update extensions/Poem from branch 'REL1_35'
  to e4765a150c91b95aef6e359b665c08cb6a09d185
  - Localisation updates from https://translatewiki.net.

    Change-Id: Ie434f853f0fe8445817ba2bbbc973b162c91f348

2 weeks agoUpdate git submodules
Translation updater bot [Mon, 4 Jul 2022 05:33:57 +0000 (4 07:33 +0200)]
Update git submodules

* Update extensions/PdfHandler from branch 'REL1_35'
  to 2243ddb6e587fd7368456a22dfba12d6ef158589
  - Localisation updates from https://translatewiki.net.

    Change-Id: I99ae486a3ff60ce4d8effbca6f9a0fbb1e443a3d

2 weeks agoUpdate git submodules
Translation updater bot [Mon, 4 Jul 2022 05:33:21 +0000 (4 07:33 +0200)]
Update git submodules

* Update extensions/Nuke from branch 'REL1_35'
  to 8e0bc6d9dab222cecc723dafef564c337ac3c775
  - Localisation updates from https://translatewiki.net.

    Change-Id: I866d78b9deb8d35a355637c0d4d9923ec28fe11f

2 weeks agoUpdate git submodules
Translation updater bot [Mon, 4 Jul 2022 05:32:50 +0000 (4 07:32 +0200)]
Update git submodules

* Update extensions/MultimediaViewer from branch 'REL1_35'
  to 3fe83f4469afccd8df377b2f96ec8cd4c03694be
  - Localisation updates from https://translatewiki.net.

    Change-Id: Ib4cb9dd8c08143ad5c572cb8e3b48457dda5d59f

2 weeks agoUpdate git submodules
Translation updater bot [Mon, 4 Jul 2022 05:31:26 +0000 (4 07:31 +0200)]
Update git submodules

* Update extensions/ImageMap from branch 'REL1_35'
  to d85db66c10d36a473730460898636b3f3327dd4f
  - Localisation updates from https://translatewiki.net.

    Change-Id: Ia644787ff5fc5c7d40e11ab3c312438609fed89b

2 weeks agoUpdate git submodules
Translation updater bot [Mon, 4 Jul 2022 05:28:11 +0000 (4 07:28 +0200)]
Update git submodules

* Update extensions/ConfirmEdit from branch 'REL1_35'
  to 2e6a7bc7324c317ab2243d7a0414f6f2a913f367
  - Localisation updates from https://translatewiki.net.

    Change-Id: I31e444481e408c9258afe5522e9d16752c7609b7

2 weeks agoUpdate git submodules
Translation updater bot [Mon, 4 Jul 2022 05:27:54 +0000 (4 07:27 +0200)]
Update git submodules

* Update extensions/Cite from branch 'REL1_35'
  to cfdc8fec163aa9224a3a5c77ba3f9d5bddfa35f5
  - Localisation updates from https://translatewiki.net.

    Change-Id: I59b194884f732e2c791f4b8c6fc0a5ae7d45f138

2 weeks agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 4 Jul 2022 04:34:26 +0000 (4 06:34 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: If137e232347708beb3a34ef4a9f83b17ba622f43

2 weeks agoSpecialLinkSearch: Don't pass null through to the parser
Reedy [Sat, 2 Jul 2022 18:29:09 +0000 (2 19:29 +0100)]
SpecialLinkSearch: Don't pass null through to the parser

Bug: T311574
Bug: T311576
Change-Id: Ic766a1387c1a327b63b12c4bd587992fb8597e36
(cherry picked from commit 0e3018e49f278f3f9d732e9c929b49eaf8955c69)

2 weeks agoSpecialWithoutInterwiki: Don't pass null through to Title::capitalize()
Reedy [Sat, 2 Jul 2022 18:23:26 +0000 (2 19:23 +0100)]
SpecialWithoutInterwiki: Don't pass null through to Title::capitalize()

Bug: T311570
Change-Id: I160426192354c0e94f14081ffe03e94c1fc9513c
(cherry picked from commit 237091d3e5c50c3f06de6d025f01add3429ecd31)

2 weeks agoSpecialUserrights: Don't pass null to str_replace
Reedy [Sat, 2 Jul 2022 16:00:56 +0000 (2 17:00 +0100)]
SpecialUserrights: Don't pass null to str_replace

Bug: T311921
Change-Id: Ia986dc7d57a14b38b9fe91f4aceea32000e92da8
(cherry picked from commit b30b8c1f6c81fead90a591a9a990439b43230a31)

2 weeks agoSpecialBlockList: Prevent passing null to trim()
Reedy [Sat, 2 Jul 2022 15:55:26 +0000 (2 16:55 +0100)]
SpecialBlockList: Prevent passing null to trim()

Bug: T311920
Change-Id: I0c101cdaa3a7b83d0fdc31bf03376df4c88a99d7
(cherry picked from commit 2870b279bde889b80e6944507e113c660a0083dd)

2 weeks agoImageListPager: Don't call htmlspecialchars() on null
Reedy [Sat, 2 Jul 2022 14:58:45 +0000 (2 15:58 +0100)]
ImageListPager: Don't call htmlspecialchars() on null

It's possible img_actor is still null

Bug: T311561
Change-Id: Id94941c268d15898a2002e1a3f7bf2552a83fd39
(cherry picked from commit 6c16fb6e3350ebbbe01f7b7f70e49729d88ff07b)

2 weeks agoSpecialListFiles: user parameter isn't always present
Reedy [Sat, 2 Jul 2022 15:02:21 +0000 (2 16:02 +0100)]
SpecialListFiles: user parameter isn't always present

Default to '' instead of null

Bug: T311559
Change-Id: Ie0decd98baff9b123eff94fef83c1aa15b34bfdd
(cherry picked from commit 7a9aed620f9645ad86694ee6d26dcd6a6ce3e050)

2 weeks agoUpdate git submodules
Reedy [Sat, 2 Jul 2022 15:15:42 +0000 (2 16:15 +0100)]
Update git submodules

* Update extensions/OATHAuth from branch 'REL1_35'
  to d02bfede8625b676d25717cf8ee69a055ade58fa
  - TOTPKey: Apply array return type to jsonSerialize()

    Bug: T311673
    Change-Id: Ibeeda6e873d1b025a7c43b2f43cf547f981a1692
    (cherry picked from commit 4f82fe9bc830b4e601c6d0995119cd59944745d6)

2 weeks agoUploadBase::setTempFile() handle $tempPath being passed as null
Reedy [Wed, 29 Jun 2022 00:20:25 +0000 (29 01:20 +0100)]
UploadBase::setTempFile() handle $tempPath being passed as null

Bug: T311568
Change-Id: I141ab34fd9fc1a45ed60def2d22e18fda6200925
(cherry picked from commit 62ccf77c0757bde013bbc609e127a28e5d738e1e)

2 weeks agoStart 1.35.8
Reedy [Wed, 29 Jun 2022 20:14:37 +0000 (29 21:14 +0100)]
Start 1.35.8

Change-Id: I925a1e51c6282d184e7dded251049f95eaf88a21

2 weeks agoPrep 1.35.71.35.7
Reedy [Wed, 29 Jun 2022 20:13:41 +0000 (29 21:13 +0100)]
Prep 1.35.7

Change-Id: Ic7c6eecc87583adf72cd6b2ee37eb4374ef7c6ae

2 weeks agoHandle null in ChangeTags::modifyDisplayQuery
Matěj Suchánek [Fri, 4 Mar 2022 10:12:14 +0000 (4 11:12 +0100)]
Handle null in ChangeTags::modifyDisplayQuery

Some callers (notably HistoryPager) would also provide null
prior to 79577c79. This caused page history to disappear.
Cover all these special inputs with a regression test.

Bug: T303033
Change-Id: I29e885107fc4a5b090226d8161ce823157268bf0
(cherry picked from commit aa22212ad82a1f9d08221b294d4af66fcba4fd27)

2 weeks agoChangeTags: Return early in formatSummaryRow() if $tags === null
Reedy [Thu, 30 Jun 2022 00:12:48 +0000 (30 01:12 +0100)]
ChangeTags: Return early in formatSummaryRow() if $tags === null

Bug: T311554
Change-Id: I7efc42f9738b7e3896fb1df9211071f0c075ccb4
(cherry picked from commit dcaa74ecc0af25082ebb86aed418d01743a4f51e)

2 weeks agochangetags: Fix management of a '0' tag
Matěj Suchánek [Sat, 4 Dec 2021 10:45:06 +0000 (4 11:45 +0100)]
changetags: Fix management of a '0' tag

The tag wouldn't be treated as active, wouldn't be displayed
in changes lists and it wouldn't be possible to filter it,
although it was possible to create it.

The changes in ::modifyDisplayQuery are needed, because
ContribsPager may provide false.

Add a regression test for ::formatSummaryRow.

Bug: T296642
Change-Id: Iddb1e978387a0009425f6fad1821d9d15c0f5f23
(cherry picked from commit 79577c79ff7dc6827445a54dbe10d707f61335c6)

2 weeks agoChangeTags: Fix adding CSS classes for hidden tags
Bartosz Dziewoński [Fri, 17 Dec 2021 14:45:29 +0000 (17 15:45 +0100)]
ChangeTags: Fix adding CSS classes for hidden tags

Follow-up to eec9b5b8f0b90947f2a89b73e1666a191387a1d0.

Adding classes for hidden tags worked when the row had other
non-hidden tags as well, but not when all of its tags were hidden.

Bug: T281741
Change-Id: I650a11f4a6f900514e080789b0dca786d181881f
(cherry picked from commit 96be2ce79660e71d5d6e51b1725454b2dc4cdc62)

2 weeks agoSpecialEditWatchlist: Prevent passing null to strtolower()
Reedy [Thu, 30 Jun 2022 00:25:44 +0000 (30 01:25 +0100)]
SpecialEditWatchlist: Prevent passing null to strtolower()

Bug: T311678
Change-Id: Iee6a4c250f731e92e528fe35a55b978bf828c3c6
(cherry picked from commit 7a4d38a8dc666e84d9ad7f1ae0155e1a6d8ad14d)

3 weeks agoUpdate RELEASE-NOTES-1.35
Reedy [Wed, 29 Jun 2022 19:31:40 +0000 (29 19:31 +0000)]
Update RELEASE-NOTES-1.35

Change-Id: If31e58954c29189246557220b34b5fe278df6c9c

3 weeks agoPass int to ApiUsageException::newWithMessage()'s $httpCode param
Mark A. Hershberger [Tue, 28 Jun 2022 18:35:49 +0000 (28 14:35 -0400)]
Pass int to ApiUsageException::newWithMessage()'s $httpCode param

Bug: T311544
Change-Id: I4fd4557dbac889175eef4582fa57f6f2274f3a69
(cherry picked from commit 601048c5592178f34d1099ac1888c3a6d9e986ac)

3 weeks agoFileBackend::isStoragePath() Handle being passed null
Reedy [Wed, 29 Jun 2022 00:25:29 +0000 (29 01:25 +0100)]
FileBackend::isStoragePath() Handle being passed null

Bug: T311569
Change-Id: Iece1f1d6cc0671f6fa44e1c996b747406b6f6038

3 weeks agoUpdate git submodules
Reedy [Wed, 29 Jun 2022 08:35:42 +0000 (29 09:35 +0100)]
Update git submodules

* Update extensions/Gadgets from branch 'REL1_35'
  to 9497edd229117613d3fc96681fa44682774d1fee
  - SpecialGadgets: Don't call explode() on null

    Bug: T311557
    Change-Id: I05455a309bee4a4f59dc5351484dfffc682a329a
    (cherry picked from commit 67b8bf23d0c592667fcd3b11c244697a41acd04c)

3 weeks agoChangesListSpecialPage: Don't pass null to FormatJson::decode()
Reedy [Tue, 28 Jun 2022 21:42:52 +0000 (28 22:42 +0100)]
ChangesListSpecialPage: Don't pass null to FormatJson::decode()

Getting a user option can return null

Bug: T311552
Change-Id: I4b34d474b5309fd04ef76b82de221fd27deb5159
(cherry picked from commit b303c789dbd31d160e05e9bf5de84c12d25c5ade)

3 weeks agoUpdate git submodules
Reedy [Tue, 28 Jun 2022 21:48:45 +0000 (28 22:48 +0100)]
Update git submodules

* Update extensions/Gadgets from branch 'REL1_35'
  to 5c8d27f06c3cca7cf23217c1d4a171315c8b1ef6
  - MediaWikiGadgetsDefinitionRepo::loadGadgets(): Cast ttl to int

    Bug: T311367
    Change-Id: I4ca0d075bad91903f24906c34d1fbac915fde735
    (cherry picked from commit 6e30b500632a92cb227072d16a7a105fcfff7604)

3 weeks agoAvoid passing null to strcasecmp(), for PHP 8.1
Sam Wilson [Sat, 11 Jun 2022 09:35:37 +0000 (11 17:35 +0800)]
Avoid passing null to strcasecmp(), for PHP 8.1

Bug: T307282
Change-Id: I523928b3f5e0e02e23c45e7023d9d2701d986e5c
(cherry picked from commit 2a917876614fedc6d5673b4d0ca06d832512871a)

3 weeks agoAvoid passing null to trim() in SkinTemplate
Sam Wilson [Mon, 13 Jun 2022 01:52:31 +0000 (13 09:52 +0800)]
Avoid passing null to trim() in SkinTemplate

PHP 8.1 deprecates passing null to trim().

Bug: T289926
Change-Id: I74dde2b45a02e3c391fc2251597346be4adb5c60
(cherry picked from commit 052077462c2a42d524a945d139be799bfe89e73f)

3 weeks agoMerge "Update "guzzlehttp/guzzle" to version 6.5.8" into REL1_35
Reedy [Mon, 27 Jun 2022 11:40:53 +0000 (27 11:40 +0000)]
Merge "Update "guzzlehttp/guzzle" to version 6.5.8" into REL1_35

3 weeks agoUpdate git submodules
Reedy [Mon, 27 Jun 2022 09:15:29 +0000 (27 10:15 +0100)]
Update git submodules

* Update vendor from branch 'REL1_35'
  to ef77188448b334b0852a6f60c2c95e1f9abcfbca
  - Update guzzlehttp/*

      - Upgrading guzzlehttp/guzzle (6.5.6 => 6.5.8)
      - Upgrading guzzlehttp/psr7 (1.8.5 => 1.9.0)

    Bug: T311384
    Change-Id: If511b71eabc4c204ff72d2e9b0024c8aab180ad0

3 weeks agoUpdate "guzzlehttp/guzzle" to version 6.5.8
rvogel [Mon, 27 Jun 2022 08:32:40 +0000 (27 10:32 +0200)]
Update "guzzlehttp/guzzle" to version 6.5.8

Only required on `REL1_35`.

Bug: T311384
Depends-On: If511b71eabc4c204ff72d2e9b0024c8aab180ad0
Change-Id: I77b324c9977143745812a44be77ee2523b2724d1

3 weeks agoMerge "Localisation updates from https://translatewiki.net." into REL1_35
Abijeet Patro [Mon, 27 Jun 2022 06:23:24 +0000 (27 06:23 +0000)]
Merge "Localisation updates from https://translatewiki.net." into REL1_35

3 weeks agoUpdate git submodules
Translation updater bot [Mon, 27 Jun 2022 05:37:46 +0000 (27 07:37 +0200)]
Update git submodules

* Update skins/Vector from branch 'REL1_35'
  to 14bcb6a58c52043d9989a8fd8c2f84bdbf7140ad
  - Localisation updates from https://translatewiki.net.

    Change-Id: Ia3cf3610e87a185ac4c09a2899ce06d79a6d4b55

3 weeks agoUpdate git submodules
Translation updater bot [Mon, 27 Jun 2022 05:37:27 +0000 (27 07:37 +0200)]
Update git submodules

* Update skins/Timeless from branch 'REL1_35'
  to aa455cc9c31c58a67b0d9c89d0119cd06dbb94b0
  - Localisation updates from https://translatewiki.net.

    Change-Id: Ia4b135decb6caaff9d47076ad7bfaf43490f837b

3 weeks agoUpdate git submodules
Translation updater bot [Mon, 27 Jun 2022 05:37:22 +0000 (27 07:37 +0200)]
Update git submodules

* Update skins/MonoBook from branch 'REL1_35'
  to 1600943216e685093f37239cca645c3068d9800a
  - Localisation updates from https://translatewiki.net.

    Change-Id: Ie42ba8cbd58634a8744365e292b2ae4b759fb3dc

3 weeks agoUpdate git submodules
Translation updater bot [Mon, 27 Jun 2022 05:35:16 +0000 (27 07:35 +0200)]
Update git submodules

* Update extensions/WikiEditor from branch 'REL1_35'
  to 419e8ee90257bf03b6718f54ca8fc722acbb833e
  - Localisation updates from https://translatewiki.net.

    Change-Id: I3853c7c886e7e8951580b6a20aab948f99022000

3 weeks agoUpdate git submodules
Translation updater bot [Mon, 27 Jun 2022 05:35:12 +0000 (27 07:35 +0200)]
Update git submodules

* Update extensions/VisualEditor from branch 'REL1_35'
  to e18088f83c779fd9d1a8c2f9ccc31fa407943242
  - Localisation updates from https://translatewiki.net.

    Change-Id: I4061fbd2490ed571e0f6f921250805a86ddeb4be

3 weeks agoUpdate git submodules
Translation updater bot [Mon, 27 Jun 2022 05:33:38 +0000 (27 07:33 +0200)]
Update git submodules

* Update extensions/SyntaxHighlight_GeSHi from branch 'REL1_35'
  to d12d67f43b828fe9ed2e34cdf00306b54f57329e
  - Localisation updates from https://translatewiki.net.

    Change-Id: I5a03b8d27e23585efd5f9769b793109c74a51dfb

3 weeks agoUpdate git submodules
Translation updater bot [Mon, 27 Jun 2022 05:33:37 +0000 (27 07:33 +0200)]
Update git submodules

* Update extensions/TemplateData from branch 'REL1_35'
  to a39957fe98aaf8c0c9c511bd051bf595dc3255f7
  - Localisation updates from https://translatewiki.net.

    Change-Id: I5a03b8d27e23585efd5f9769b793109c74a51dfb