* 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)
* Update extensions/Math from branch 'REL1_43'
to 630aac46937fabee697e7f059f80dd142d841e91
- Improve Nodes documentation
Classes in MMLmappings are under refactoring, so no changes done there
Change-Id: I3e450a02ec401ae780f037aa08edb68df173e3d0
(cherry picked from commit 6d0e8012c16cd79f279884b919c956699e61d44d)
* Update extensions/Math from branch 'REL1_43'
to 183aeb7320b7924a0c1394e5c2fa373a894ed57e
- Add various function documentation
All cases using union types or mixed type, it is not possible to use
type declaration with php7.4 for this functions.
Change-Id: I347d55324001bcaacbe1ba8abacc6d953af530ec
(cherry picked from commit bee3ac6690f6d67cbaab5a6e90eecf3b6d9f6e3f)
* Update extensions/Math from branch 'REL1_43'
to 883be554dbca6a681f12fd44d2efdda153844d39
- Fix: rendering of _1
_1 was converted by the preprocessor to
\displaystyle _1 and the DQ node got
\displaystyle rather than an empty node as input.
This change renders the base (here displaystyle) and
checks if the result is empty instead of checking
if the input is empty. Thus, both variants
{}_1 and _1 render correctly
Bug: T386071
Change-Id: I0366a8d6636368d437c9905961989e9882d4e1f6
(cherry picked from commit b4f3514c2a27c948074cf2f61b88e85c58cf9dd6)
* Update extensions/Math from branch 'REL1_43'
to 27a8b844f9114dae0769682f75c562e2dfd81937
- Improve TexUtilTest
Split set test and soft test.
Remove legacy separation to sets and maps.
Change-Id: I2ec4a0ae1a05837e6d870ed1f4fac84e1bc5d255
(cherry picked from commit b63bae6aad9dfceded134652f597a02cd35b2ad4)
* Update extensions/Math from branch 'REL1_43'
to 1fa6908c540f83d4a4d0ff3f4f74b04e5e7b08f2
- Add changes test
The native Math rendering mode is transitioning into
a more stable state. To avoid regression, we start
adding changes test to avoid unintended side effects
for modifications made. The maintenance script
provides a mechanism, to easily update the references
after manual review.
When creating the *unit* tests it was required to
move forward with refactoring the code to better
support the concept of services. Thus new service
injection was added to make the code testable by
unit code without to disable the old entry paths.
The newly introduced property, rawError is a
workaround as it calls
\MediaWiki\Message\Message::fetchMessage
which relies on MediaWikiServices to be present.
Bug: T386071
Change-Id: I52c1b23194dda41a85e28d436a62d34a19154783
(cherry picked from commit 1916e4cf21ce6944ab99d241508bc128fbfa3f84)
* Update extensions/Math from branch 'REL1_43'
to f28d9ba2668e982bff5febff4a04e1dcbe46bbbb
- Merge "Add type annotations to TexUtil" into REL1_43
- Add type annotations to TexUtil
Add method return type annotations to TexUtil class
Bug: T385953
Change-Id: I9586718cabce6bc0db977ddc6f845c83c6b6cff5
(cherry picked from commit 5f2bfac605239029d2d378040585b516889df40d)
* Update extensions/Math from branch 'REL1_43'
to 5b1e4e0c6e2af19916579ba481e62d80a88211f5
- Merge "move base macros to texutil" into REL1_43
- move base macros to texutil
* remove getCancelByKey as it only used in tests
Change-Id: Iabfd90f3d8b97a388084463bfd1a960093f30666
(cherry picked from commit 59c6f1bfba7fd60d28b4c00aed06896f8dd74421)
* Update extensions/Math from branch 'REL1_43'
to e34209700a1e24ed03c3479b8bd5e0b82643a59f
- Merge "Remove AMSMappings" into REL1_43
- Remove AMSMappings
They are already fully integrated into texutil.
Rename the _rendering groups to callback.
Add convenience function to sort texutil.json
Change-Id: I059e2c75f990870389654c8df9b77bad4805b5b2
(cherry picked from commit 28cffd95865682f3258c67614ee12fffcc727ee1)
* Update extensions/Math from branch 'REL1_43'
to ac44af496efd845c773df643de0d79501c5c661e
- Merge "Move special functions to texutil.json" into REL1_43
- Move special functions to texutil.json
textvisiblespace rendering does not exist.
Change-Id: I504f3ed0f5d68589750ed5f6c0048cb5130027e2
(cherry picked from commit 88120e016ce87324a11a7baeb529b0a947cacc00)
* Update extensions/Math from branch 'REL1_43'
to 3a4f1abbc56810fa3c2c798752439a11cced9ef1
- Merge "Move special functions to texutil.json" into REL1_43
- Move special functions to texutil.json
Only tilde exists.
See T385953 for the removal of callback
Change-Id: I9ebff23424b9bb1c137084202277d912108b195a
(cherry picked from commit e9e45ebc182ddb85fd52c1604ef2d2c06bcc3e86)
* Update extensions/Math from branch 'REL1_43'
to 5fd2fe79b5e841d6b0b8d039b9dae5c114981a7a
- Merge "Move mhchem functions to texutil.json" into REL1_43
- Move mhchem functions to texutil.json
Instead of using a dedicated mhchem_rendering we use callback
as a group. By doing so the nested if-statement in BaseMethods
can be removed step by step.
Change-Id: Ie8cac74b77bee8214b10752e0a9e7052a93ba433
(cherry picked from commit 8e0c072e2a44ca78cd4f000140a036c9aa46fc90)