Commit graph

129050 commits

Author SHA1 Message Date
Translation updater bot
bed60782d6 Update git submodules
* Update extensions/WikiEditor from branch 'REL1_43'
  to 920d611ffc548af317b3bf6ec2041d96fa0a35fd
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Id47aa8af03dfb86f1790162f32db323544bbb38b
2025-08-26 06:51:53 +00:00
Translation updater bot
c0d4520d52 Update git submodules
* Update extensions/Thanks from branch 'REL1_43'
  to 2b83a718030d8c9002f368372128109c50df2b19
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Idec11188db45e7b9285162048cf7b84673c2b58c
2025-08-26 06:51:28 +00:00
Translation updater bot
216014bc9b Update git submodules
* Update extensions/TitleBlacklist from branch 'REL1_43'
  to f06c65d4c320456addc83f45e91647fb11ee7381
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I19edb68db48e1afb0dc786291fe7f904b8fb31b9
2025-08-26 06:51:21 +00:00
Translation updater bot
fa3d7e88e6 Update git submodules
* Update extensions/TemplateData from branch 'REL1_43'
  to 0ab24d333aa04a8d4d072354ed09aa86aa565d4f
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I53c32b7c3b4e2b614aac444e45a563456e0a8612
2025-08-26 06:51:06 +00:00
Translation updater bot
f3f26e0203 Update git submodules
* Update extensions/SpamBlacklist from branch 'REL1_43'
  to 30bf4393901cd44397031b802ed60ed22002fb16
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I251c6e15c136d907a0baf6da4bbec447a4858f87
2025-08-26 06:51:01 +00:00
Translation updater bot
5782991598 Update git submodules
* Update extensions/Scribunto from branch 'REL1_43'
  to fa16cdf711b97465bec563d42389cafd423de658
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I2bf0117588b7dc885b68c5067f6f7f56878a9c5f
2025-08-26 06:50:57 +00:00
Translation updater bot
99ec509c38 Update git submodules
* Update extensions/ReplaceText from branch 'REL1_43'
  to 97bd5a869cbde2fb044ff9c2aee6a23686a21fe7
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I1db73bfbaea9bf7fac6291be8548ce237980fbc7
2025-08-26 06:50:57 +00:00
Translation updater bot
9ee4d8821a Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to a76b11b53d62514916c25d687d04bf7a03f65825
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I7e7bca642c25fa69306621b186cb299ee16ac078
2025-08-26 06:50:36 +00:00
Translation updater bot
d8a8c3618f Update git submodules
* Update extensions/Nuke from branch 'REL1_43'
  to e85e75c76bbf77e5a9152fdf78e28ff0ac6ca219
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Icfa69d2e4f041a761b7329590c786cb8402e36cb
2025-08-26 06:50:36 +00:00
Translation updater bot
0c373933ad Update git submodules
* Update extensions/MultimediaViewer from branch 'REL1_43'
  to 06db7e5865dfbaf6d82184026083ccbf2c966ac5
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I6bb90248df9365239dbe446fa234543fbe111175
2025-08-26 06:50:19 +00:00
Translation updater bot
48abbb712a Update git submodules
* Update extensions/Linter from branch 'REL1_43'
  to 606265ab8d0037e1685b557e62fab9b3d44f4608
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I68a94523274d028ad4b02cd65c45365bc293a82c
2025-08-26 06:49:55 +00:00
Translation updater bot
80e326855e Update git submodules
* Update extensions/ImageMap from branch 'REL1_43'
  to 59fed34310fd2a8e750a732effd8d5d9550b6ccc
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Id25a4d4578ff08ea5ca79b6478b6dcd985a8c901
2025-08-26 06:49:47 +00:00
Translation updater bot
a770e8fc87 Update git submodules
* Update extensions/Gadgets from branch 'REL1_43'
  to 883c4c603ebae3ed2e90834b7217667c7775fc41
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Id451da233527614b5fd8594376e9c377a2142a31
2025-08-26 06:49:22 +00:00
Translation updater bot
084b1ef801 Update git submodules
* Update extensions/Echo from branch 'REL1_43'
  to 50de6b386c6cc9476049fc88e1fbdd19b2e455f6
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I26f062986423e24ebb1bcf4b532d503a56315f7d
2025-08-26 06:49:02 +00:00
Translation updater bot
445a9225e0 Update git submodules
* Update extensions/DiscussionTools from branch 'REL1_43'
  to 71fcae8d4d3121cf2479af6e5f476016137434c6
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ibba98a6062eacd7591777df828a0c3ffcc0904df
2025-08-26 06:48:55 +00:00
Translation updater bot
079b4acb12 Update git submodules
* Update extensions/ConfirmEdit from branch 'REL1_43'
  to 1cd34a0377f9bf5d8ffc646fc54ca292caecd6e6
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: If5387eb340d26cd10dd68966e4fc862b1e615560
2025-08-26 06:48:45 +00:00
Translation updater bot
840a0b6171 Update git submodules
* Update extensions/Cite from branch 'REL1_43'
  to e38afcb1b11f25be43836161b13c42d2b8daa9c0
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I8b5bc59bcb954145a816a05cb8009dec8f75ac51
2025-08-26 06:48:32 +00:00
Translation updater bot
1a4d12cb48 Update git submodules
* Update extensions/CategoryTree from branch 'REL1_43'
  to 9a0e7fe99833d86cf5e00db05e97fdce4d14b347
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ieefb72bcf4e63afbbcd86780a3638a082303d626
2025-08-26 06:48:15 +00:00
Translation updater bot
7f20062f19 Update git submodules
* Update extensions/AbuseFilter from branch 'REL1_43'
  to c5eaaa1cd7542f23f82ab89369e7bbd09e658a55
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I5f66b3c60211df7129d399d310f731c459f141af
2025-08-26 06:47:57 +00:00
Translation updater bot
8d33975633
Localisation updates from https://translatewiki.net.
Change-Id: I50214ec04a18b67939e68303369e850212f1a9f5
2025-08-26 07:34:13 +02:00
Maryum Styles
cd53ff0a84 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to f54dda23a9a95fc4fcf4d054834812c972714a80
  - Remove ReauthenticateTime override
    
    Removing ReauthenticateTime override to
    use the new 3600 default set in MW core
    in Ic9a4585afcfe72f795868cbf7d5281a809e6a7c5
    
    Bug: T402094
    Change-Id: I1bf5e51701e6aded41d3c5a7f10b192a6c8f1f43
    (cherry picked from commit 066baab3f5b72564ec03455d11e9155b8ced25cf)
