Commit graph

128343 commits

Author SHA1 Message Date
Translation updater bot
ba28916ff6 Update git submodules
* Update extensions/PdfHandler from branch 'REL1_43'
  to 895c866eedf38502faa5a84c594cdcadc8a7ee67
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: If7381a49b468c39e28e87fb5cce6def8a9dd6de4
2025-03-04 06:18:06 +00:00
Translation updater bot
fba32bb5f6 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to d9d37df2ab0030ec69a8cf971d3f5f1cbc6bc5f4
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ib047e4eb95b65b0aaf98e3143a17f0e5c5c0288e
2025-03-04 06:18:04 +00:00
Translation updater bot
72e4530c3e Update git submodules
* Update extensions/Nuke from branch 'REL1_43'
  to 5ac89e3bbb833b9a48961cca360dce779a669809
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ibe07b5db246278221c91b54a97c630ae9d068cc3
2025-03-04 06:18:02 +00:00
Translation updater bot
2dfada03b6 Update git submodules
* Update extensions/LoginNotify from branch 'REL1_43'
  to 16551ac4152194f3b32dcb09a5faa502b59a9638
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ibeecd7f93081ca37d6f190293d6bc7f8c9f13cfe
2025-03-04 06:18:00 +00:00
Translation updater bot
1908ff5e97 Update git submodules
* Update extensions/InputBox from branch 'REL1_43'
  to 83e0cabd921438b4b44ec60880d8b43529dd367c
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I726e99ace678edc639065d026f55090412d1640f
2025-03-04 06:17:58 +00:00
Translation updater bot
183153bd4f Update git submodules
* Update extensions/Echo from branch 'REL1_43'
  to 8f50fe5d0b7baedb7874e37b9a3eab1f0d2b7c41
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Idf3e6625e4ad4a2857b878547abef60164148488
2025-03-04 06:17:47 +00:00
Translation updater bot
896c864d52 Update git submodules
* Update extensions/DiscussionTools from branch 'REL1_43'
  to 0bc0dcb9cc58b94541daf61518ca3644c1107380
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Id60ef85654be93c9c945d04dc1cd748b15733b96
2025-03-04 06:17:46 +00:00
Translation updater bot
b6081a84f8 Update git submodules
* Update extensions/Cite from branch 'REL1_43'
  to 1823aa86b7b27535e324ad43a20c7d6cfbdcd2ec
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: If73684f5d5bd13b7f621eff6a45e2e71bd446496
2025-03-04 06:17:28 +00:00
Translation updater bot
77a5955e01 Update git submodules
* Update extensions/ConfirmEdit from branch 'REL1_43'
  to 2aff2694081da1912c94ddb29854dab8ade1170c
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I618999015fd4dfe68c7260671b933f171b78d4e5
2025-03-04 06:17:25 +00:00
Translation updater bot
d3720751bb Update git submodules
* Update extensions/CiteThisPage from branch 'REL1_43'
  to 2c0afac58e5d1e3698906f3d7f34e7659ef74e85
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ie8beacba0d481440fa18b2237d262f16513e47d8
2025-03-04 06:17:23 +00:00
Translation updater bot
c80840fe05 Update git submodules
* Update extensions/AbuseFilter from branch 'REL1_43'
  to d726916a3f91e29ce5ca27873f2d78392d141eba
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I5c172326b2c8c0e7f1a68d4aa9f840eeb20d1333
2025-03-04 06:16:56 +00:00
Translation updater bot
369b31f5ea
Localisation updates from https://translatewiki.net.
Change-Id: I8efdea63dce69f70911877f8c402daa05247f012
2025-03-04 06:34:04 +01:00
Bryan Davis
be3c297852 initEditCount: Join from user to actor to revision
Correct the join conditions used to find the current edit count for
a batch of users. Follows up b98f33c where the incorrect join order and
conditions were introduced as part of migration to QueryBuilder syntax.

Change-Id: I1841bb074b0f2be31e60a3cce3d62eb1b5999ad0
(cherry picked from commit 834891e01afa19cc1ecd973c04a453a9abb2d484)
2025-03-03 15:32:50 +00:00
jenkins-bot
10aee37b9e Merge "ExternalLinks: fix mailto: links reversal" into REL1_43 2025-03-03 08:30:03 +00:00
daniel
d0bbe78b23 RateLimiter: Fix peek mode
Why:
- Setting the increment to 0 should check the limit without bumping it.
- This was apparently broken by If3e66491306f22650.

