* Update extensions/MultimediaViewer from branch 'REL1_43'
to 7de1fc082e392fd2500e39f6e4db185995e01705
- Localisation updates from https://translatewiki.net.
Change-Id: I101fcfa133d97e57a4c2509e0c05a94062b5e9fb
* Update extensions/Nuke from branch 'REL1_43'
to bd2906d901f1ff08ccc089a63456d9ca8edfaca4
- Localisation updates from https://translatewiki.net.
Change-Id: I3b1197c911a1820a393f7df3dd0bcb9abc5deb22
* Update extensions/Linter from branch 'REL1_43'
to 2d01a58ff49d2eaa15293af109ab3676ffd56c67
- Localisation updates from https://translatewiki.net.
Change-Id: I2708f50468034cbf4cdecbe9efc0e342b811e609
* Update extensions/Gadgets from branch 'REL1_43'
to 52a66e9c54b65a26b90f0f60d301574738d72211
- Localisation updates from https://translatewiki.net.
Change-Id: I037f01c6a5b5cd2f701bfd67741d7c5263bed8d9
* Update extensions/Echo from branch 'REL1_43'
to 1ccc4c8ef349c97e0b5e32e4b76162385a78d89a
- Localisation updates from https://translatewiki.net.
Change-Id: Ie4b2b6baa1698b53fa3c417832fd8ed192c51ca6
* Update extensions/DiscussionTools from branch 'REL1_43'
to be350be62c6bcf2210b2e62f6a0c27a5408d4a8c
- Localisation updates from https://translatewiki.net.
Change-Id: Ibc91d5f8573fdf4948ffd883ddd61d5ee59a2f09
* Update extensions/ConfirmEdit from branch 'REL1_43'
to 6f7ec2fda6825100042a0d961bbbc0f2c975b943
- Localisation updates from https://translatewiki.net.
Change-Id: I0a710d4348ce0037542eb4a9dd399fd65fd796bc
* Update extensions/CiteThisPage from branch 'REL1_43'
to 6d2bfaec94886c06a83c35b454d3a6933f4dfd03
- Localisation updates from https://translatewiki.net.
Change-Id: I139b40dc92197e78022759965f314c745976d5aa
* Update extensions/Cite from branch 'REL1_43'
to f8e9db88b5cec2f80fa3222aa95379c317b07fc3
- Localisation updates from https://translatewiki.net.
Change-Id: I22c4b9631cb4c9ecde0b019a072be19cb38e0547
* Update extensions/AbuseFilter from branch 'REL1_43'
to 9088f9a734935fbfdbc1cd98b77f60b5c7137179
- Localisation updates from https://translatewiki.net.
Change-Id: Ie0ff28a03e2c4445b0a02fe8af0e4e7ab1d210f4
* Update extensions/AbuseFilter from branch 'REL1_43'
to e28a84d4ee25acd2356a75acc1a45aa58e427fac
- FilterEvaluator::rmspecials: Disable PCRE JIT for this call too
Bug: T385452
Change-Id: I4060a8d8e7595945e24b20dbe1b7fdbbaafcdd3a
(cherry picked from commit 48799b2b94269d5dda700b81b0c6747cb4680576)
Why:
- PermissionManager::getUserPermissions() checks whether the user is
blocked if $wgBlockDisablesLogin = true, so that it can then limit
user's permissions to the set of permissions assigned to unregistered
users if so.
- This causes the GetUserBlock hook to run, which may itself check
permissions on the user (e.g. in the GlobalBlocking extension),
causing an infinite loop.
- Since the decision whether the user is blocked isn't yet final by the
time GetUserBlock runs, any permission checks triggered by
GetUserBlock handlers should see the user's full set of permissions.
What:
- Stash the user's permissions in PermissionManager's in-memory cache
before running block checks if BlockDisablesLogin = true.
- Add tests.
Bug: T384197
Change-Id: I3e3804fe518627e9edc2b574cce88f533fd93fe4
(cherry picked from commit 27062b9f8752cc853a65e8a46c9d7d1a9af32c48)
* Update extensions/AbuseFilter from branch 'REL1_43'
to 1b07dc422e911b003a60c8ab22341bdb3d464ac1
- FilterEvaluator::rmdoubles: Disable PCRE JIT for this call
Bug: T385452
Change-Id: Ibb0d747459959ef2621e77fa90e5a945123bec9f
(cherry picked from commit ab02da1ec83aafb8a291746e84d6e6a6a88e6bed)
In theory PHP should use coerce objects with a __toString method
to string when passing them to a method which has a string-typed
argument, but with the native Exception class this doesn't seem
to be working, so cast explicitly.
Bug: T388171
Change-Id: I310b97164877445837babed2a4c47795f1c2c277
(cherry picked from commit a14ef848f758612ac9d4e8c881ecdbbccf3e1158)
* Update skins/Vector from branch 'REL1_43'
to 9b00e930902b409649c836fd94560867a2ba8f7d
- Localisation updates from https://translatewiki.net.
Change-Id: I5c5928d65464f04b60e704e6a0936ed1f76350ac
* Update skins/MinervaNeue from branch 'REL1_43'
to 3f46718b9dc7676fdff7ef016000cba4773278df
- Localisation updates from https://translatewiki.net.
Change-Id: I0bb41bffeaeda54df1d18964823e2ecb99de568a
* Update extensions/VisualEditor from branch 'REL1_43'
to a33b1d6a45f379b4ddf90e05e0a12c20fdc9eec6
- Localisation updates from https://translatewiki.net.
Change-Id: I3a689f4077c12e2d7f3b0dd90c0eede06d750c85
* Update extensions/WikiEditor from branch 'REL1_43'
to 6888fa0afe1ccc324fa004d5df2befe10125727b
- Localisation updates from https://translatewiki.net.
Change-Id: Ibc5a55be913fb5e1c80c283464fad7a67579c245
* Update extensions/SyntaxHighlight_GeSHi from branch 'REL1_43'
to 6b31118a50245b76a1abec4cba0d64ce30e2a98a
- Localisation updates from https://translatewiki.net.
Change-Id: I4ab8b9b1d87f15586e8a704d29e13dbc770defb6
* Update extensions/TemplateData from branch 'REL1_43'
to 6b5f86a814589e541627369de6a679c43761e509
- Localisation updates from https://translatewiki.net.
Change-Id: I3b83560f8239743641b31604569275b96995b78a
* Update extensions/Scribunto from branch 'REL1_43'
to 8deace10329a9aaabe96728b48869caea17e232a
- Localisation updates from https://translatewiki.net.
Change-Id: I127dcd5630bb5b055ecbf800635768ec8eea0ce1
* Update extensions/ParserFunctions from branch 'REL1_43'
to 7199d854882d6e63ee9250f1ac8ef79188947465
- Localisation updates from https://translatewiki.net.
Change-Id: I1455caab738edd36886f07ae910a8b4eea7b7d55
* Update extensions/OATHAuth from branch 'REL1_43'
to c2960e3f78c9d5f2420debb5418e01ac6d00f06e
- Localisation updates from https://translatewiki.net.
Change-Id: Ie7457c33b865dbc03a199ec1a4a5156893e2093a
* Update extensions/MultimediaViewer from branch 'REL1_43'
to c21ab7d07f6665041c461f120e1e57b8f7ce5f56
- Localisation updates from https://translatewiki.net.
Change-Id: I074741c671495e4e98f4cd212db1f03e086e6fe8
* Update extensions/Math from branch 'REL1_43'
to 72a8df832deb95fec4eaace8675b4cc66b42ac3e
- Localisation updates from https://translatewiki.net.
Change-Id: I7c41c6ec10e0d6a81765f30f60532001c5a75d63
* Update extensions/Linter from branch 'REL1_43'
to acbc3e38b6174665b03214c8a510351445ec6a3c
- Localisation updates from https://translatewiki.net.
Change-Id: I4b10e27e78ec464de839c58ab94a4e8e3e718328
* Update extensions/Gadgets from branch 'REL1_43'
to ac63778ed5738eb52e7a9a32a10e81e73a45f8ea
- Localisation updates from https://translatewiki.net.
Change-Id: Ie477ebd7cd77554bc2eb7258bc08f3561f8f7982
* Update extensions/Echo from branch 'REL1_43'
to 02af04c5e8e4c0494a35e8b3598cfa803c1c87e8
- Localisation updates from https://translatewiki.net.
Change-Id: I4b8eefed6e9ce9e36e2673f1d3509ac7b3165791
* Update extensions/DiscussionTools from branch 'REL1_43'
to cc4f3db0ef68367721266b0ff46415feb981d521
- Localisation updates from https://translatewiki.net.
Change-Id: Ia5fcf3f18fe8e3077f8a5ee721e2413c4dc32596
* Update extensions/ConfirmEdit from branch 'REL1_43'
to 8ccb23bfd3e6d75528a5eb5362b5a1eca517a158
- Localisation updates from https://translatewiki.net.
Change-Id: I6e89915c876b2cf73e547495b1138757a5396f7d
* Update extensions/Cite from branch 'REL1_43'
to 32517d7f1fdd816fdc5da27c31aba0d75bd0d0a3
- Localisation updates from https://translatewiki.net.
Change-Id: I86b2f6ae884a3f9d1b1229e626068d37f1b271ce
* Update extensions/CiteThisPage from branch 'REL1_43'
to 0b1e8bdd657a6ed68ebf60f444fea902e4a986fc
- Localisation updates from https://translatewiki.net.
Change-Id: I3c4450c22ea0c62c7aba413984bec5d81e1dff18
* Update extensions/CategoryTree from branch 'REL1_43'
to 5689942278637bd675f7dc2828acf2d9d3ff0ac1
- Localisation updates from https://translatewiki.net.
Change-Id: I305fe9ca9adf8eeed30ebb268eecda9987e7ed23
* Update extensions/AbuseFilter from branch 'REL1_43'
to bb76bcfc7ecc50970ce8055f219ac532b57a3ca5
- Localisation updates from https://translatewiki.net.
Change-Id: I9ee433a23904a265d832a605657431635ac875b8
Trying to load the session user in an MW_NO_SESSION resulted in
an exception thrown from SessionManager::getSessionFromInfo(),
but User::$mLoadedItems has been set by that point, so if
something catches the exception, future attempts to access that
user object would result in unexpected behavior.
Bug: T388066
Change-Id: Ia3f6d0a96209471db3ce1baf6870a57e1cf1b6b2
(cherry picked from commit a32247211585123565498d2a1e4e54bed6ade6fb)
* Update extensions/ImageMap from branch 'REL1_43'
to 1aa7ea696c546c716a9e6168bfd0edfa73c7ff29
- ImageMap: Bail out if $input is null
Bug: T388464
Change-Id: Ib1706268be419b59d95639cd6dfd412603e19163
(cherry picked from commit dd0a2234bde087e05d89575330c6d31be30d7320)