2025-08-25 22:22:11 +00:00
Winston Sung
c0fc59ef20 Update git submodules
* Update extensions/PageImages from branch 'REL1_43'
  to 1ff9e184614925aa2fe46d6dbd87522145283585
  - Make $wgPageImagesNamespaces default to $wgContentNamespaces
    
    Make PageImagesNamespaces default to ContentNamespaces instead of only NS_MAIN.
    
    Use false as "default" based on 34f9eb92e0/includes/MainConfigSchema.php
    
    Bug: T393346
    Change-Id: Icd13a85cacdf68daf00a046e3dfdd60094ca213b
    (cherry picked from commit 26e829b66ef01e94f4b9580c6680435341190baa)
2025-08-22 15:18:04 +00:00
Maryum Styles
97bd678013 config: Change Reauthenticate Time Default
Update the default Reauthenticate time to 3600
moving from 1 minute timeout to 1 hour to improve
user experience

Bug: T402037
Change-Id: Ic9a4585afcfe72f795868cbf7d5281a809e6a7c5
(cherry picked from commit fa04ae9ab260082b859876bee7b162b8c833c85b)
2025-08-20 21:56:57 +00:00
Dreamy Jazz
05631d4fe4 Don't use RequestContext in CommentParserFactory construction
Why:
* ServiceWiring.php is documented to say that "Services MUST NOT
  vary their behaviour on the global state, especially not ...
  RequestContext ... or ... "current" user"