What:
- Use LimitBatch::peek if the increment amount is 0

Bug: T381033
Change-Id: Ife76a1976a2063f051f00302e5adaebd701e6367
(cherry picked from commit e09606b3dc44711571cc6cf2d0d11bd7784d0cdd)
2025-03-01 15:51:16 +00:00
Ammarpad
c373e0ba40 ExternalLinks: fix mailto: links reversal
If $mailparts does not contain two elements (which would be the case when the separator `@` is not present in the string), then we cannot
access $mailparts[1].

In this case, the entire path as is, is treated as the host.

Bug: T380880
Change-Id: I10187c93e67ce9294ff0b3866939d2c7d7292a9a
(cherry picked from commit c2db58c55bef207dd37ac5fe0b07aa28ee4bd2d5)
2025-02-28 16:33:54 +00:00
Derk-Jan Hartman
05cce96a77 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to 924a39adec68ae3af6b8c536723648ca5527fd39
  - Fix translations for recovery code notifications
    
    The notification body was listed with the incorrect key name.
    The notification header was missing completely.
    
    This is a follow up to Ic4294dc4ca8eb238998af3ec6b69a771f1b17c17
    
    Bug: T383265
    Change-Id: I14599a4a1bd4bd452727aa9f81566af4d3ad7cfa
    (cherry picked from commit e77fd953ff89b86dbefa22734386b6af59fcd077)
