Log a warning with preg_replace error instead of passing null to trim.
Bug: T385519
Change-Id: If4ad78168d7899685f4fa1f1d89245c85f0beb0b
(cherry picked from commit 270499b6e1f96f402c852843d446a7946589986b)
* Update vendor from branch 'REL1_43'
to be32300157cf7bfcc88f7c2643426cf55c086682
- Run composer update --no-dev
Changes are present on master in c2b8c1a6.
Change-Id: Ida5b03c41cab91730ac9c75fd7e07eed57954af0
* Update extensions/AbuseFilter from branch 'REL1_43'
to e0f4b20c44893a2b7aca6725c4fc1fe9dac0c83f
- Parser: avoid crash with trailing comma in unrecognised function call
Avoid failing hard, and let SyntaxChecker report the unrecognised
function instead. Also inline the `isFunctionVariadic` method, as it's
only used here. Ideally we wouldn't be checking arity in the first
place, but that is left for a future change.
Bug: T387649
Change-Id: I6303fae037aa4b2464f0da3cdd0b0566a75aa185
(cherry picked from commit 001a809a578ac8193798c22774e797d569ff85a6)
* Update extensions/DiscussionTools from branch 'REL1_43'
to 3067e8052c0ee62f3d1cb6a1f95cde3bb50e7312
- ApiDiscussionToolsEdit: Validate $title before using
Bug: T387640
Change-Id: I591bcfcc9b96ab8bf0f8bc6aba5892ebb6a65842
(cherry picked from commit 3d4e1b5a6979aa9a333682019a4c0c8d9ba2721a)
* Update skins/Vector from branch 'REL1_43'
to a0761a6749801fcc434c3fbb355c7f100cd8d38b
- Localisation updates from https://translatewiki.net.
Change-Id: I9a0685f130a1aab7d5092438611a6b8b92f9bba3
* Update skins/Timeless from branch 'REL1_43'
to 14c4c89dea37b6f06786dc3f3e43d112a903a32f
- Localisation updates from https://translatewiki.net.
Change-Id: I03700e9194a9d1204b17c42c1cfe214b3ae6881e
* Update skins/MinervaNeue from branch 'REL1_43'
to 3104a77b2b54dbfda70c4c318becaf07025110ca
- Localisation updates from https://translatewiki.net.
Change-Id: I1a5c9077a1c29409459bd196ee9e9ab4cd32cc01
* Update extensions/VisualEditor from branch 'REL1_43'
to 773598b8c49eb79710a7c6a3e1201a080b83cce0
- Localisation updates from https://translatewiki.net.
Change-Id: Idddf2c563d297af2bcc06129a59b32b1ecba1ad3
* Update extensions/WikiEditor from branch 'REL1_43'
to 37607928e726801a99a0d864446984c07f61cfdf
- Localisation updates from https://translatewiki.net.
Change-Id: Ic194163900d9543e2bce634519c474a8ec0e2ed3
* Update extensions/TemplateData from branch 'REL1_43'
to 1929a488f84b3c11a9567a2bafa19b6013f6c3d3
- Localisation updates from https://translatewiki.net.
Change-Id: I22ec9a3c31e3cdc1a5423742c67194f1b2efa60f
* Update extensions/PdfHandler from branch 'REL1_43'
to 895c866eedf38502faa5a84c594cdcadc8a7ee67
- Localisation updates from https://translatewiki.net.
Change-Id: If7381a49b468c39e28e87fb5cce6def8a9dd6de4
* Update extensions/OATHAuth from branch 'REL1_43'
to d9d37df2ab0030ec69a8cf971d3f5f1cbc6bc5f4
- Localisation updates from https://translatewiki.net.
Change-Id: Ib047e4eb95b65b0aaf98e3143a17f0e5c5c0288e
* Update extensions/Nuke from branch 'REL1_43'
to 5ac89e3bbb833b9a48961cca360dce779a669809
- Localisation updates from https://translatewiki.net.
Change-Id: Ibe07b5db246278221c91b54a97c630ae9d068cc3
* Update extensions/LoginNotify from branch 'REL1_43'
to 16551ac4152194f3b32dcb09a5faa502b59a9638
- Localisation updates from https://translatewiki.net.
Change-Id: Ibeecd7f93081ca37d6f190293d6bc7f8c9f13cfe
* Update extensions/InputBox from branch 'REL1_43'
to 83e0cabd921438b4b44ec60880d8b43529dd367c
- Localisation updates from https://translatewiki.net.
Change-Id: I726e99ace678edc639065d026f55090412d1640f
* Update extensions/Echo from branch 'REL1_43'
to 8f50fe5d0b7baedb7874e37b9a3eab1f0d2b7c41
- Localisation updates from https://translatewiki.net.
Change-Id: Idf3e6625e4ad4a2857b878547abef60164148488
* Update extensions/DiscussionTools from branch 'REL1_43'
to 0bc0dcb9cc58b94541daf61518ca3644c1107380
- Localisation updates from https://translatewiki.net.
Change-Id: Id60ef85654be93c9c945d04dc1cd748b15733b96
* Update extensions/Cite from branch 'REL1_43'
to 1823aa86b7b27535e324ad43a20c7d6cfbdcd2ec
- Localisation updates from https://translatewiki.net.
Change-Id: If73684f5d5bd13b7f621eff6a45e2e71bd446496
* Update extensions/ConfirmEdit from branch 'REL1_43'
to 2aff2694081da1912c94ddb29854dab8ade1170c
- Localisation updates from https://translatewiki.net.
Change-Id: I618999015fd4dfe68c7260671b933f171b78d4e5
* Update extensions/CiteThisPage from branch 'REL1_43'
to 2c0afac58e5d1e3698906f3d7f34e7659ef74e85
- Localisation updates from https://translatewiki.net.
Change-Id: Ie8beacba0d481440fa18b2237d262f16513e47d8
* Update extensions/AbuseFilter from branch 'REL1_43'
to d726916a3f91e29ce5ca27873f2d78392d141eba
- Localisation updates from https://translatewiki.net.
Change-Id: I5c172326b2c8c0e7f1a68d4aa9f840eeb20d1333
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)
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)
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)
* 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)
* Update skins/Timeless from branch 'REL1_43'
to 2a795e3d690fb97fa1ff3fa8522b63d9f55b6a5b
- Localisation updates from https://translatewiki.net.
Change-Id: I822e12e36ac6f9be5b87d8e4217416e8c10939ed
* Update skins/Vector from branch 'REL1_43'
to 210e513841da380e13bb539e55a70095d4163dad
- Localisation updates from https://translatewiki.net.
Change-Id: I3a8b78eb7207b6ac1b0129ac40bdba98f35d6358
* Update skins/MonoBook from branch 'REL1_43'
to 4f2266626b36bb7556e54b87814b0016bd1adf2b
- Localisation updates from https://translatewiki.net.
Change-Id: I6914a39c229e3375a4174c51f02641e464dec1dc
* Update skins/MinervaNeue from branch 'REL1_43'
to a764a4b30bbd486142d829dfa242daf8806c71ad
- Localisation updates from https://translatewiki.net.
Change-Id: I142d58fb65784930ee5ab88baf10816e88fc93ea
* Update extensions/VisualEditor from branch 'REL1_43'
to 15b1e270dacb67b81938d726b0334ab9cace9800
- Localisation updates from https://translatewiki.net.
Change-Id: I6ad7345e1d696379e461aea5dfae290e62cbf9b3
* Update extensions/WikiEditor from branch 'REL1_43'
to efed4932d7ad484af6798d1704f84eff2933b1a2
- Localisation updates from https://translatewiki.net.
Change-Id: If8d2745d3377f16b0c20da0cb5cf441b55a80a3c
* Update extensions/Thanks from branch 'REL1_43'
to a619821e2d530c9c10666b3842e44dd3d61c61fb
- Localisation updates from https://translatewiki.net.
Change-Id: I56462343a87aa151ac348cbdd429021174b235eb
* Update extensions/SyntaxHighlight_GeSHi from branch 'REL1_43'
to bfa8838ff6d84ffb79be1e97f5faefc740c43c32
- Localisation updates from https://translatewiki.net.
Change-Id: I40455de57cff4f1bb13ef5570ee9ff91e9276839
* Update extensions/TemplateData from branch 'REL1_43'
to a5e5dab30404b841afef018fed5edfb54db002f6
- Localisation updates from https://translatewiki.net.
Change-Id: I861034dc841948c377afa069db0d491bdf7932f3
* Update extensions/SpamBlacklist from branch 'REL1_43'
to 46795dda66216ab8e7805564ac6f8e09900068a4
- Localisation updates from https://translatewiki.net.
Change-Id: I59b09517c7373b7f7b97119d06145834c8398181
* Update extensions/ReplaceText from branch 'REL1_43'
to 33406c20233af3e2ce4d0205364839dbad954546
- Localisation updates from https://translatewiki.net.
Change-Id: Ib2b91934dd1d32be3d86cbbaf17ebab5ddabea5b
* Update extensions/OATHAuth from branch 'REL1_43'
to 21da913c2beb14da4440266ef6e57640a6287f03
- Localisation updates from https://translatewiki.net.
Change-Id: I477e79d954873b96afeff05339b3ed59e47b397a
* Update extensions/Nuke from branch 'REL1_43'
to db624a8db77c93e4f7fb5a3e9d984246806d2c51
- Localisation updates from https://translatewiki.net.
Change-Id: I7d27cfe52c0b51ed7d876b750412109e490feb82
* Update extensions/MultimediaViewer from branch 'REL1_43'
to cb7554f5dafa8f379020f30bd9232a5f8599a1de
- Localisation updates from https://translatewiki.net.
Change-Id: Ib06c73a9e9958b4bf7c77e5127112b9c908679b9
* Update extensions/Math from branch 'REL1_43'
to 878c2adacf41f08a22e893f353f707e3e320fa2e
- Localisation updates from https://translatewiki.net.
Change-Id: Ic11e47dbdcbc555f5abf193259831e1b5c0826d7
* Update extensions/Linter from branch 'REL1_43'
to 1520a069b47c6effa51904b32542ff2389e8c3f8
- Localisation updates from https://translatewiki.net.
Change-Id: I024fcc55007864c202b775f07965a4963df1fc41
* Update extensions/InputBox from branch 'REL1_43'
to 9903156d6d8fce26cb9e0f1fd016cd25b40e5356
- Localisation updates from https://translatewiki.net.
Change-Id: I10b3794530bda189aafb2f1d4de4b929649e7571
* Update extensions/Gadgets from branch 'REL1_43'
to b19d615db45f63cf1a1cbd83cb33b69144edb7e2
- Localisation updates from https://translatewiki.net.
Change-Id: Ibe55567e070ee4a3b35a71543912fbb7c4397f56
* Update extensions/Echo from branch 'REL1_43'
to 1f01255482616f9fc481f6e821a3afb5e342b37a
- Localisation updates from https://translatewiki.net.
Change-Id: I337776bfbca0f9fdd0799df4e4f918baa08a8731