** However, the constructor of the CommentParserFactory calls
   `RequestContext::getMain()->getLanguage()` which is in
   violation of this rule by both using the RequestContext
   and being controlled by the state of the "current" user.
* This has caused issues with premature access to the session
  user as demonstrated in T397900.
** Specifically, the call to ::getLanguage will load the request
   user's preferences and then as part of this checks if the
   user is named (which will load the User object).
* Instead of using the incorrect method of getting the user's
  language, it should instead be fetched in
  CommentParserFactory::create.
** This will also allow the Language associated with the main
   request to change without leaving the service with an
   outdated and stale version of the user's Language object.

What:
* Update CommentParserFactory to call `RequestContext::getMain()
  ->getLanguage()` in the ::create method instead of getting it
  from the constructor.
* Remove the call to `RequestContext::getMain()->getLanguage()`
  in ServiceWiring.php as no longer needed.
* Update the unit test to instead be an integration test due to
  ::create now calling code which uses the service container.

Bug: T397900
Change-Id: I36c9d8650eb5040f94626fa50f90b8026d3c3fe9
(cherry picked from commit 536f41bce51ca67733c4879d17992ee0b0db1de8)
2025-08-19 13:01:22 +00:00
Translation updater bot
258a26bb6f Localisation updates from https://translatewiki.net.
Change-Id: I60360bbb9022fc839d9e048d2cefcddabaea3428
2025-08-19 10:42:25 +00:00
Dreamy Jazz
82e3c1d008 Update git submodules
* Update extensions/AbuseFilter from branch 'REL1_43'
  to f16f3d042e37223141df777b7f22ade857cd3c80
  - Protected variables logging: Only compute protected variable values
    
    Why:
    * To log when a user views the value of a protected variable,
      the AbuseFilter code needs to determine if the value of those
      protected variables are not null and the variable is set.
    ** To do this we need to compute all protected variable values
       even if the values are lazily loaded.
    ** However, the code that does this also loads all other lazily
       loaded variables.
    * Loading all the lazily loaded variables causes expensive
      variables to be loaded even if they are not used.
    ** This causes noticeable issues when testing filter conditions
       against a set of recent actions.
    * Instead of computing all lazily loaded variables, the code only
      needs to compute lazily protected variables.
    ** In some cases we can also not load any variable values, because
       the code was only looking for the list of defined variables
       and not their values.
    
    What:
    * Update CheckMatch, SpecialAbuseLog, AbuseFIlterViewExamine,
      and AbuseFilterViewTestBatch to not compute all lazily loaded
      variables via VariablesManager::dumpAllVars:
    ** In cases where it is possible, the ::dumpAllVars call is replaced
       with a calls to VariableHolder to get the variables.
    ** In all other cases update the second argument to ::dumpAllVars
       from `true` to the list of all protected variables.
    
    Bug: T400673
    Change-Id: I7136c61f4e4574de8ffde21076df1c6645a36f81
    (cherry picked from commit 7d948eead42241aa6495bf2d0c3fc9b3c42aea72)