2025-02-27 00:50:45 +00:00
Translation updater bot
3202e817d1 Update git submodules
* Update skins/Timeless from branch 'REL1_43'
  to 2a795e3d690fb97fa1ff3fa8522b63d9f55b6a5b
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I822e12e36ac6f9be5b87d8e4217416e8c10939ed
2025-02-25 06:31:14 +00:00
Translation updater bot
1ac231f08f Update git submodules
* Update skins/Vector from branch 'REL1_43'
  to 210e513841da380e13bb539e55a70095d4163dad
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I3a8b78eb7207b6ac1b0129ac40bdba98f35d6358
2025-02-25 06:31:12 +00:00
Translation updater bot
034d93694a Update git submodules
* Update skins/MonoBook from branch 'REL1_43'
  to 4f2266626b36bb7556e54b87814b0016bd1adf2b
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I6914a39c229e3375a4174c51f02641e464dec1dc
2025-02-25 06:31:11 +00:00
Translation updater bot
5757defe95 Update git submodules
* Update skins/MinervaNeue from branch 'REL1_43'
  to a764a4b30bbd486142d829dfa242daf8806c71ad
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I142d58fb65784930ee5ab88baf10816e88fc93ea
2025-02-25 06:31:05 +00:00
Translation updater bot
307d3ca88d Update git submodules
* Update extensions/VisualEditor from branch 'REL1_43'
  to 15b1e270dacb67b81938d726b0334ab9cace9800
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I6ad7345e1d696379e461aea5dfae290e62cbf9b3
2025-02-25 06:29:01 +00:00
Translation updater bot
76302f46e7 Update git submodules
* Update extensions/WikiEditor from branch 'REL1_43'
  to efed4932d7ad484af6798d1704f84eff2933b1a2
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: If8d2745d3377f16b0c20da0cb5cf441b55a80a3c
2025-02-25 06:28:52 +00:00
Translation updater bot
ae5e36b2bc Update git submodules
* Update extensions/Thanks from branch 'REL1_43'
  to a619821e2d530c9c10666b3842e44dd3d61c61fb
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I56462343a87aa151ac348cbdd429021174b235eb
2025-02-25 06:28:31 +00:00
Translation updater bot
3a8b1836d3 Update git submodules
* Update extensions/SyntaxHighlight_GeSHi from branch 'REL1_43'
  to bfa8838ff6d84ffb79be1e97f5faefc740c43c32
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I40455de57cff4f1bb13ef5570ee9ff91e9276839
2025-02-25 06:28:24 +00:00
Translation updater bot
c61db2a760 Update git submodules
* Update extensions/TemplateData from branch 'REL1_43'
  to a5e5dab30404b841afef018fed5edfb54db002f6
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I861034dc841948c377afa069db0d491bdf7932f3
2025-02-25 06:28:23 +00:00
Translation updater bot
ba00059a4b Update git submodules
* Update extensions/SpamBlacklist from branch 'REL1_43'
  to 46795dda66216ab8e7805564ac6f8e09900068a4
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I59b09517c7373b7f7b97119d06145834c8398181
2025-02-25 06:28:18 +00:00
Translation updater bot
2fd9a6969a Update git submodules
* Update extensions/ReplaceText from branch 'REL1_43'
  to 33406c20233af3e2ce4d0205364839dbad954546
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ib2b91934dd1d32be3d86cbbaf17ebab5ddabea5b
2025-02-25 06:28:06 +00:00
Translation updater bot
f58343f1cf Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to 21da913c2beb14da4440266ef6e57640a6287f03
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I477e79d954873b96afeff05339b3ed59e47b397a
2025-02-25 06:27:43 +00:00
Translation updater bot
be2afdeb07 Update git submodules
* Update extensions/Nuke from branch 'REL1_43'
  to db624a8db77c93e4f7fb5a3e9d984246806d2c51
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I7d27cfe52c0b51ed7d876b750412109e490feb82
2025-02-25 06:27:42 +00:00
Translation updater bot
1e9da46d30 Update git submodules
* Update extensions/MultimediaViewer from branch 'REL1_43'
  to cb7554f5dafa8f379020f30bd9232a5f8599a1de
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ib06c73a9e9958b4bf7c77e5127112b9c908679b9
2025-02-25 06:27:42 +00:00
Translation updater bot
2807ba993a Update git submodules
* Update extensions/Math from branch 'REL1_43'
  to 878c2adacf41f08a22e893f353f707e3e320fa2e
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ic11e47dbdcbc555f5abf193259831e1b5c0826d7
2025-02-25 06:27:36 +00:00
Translation updater bot
23cf0742f4 Update git submodules
* Update extensions/Linter from branch 'REL1_43'
  to 1520a069b47c6effa51904b32542ff2389e8c3f8
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I024fcc55007864c202b775f07965a4963df1fc41
2025-02-25 06:27:32 +00:00
Translation updater bot
79df168a1b Update git submodules
* Update extensions/InputBox from branch 'REL1_43'
  to 9903156d6d8fce26cb9e0f1fd016cd25b40e5356
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I10b3794530bda189aafb2f1d4de4b929649e7571
2025-02-25 06:27:31 +00:00
Translation updater bot
939a8f000c Update git submodules
* Update extensions/Gadgets from branch 'REL1_43'
  to b19d615db45f63cf1a1cbd83cb33b69144edb7e2
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ibe55567e070ee4a3b35a71543912fbb7c4397f56
2025-02-25 06:27:13 +00:00
Translation updater bot
b7ec66bdee Update git submodules
* Update extensions/Echo from branch 'REL1_43'
  to 1f01255482616f9fc481f6e821a3afb5e342b37a
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I337776bfbca0f9fdd0799df4e4f918baa08a8731
2025-02-25 06:27:02 +00:00
Translation updater bot
09284a352c Update git submodules
* Update extensions/DiscussionTools from branch 'REL1_43'
  to 4d28bbdd810b6e3cc0f29cd40dfbc066c65372ec
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ie7abfce6b63c97dfdebf05758a05d3db28806afa
2025-02-25 06:26:58 +00:00
Translation updater bot
4b3096bb88 Update git submodules
* Update extensions/ConfirmEdit from branch 'REL1_43'
  to 5f39b1179e2eb318d46ee0e3d8beb5e9c11a3f03
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I660a0b5c67977a5dfa917683607698cf3f43bbe1
2025-02-25 06:26:48 +00:00
Translation updater bot
602e0b61fc Update git submodules
* Update extensions/Cite from branch 'REL1_43'
  to bb63f3e881c0a399cadb1c42998f1c73ee3e31dc
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I87af050a06dff747f938ab9b9e7d389cf701159b
2025-02-25 06:26:37 +00:00
Translation updater bot
45897cfb76 Update git submodules
* Update extensions/CategoryTree from branch 'REL1_43'
  to 7a4d4216c845227cbe388bdec0f28ef6fa81e4fb
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I4f2479c11e33dcc72a6c45c66ed03a8ffc1e9fb9
2025-02-25 06:26:31 +00:00
Translation updater bot
dd76bb72d3 Update git submodules
* Update extensions/AbuseFilter from branch 'REL1_43'
  to 7523fb8997d07d7a80989e0299e8d304ec4971b6
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I0eeb3ccd51d34bdcd0529afb6133e45647084ba5
2025-02-25 06:26:13 +00:00
Translation updater bot
3f040e33bd
Localisation updates from https://translatewiki.net.
Change-Id: If360ec9295a3fd250b27dec146e81f205e0c6e54
2025-02-25 06:32:49 +01:00
jenkins-bot
1ed2ccd790 Merge "Add explanation text for "Allow emails from brand-new users"" into REL1_43 2025-02-21 22:50:25 +00:00
Nemoralis
4d4359f8ef Add explanation text for "Allow emails from brand-new users"
It is not clear who the "brand-new users" are in this case so help-message is required here.

