* Update extensions/LoginNotify from branch 'REL1_43'
to 704c0935c328a6d54ac9de35d267d20bafa95662
- Localisation updates from https://translatewiki.net.
Change-Id: Ib9b795ec6d16de89318e44bcf068f440166aeca7
* Update extensions/Gadgets from branch 'REL1_43'
to dbb306d688eff92960462d6665a813dfb1e473aa
- Localisation updates from https://translatewiki.net.
Change-Id: I9d8b307f104f8bfd1e7499860ad73389ceec53b2
* Update extensions/DiscussionTools from branch 'REL1_43'
to b393b26919e8b0569f20fb92e346bae4d3bce6fe
- Localisation updates from https://translatewiki.net.
Change-Id: I7659470856cf85aa8fd0440587adbf0fa144622e
* Update extensions/Echo from branch 'REL1_43'
to 1d763647b62657e2e6ef1f9de634e22c5addbed5
- Localisation updates from https://translatewiki.net.
Change-Id: I15a4e3b176374b0651167fc50d7b02f4a8ec4303
* Update extensions/ConfirmEdit from branch 'REL1_43'
to 6e607bd765d7c7aee9953740d43be5af34b62449
- Localisation updates from https://translatewiki.net.
Change-Id: I167c54df611c9b640a713c4f4901b64f084e29a3
* Update extensions/Cite from branch 'REL1_43'
to 059a478748aeb63ebe96c10b33bcedc46bd993d4
- Localisation updates from https://translatewiki.net.
Change-Id: I66b42034141c63e577f0fc466b8b5d57605b5c0f
* Update extensions/CategoryTree from branch 'REL1_43'
to 577b42353f8201e5499e55cf91175293ee3c9ef7
- Localisation updates from https://translatewiki.net.
Change-Id: I988976cada0dc18f10eb81e33e40d44c5b4d45e1
* Update extensions/AbuseFilter from branch 'REL1_43'
to 40818d5f14e24216685d3d7b102226e1f9c9e09b
- Localisation updates from https://translatewiki.net.
Change-Id: Iccd75cd10d0fd87fc5a26efe4a56bd94465aaad9
```
PHP Deprecated: strrpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /srv/mediawiki/1.42/includes/libs/filebackend/FileBackend.php on line 1588
```
Bug: T384851
Change-Id: I36c401587d94e7c1ab444d355b03ea88da8fb6e8
(cherry picked from commit 1a4d7d410c527f6a9f57b5c3e6f733a4a64f41c1)
* Update extensions/AbuseFilter from branch 'REL1_43'
to a57f0700a4443585a50e09bef9c237b4fb8a650b
- Parser: avoid PHP warning for unterminated escape sequences
If an escape sequence is not terminated (i.e., there is not character
after the backslash), then the whole string isn't terminated either. So,
throw an exception immediately, rather than trying to get the next
character, emitting a PHP warning in the process.
Bug: T390416
Change-Id: Iff8a86add30048efd6ccec454f790a1ce77f1414
(cherry picked from commit ec7f90efb0681d9939009a6d9e00ba99ffa6ec91)
* Update extensions/Echo from branch 'REL1_43'
to 629e7a3ce07e7d987895315ef6bf9de32261f390
- Fix for Watchlist Notifications for deleted pages created in 1.35
Bug: T286192
Change-Id: I9d4ab915ca33a3d52018470f1147eb77f5590c86
(cherry picked from commit 4c35cecea0f7cd43b08fbc462faacc09005306ff)
* Update extensions/ConfirmEdit from branch 'REL1_43'
to ffcbccd61e08481966fb56246bc620f5cdc39b83
- CaptchaPreAuthenticationProvider: Improve log messages
Why:
- We want to distinguish between showing a CAPTCHA and submitting
one, and also have some more meta data for processing logs
What:
- Clarify the log message action, event type, and fall back to 'unknown'
for cases when the CAPTCHA is shown on login before any submission
- Add the user agent to the login and account creation messages
Bug: T379178
Change-Id: Idaeec7689629e2a79b5188f57c9f5c003fd4b31c
(cherry picked from commit 64ab657ef2e2fb911ebd4817a1bfde0e4e71f86c)
* Update extensions/ConfirmEdit from branch 'REL1_43'
to c1192fcbfcd71446ef979d8c1e83a0af6cde3ee1
- CaptchaPreAuthenticationProvider: Check if a login attempt would trigger a captcha in testForAuthentication
Bug: T379178
Change-Id: I1ec25cadafee404801727c8d716b864bd34b31b6
(cherry picked from commit b02ab0936ae5c6af3c33ac18934b0e07f17961eb)
* Update extensions/LoginNotify from branch 'REL1_43'
to b3c78b992ea01b11fba41496826739f8d1e67341
- LoginNotify#sendNotice: Add IP and UA to log message
Why:
- IP and user agent are important for being able to trace abuse of
logins
What:
- Add the request IP and user agent header to the log message
- Update the doc string to specify that 'login-success' is also a
possible parameter
Bug: T390141
Change-Id: Ib66f06965c872e234ffe2c03d4a5553a20b4c7e0
(cherry picked from commit 0a22ef37fd69aebecb5b8ac9c192e34cefa3f3eb)
* Update extensions/ConfirmEdit from branch 'REL1_43'
to 2251b9e8d410252f21f5b7af4180f55cb3e0e3d0
- CaptchaPreAuthenticationProvider: Run triggerCaptcha for login attempts
Why:
- Extensions may want decide if ConfirmEdit should show a CAPTCHA on a
login attempt
What:
- Invoke the onConfirmEditTriggersCaptcha hook on all login attempts,
not just bad logins
- Fix incorrect log message variable from earlier code
Bug: T379178
Change-Id: I2e9a1af2e567baf3d9aa55b70c74fef8711f8bf0
(cherry picked from commit bc0c157c1d42dc14c594553c097dc013e3c7c9c0)
* Update extensions/ConfirmEdit from branch 'REL1_43'
to 0ac16f7b26f58c49ffbd212089d4bf86d7e5b3f4
- LoginAttemptCounter: Add extra hardening for long period too
The current method of showing captcha with 3 attempts in 5 minutes is
nice but it would be even better to show captcha in more attempts but
longer period of time, the default roughly translates to showing captcha
if bad login is more than 100 times in every day.
It is extremely ugly but it already has todo to migrate to Throttler,
once that's in place, it could be simplified a lot.
Change-Id: I8bfcd52f4c77946182ca7c58b31fd8b38bbcd3cf
* Update extensions/ConfirmEdit from branch 'REL1_43'
to c1e4a5867d3aa79581b8208503b09bc3a7b4d8c4
- Attempt to more consistently document $wg values in extension.json and README
Change-Id: I83ae3dc8a2bd1d9e4655eba1d8da5e5974930357
(cherry picked from commit 12490340ff549d4dcdca01baf6e075f1da0f2baa)
* Update skins/Vector from branch 'REL1_43'
to e2f121833a9254f10c2dcbfe2c434e3169929c5f
- Localisation updates from https://translatewiki.net.
Change-Id: Id2f40caae32c4b9937fba8e11b34cf9d37ec6a11
* Update skins/MinervaNeue from branch 'REL1_43'
to d2999cd21fea9083a7604b0e12b1294e336e5997
- Localisation updates from https://translatewiki.net.
Change-Id: I79ddb7c02e234df70d01580a99c19dbf3f5caf0b
* Update extensions/WikiEditor from branch 'REL1_43'
to a15547438ff89a8d88d23d7a4f579443b9f531a3
- Localisation updates from https://translatewiki.net.
Change-Id: Ie0e8746806c2886ef1a4020867e14f9748e012e2
* Update extensions/VisualEditor from branch 'REL1_43'
to 6870ad5844b8345d2e30230f3e5ea48dae2c7f70
- Localisation updates from https://translatewiki.net.
Change-Id: I35f64cd13fcf1e3e959d7437f5c1dfe174543fbd
* Update extensions/Thanks from branch 'REL1_43'
to 8a44d9d2048f16c8873af72df39daf2e5a276eac
- Localisation updates from https://translatewiki.net.
Change-Id: I2febc43dac3d9bd6fab06c4746bb912aabf6896f
* Update extensions/SpamBlacklist from branch 'REL1_43'
to b7e906f612971a9de2c64eaeb5c2104b60fc6109
- Localisation updates from https://translatewiki.net.
Change-Id: Id3392e57a0de39c8c170df1adbf68a65b42184fe
* Update extensions/TemplateData from branch 'REL1_43'
to 107821689360855c570cae58d6483c520ae46d0f
- Localisation updates from https://translatewiki.net.
Change-Id: I9b150c0aa2f4c3d5a34079eadf2bdb271eea6a88
* Update extensions/PageImages from branch 'REL1_43'
to d180283a0d786e122899287efa0160690e8f33e4
- Localisation updates from https://translatewiki.net.
Change-Id: I86c242f3a10e361a81a9870c7c7fc0fddc510a1c
* Update extensions/Nuke from branch 'REL1_43'
to 0326b9f4ebb91b220a99a92251710c13bd33298e
- Localisation updates from https://translatewiki.net.
Change-Id: I787ee6ab4947a73465ec1781eee2c948e81e1dcd
* Update extensions/MultimediaViewer from branch 'REL1_43'
to df4c8ca9c2045ed05ed27f00c7810b62d8483089
- Localisation updates from https://translatewiki.net.
Change-Id: I2931f5ccb76e1ddd25abad450bfd8e8ae588f25b
* Update extensions/Math from branch 'REL1_43'
to 820a7e391fe3527e91fd53c8656a4dc698f28d09
- Localisation updates from https://translatewiki.net.
Change-Id: I82a78d8ca1021bd610daac853a3ea074d8b6e971
* Update extensions/Gadgets from branch 'REL1_43'
to 5872c102d288b289672fbb08913c0973f6ad6b92
- Localisation updates from https://translatewiki.net.
Change-Id: Id80bfe786b0f68ffa46a28e0c867cac7e5140d61
* Update extensions/DiscussionTools from branch 'REL1_43'
to 42af19725c5e579fdc3c165849e789f6a7cec91c
- Localisation updates from https://translatewiki.net.
Change-Id: I9267321e1dcf1e4b4053573d6e8adda374f1f9b7
* Update extensions/ConfirmEdit from branch 'REL1_43'
to 51d0661cff6cd0c12c3518ef7ac2d1a4d19692a9
- Localisation updates from https://translatewiki.net.
Change-Id: I708a4f13e6131fc069a3493511c151756c2e9f66
* Update extensions/Echo from branch 'REL1_43'
to 221fb808a32fdb544656d161d76b683342708d25
- Localisation updates from https://translatewiki.net.
Change-Id: I4dd9f189b5ae07f83a48dce723fc82e6e960c5f0
* Update extensions/CiteThisPage from branch 'REL1_43'
to 3fa7f83d96420613a15f389c6fe6e7276563a71e
- Localisation updates from https://translatewiki.net.
Change-Id: I58a250adad85eda3a5fab9e221207b68a61891a4
* Update extensions/AbuseFilter from branch 'REL1_43'
to 6e1f68aa5fcb2c6653a3e526749d3a2dfa941fd2
- Localisation updates from https://translatewiki.net.
Change-Id: Idf0c5b98adad49cb0ae336ad74e19c84f180f23b
* Update extensions/Math from branch 'REL1_43'
to 15bb2dd72f9b6bfddfbeeb396dd995d8f6fa75b9
- tests: Remove redundant WANObjectCache override
Since 2020 with change Ia60cb0bc18b23, the main cache is enabled
with a hash bag by default (and reset between each test), so this
override is identical to the default. Since WANObjectCache is a
wrapper around the main cache, simplify the cases where an override
is needed, to use the setMainCache() helper instead.
Remove double checking of the fake itself. This is well-tested within
core already.
Change-Id: Ie63e972c90c9c4187c9ca349a47784ce4136b44c
(cherry picked from commit f92f8b0702a6367bea32dabb65727ecfca3ba676)
* Update extensions/Math from branch 'REL1_43'
to 97840f5163427a0dc2847474b7add88b80c671ba
- Move colors to texutil
* get rid of BaseMapping class
Change-Id: Ifa9f6b52f5a72f0537ddb3ca8845ca12855871c8
(cherry picked from commit 250ed0688ded65e23812ed3592096ea34aaa09b0)
This patch reworks RestrictionStore::getCascadeProtectionSourcesInternal
to return a third and fourth array:
* One for cascading restrictions originating from templatelinks
* Another for those originating from imagelinks
They are used in PermissionManager::checkCascadingSourcesRestrictions
to differentiate cascading protection of file content and file page,
but could also be used in the future by action=info and other callers.
Bug: T24521
Bug: T62109
Bug: T140010
Change-Id: Ia5863f418538106f4fd657c672298ff6ac835805
(cherry picked from commit 7a4952ef2c5d593fae9419bad39f3e9894f42adf)
Users should have 'reupload' or 'reupload-own' rights to do file revert.
Bug: T304474
Change-Id: I2d0eaeeea237286741708c2b5920fe7cca3acf50
(cherry picked from commit 7b4aee237e257954195c4d695b2cfe2a9a3b4116)
* Update extensions/Math from branch 'REL1_43'
to 748f51c19da40b4f9593fcc5b19776bb17237a3f
- Pass state by reference
The idea of the state is that it can be changed. However, the
variable was not passed by reference.
For example, the derivative after det was applied twice.
Bug: T386562
Change-Id: I91b79418e4f1e33b2c54fad1ca1513f129d6c508
(cherry picked from commit ae5c056802d27801ab7d06e4aa1987528b91e0a9)