2025-08-19 08:56:18 +00:00
Translation updater bot
2a96bd5d3b Update git submodules
* Update skins/MinervaNeue from branch 'REL1_43'
  to 8733e6bf633cbd2885fa6f6939e1c33910afa501
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I41f55538f80a11ce54804aaf7b46b060b79e0a34
2025-08-19 06:42:53 +00:00
Translation updater bot
fe1e4de7f6 Update git submodules
* Update skins/Vector from branch 'REL1_43'
  to 8258e3d519fefc2c36629ac15922c6a8a96ba1f0
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Icc39ca5e3cb377aaf1b074a41967da19213338c1
2025-08-19 06:42:51 +00:00
Translation updater bot
7fc11b1c43 Update git submodules
* Update extensions/TemplateData from branch 'REL1_43'
  to ea4424ec99eff40d71149d04da65ca86376ac075
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Iebab15d3e6af1528589ab6dca393eb3dcc0503a2
2025-08-19 06:41:34 +00:00
Translation updater bot
bf776114ce Update git submodules
* Update extensions/VisualEditor from branch 'REL1_43'
  to 00fc695507fd01767be8ed91154fd2474c816b9b
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I40cafdac96d191eb018621f9a988d504c7671e8c
2025-08-19 06:41:20 +00:00
Translation updater bot
11c4ad4558 Update git submodules
* Update extensions/WikiEditor from branch 'REL1_43'
  to 6c5e81ad24aaaef6546229c4ef3f2988c1aa2f37
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: If6049d29f370b7bb1de5ef0b2a77c8098a49e931
2025-08-19 06:41:10 +00:00
Translation updater bot
2d4326c7c7 Update git submodules
* Update extensions/SyntaxHighlight_GeSHi from branch 'REL1_43'
  to 08a01c78dc284f02ece3c5f909857769664d0176
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I369de5f5329037f3007adf6f36a16350b2d1692e
2025-08-19 06:40:49 +00:00
Translation updater bot
176f31ff45 Update git submodules
* Update extensions/Scribunto from branch 'REL1_43'
  to ea571ce91012ee211c02adfcb7fe7232565ee2e9
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ifc597c5085c3cbead7aa2ef0d240a9b8ae1e7fdd
2025-08-19 06:40:28 +00:00
Translation updater bot
0e926b76f5 Update git submodules
* Update extensions/ParserFunctions from branch 'REL1_43'
  to f5aaf52e31bc79d5104d4186fdf79b5a90fdd00a
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Idfcbc038dfd4de1dcea33e25c86e1533c9fbb5e6
2025-08-19 06:40:14 +00:00
Translation updater bot
655dde092f Update git submodules
* Update extensions/Nuke from branch 'REL1_43'
  to fc8661532e4f9c54c8f97c41e34b90c98e04614e
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I7f6507188400f36053beef75c38f925a9414aacb
2025-08-19 06:40:07 +00:00
Translation updater bot
f1451af5c4 Update git submodules
* Update extensions/OATHAuth from branch 'REL1_43'
  to 07812f4994641de8fdbaaf284356c2c7793f0df5
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ib143d2789b2fc4808b51febbb2e27766eb4d2b2a
2025-08-19 06:40:07 +00:00
Translation updater bot
775676b47a Update git submodules
* Update extensions/Math from branch 'REL1_43'
  to 3d0e697cde146880f429ed46fe0fe5a1fa8cce45
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: If768b49ccc790472ceb3620945dc62bc82128d23
2025-08-19 06:39:55 +00:00
Translation updater bot
ea85a32b67 Update git submodules
* Update extensions/InputBox from branch 'REL1_43'
  to 1b0f0e91afed194a9f9479c61c142e669d17acdc
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ibc315d69cabc7244022cef610f032acbaa618743
2025-08-19 06:39:47 +00:00
Translation updater bot
f3a5dc8373 Update git submodules
* Update extensions/DiscussionTools from branch 'REL1_43'
  to 185036b0ab5150b4706c73ae583a6a1611d7c4a9
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I0a66b92cdebd59ce03b88cba0ff5b4f9dc12bf18
2025-08-19 06:39:05 +00:00
Translation updater bot
b1b1b0d81d Update git submodules
* Update extensions/Echo from branch 'REL1_43'
  to c1b049e6e36d9cedd2f0b771b00131e722a55586
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I0a66b92cdebd59ce03b88cba0ff5b4f9dc12bf18
2025-08-19 06:39:00 +00:00
Translation updater bot
66745b2916 Update git submodules
* Update extensions/CodeEditor from branch 'REL1_43'
  to c7c4a0f8c31203139635d8fe7ed836e8bf62096b
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ifb23df690981bda70adf504f149ce954e5d3942f
2025-08-19 06:38:48 +00:00
Translation updater bot
7f9ccd264c Update git submodules
* Update extensions/ConfirmEdit from branch 'REL1_43'
  to 845db6e7f68b11c96e347397f732837a3579a4f0
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I70a480c0d69ea60a6bd4e2e598958d74bf2986b6
2025-08-19 06:38:46 +00:00
Translation updater bot
66fef284b6 Update git submodules
* Update extensions/Cite from branch 'REL1_43'
  to 9f098f6fd88476d28e43b39c6cd237f759c4b406
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ie57039c07cf9954a0006a60261f544316bfdd3e7
2025-08-19 06:38:41 +00:00
Translation updater bot
bd3cc2d8af Update git submodules
* Update extensions/CategoryTree from branch 'REL1_43'
  to 3194c7ae4d41972c45f07bdb2150864431c418ed
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I8535848e96de9f8b157e6140e4e1db06929f3fb3
2025-08-19 06:38:22 +00:00
Translation updater bot
a45f9e3270 Update git submodules
* Update extensions/AbuseFilter from branch 'REL1_43'
  to b77316f3518d94e4836d167542d3f416f9094601
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: I4c65dc26eeae26c190843d86a01167c6bd53ffe2
2025-08-19 06:37:57 +00:00
Gergő Tisza
9bd9289c6c filerepo: Improve identification of ForeignAPIRepo requests
These requests are usually sent to a wiki operated by a different
organization so UA etiquette is important.
* Add the site's URL (the URL of the main page, more specifically)
  as a contact address.