Bug: T381205
Change-Id: Idfc1b7e4b5b1686f0edf69b32e0d4152b30e54ae
(cherry picked from commit 141be6c7f7a3be92d702db1e26ba7d0493aa8a0f)
2025-02-21 22:34:44 +00:00
Bartosz Dziewoński
3f2281da04 phpunit: Fix bootstrap script when no extensions are installed
Change-Id: I9de2c7711fc41f83a0b9e6783fcf085cedb2a9c9
(cherry picked from commit 2544c2cd31fefece71adc0ec03112614e41bd9ec)
2025-02-21 22:24:30 +00:00
Reedy
1364192bb9 FeedItem: Update @since on xmlEncodeNullable for backports
Bug: T385332
Change-Id: I88f82fb5a703126f0ce586030d7ba7666fbb5a18
Follows-Up: Iafd89c0d61baecd7c68f62b2a0764cc78cf25069
(cherry picked from commit 30f076a54660304590c266b7edee949ccc35c237)
2025-02-21 03:53:56 +00:00
Umherirrender
87238af0a0 Revert "maintenance: Use DatabaseSqlite for type-hinting instead of DBConnRef"
This reverts commit 4563e41f20.

Reason for revert: The expected DatabaseSqlite is not directly used here, it is still DBConnRef and the patch does not work as is.

Bug: T386891
Change-Id: I83b1e299b698c004dcacb9aa90901dfe28097403
(cherry picked from commit 7fdc51ed4d27ba6211215c6198b7e448de799cde)
2025-02-20 20:35:40 +00:00
Translation updater bot
e11560ed7c Update git submodules
* Update extensions/Cite from branch 'REL1_43'
  to b0e1c7ef4c6046dda811dd942ada47ec80b157ee
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I714b0abbdd095e8cfab29e53ea98f24a0971cdd9
2025-02-19 07:36:36 +00:00
Translation updater bot
ee8b915623 Update git submodules
* Update extensions/CategoryTree from branch 'REL1_43'
  to a6e27fdbe6a4f63ea17521e6dc320a4e129f5758
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ie354b6c26a58a8ad4bf066c8eaac925e22fd0d35
2025-02-19 07:35:52 +00:00
Tacsipacsi
1f73b5d5e4 feeds: Fix str_replace() deprecation warnings on PHP 8
Why:

Both AtomFeed::formatTime() and RSSFeed::formatTime() short-circuit with
null if the input is falsy. This caused deprecation warnings down the
line, as the return value was later fed into str_replace(), which raises
a deprecation warning on PHP 8 if it gets null.

It also caused unexpected output on all PHP versions: the Mustache
templates for both Atom and RSS conditionally emit the date elements
(<updated> in Atom, <pubDate> in RSS), but this conditional output is
skipped only if the variable is null, not when it’s an empty string –
which is exactly what the XML encoding returned on all PHP versions.

What:

Introduce a new method, xmlEncodeNullable(), which properly handles null
values, and returns them as-is, without trying to encode them. This:

- Avoids the deprecation warnings on PHP 8, since str_replace() is no
  longer called.
- Makes the conditional output work: the <updated>/<pubDate> elements
  are no longer output if no date is available.
  - This makes the RSS output spec-compliant, as no garbage is output
    anymore. The RSS <pubDate> is optional [1].
  - It doesn’t make the Atom output entirely spec-compliant, as Atom
    requires <updated> to be present [2], but the removal of garbage
    (it was a single letter Z) should still increase compatibility.

[1] https://www.rssboard.org/rss-specification#hrelementsOfLtitemgt
[2] https://validator.w3.org/feed/docs/atom.html#requiredEntryElements

Bug: T385332
Change-Id: Iafd89c0d61baecd7c68f62b2a0764cc78cf25069
(cherry picked from commit 60c57b0fd5303e9627b7684ebac4cd369c1fe7a6)
2025-02-18 21:44:56 +00:00