* Add the site's URL as a referer as well.

Considered but not done:
* Use $wgEmergencyContact as the contact part of the UA. It's not
  guaranteed to be set correctly, while the main page URL always
  exists and will usually be enough to pinpoint the wiki (except
  maybe in some intranet scenarios).
* Include information about the user making the request. Would
  be a privacy risk + probably useless due to caching.
* Include information about the page the request is for. Would
  require lots of refactoring (making the patch harder to
  backport) or relying on the context title (which might be
  fragile), and in any case probably unreliable due to caching,
  and doesn't seem very relevant to the operator of the foreign
  site.

Bug: T400881
Change-Id: I968fac6ee0ebbc5a2bd3244f57851eb64125c93d
2025-08-18 21:02:23 +00:00
Ștefan Talpalaru
82648f1d67 rdbms: Fix read-only detection for MariaDB 12
Running "SELECT @@GLOBAL.read_only" on MariaDB 12.0.2 returns "OFF"
instead of "0", which appears as "true" when cast to boolean in PHP. We
fix that by adding a specific check.

Discord thread where the bug is discussed:
https://discord.com/channels/178359708581625856/1404036592527741049

JIRA ticket in MariaDB: https://jira.mariadb.org/browse/MDEV-37429

Bug: T401570
Change-Id: Ifb04e8b7d04403b6f3dd8517c20c9c0070bd57ac
(cherry picked from commit 54d2416fbcb3a7d0e2a197ca58a755134bd18866)
2025-08-13 14:08:37 +00:00
Translation updater bot
67487848a3 Localisation updates from https://translatewiki.net.
Change-Id: I45db3046481a015c06a973df0e039dc85f9735ca
2025-08-12 10:08:28 +00:00
Translation updater bot
cedf8b95c4 Update git submodules
* Update skins/Vector from branch 'REL1_43'
  to c193424bc8894fa80964c47deb6bfe990d5f7dc6
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Ic9a07a46d989a98a23ed8f096033267ada9bf873
2025-08-12 06:57:19 +00:00
Translation updater bot
1d6addd8cb Update git submodules
* Update skins/MonoBook from branch 'REL1_43'
  to c23ebf1470dfbae311c2b5b1df0b68cc612692c3
  - Localisation updates from https://translatewiki.net.
    
    Change-Id: Iec38c68efea56a87ce5835fe2682caac7b99b46a
2025-08-12 06:57:16 +00:00