Commit graph

121760 commits

Author SHA1 Message Date
jenkins-bot
2e3ee2af3f Merge "Move filepage styles to Skin::getDefaultModules()" 2024-02-07 22:01:50 +00:00
jenkins-bot
9e27d4ebb4 Merge "searchSuggest: Prevent error request.abort is not a function" 2024-02-07 21:07:19 +00:00
Lucas Werkmeister
1ffc677faa Move filepage styles to Skin::getDefaultModules()
Instead of duplicating them in ImagePage and EditPage.

Bug: T356505
Change-Id: I208fc6f5128205e7620247a3a7c6679e81247058
Co-Authored-By: Timo Tijhof <krinklemail@gmail.com>
2024-02-07 20:34:29 +01:00
James D. Forrester
1298b4fc2c Hard-deprecate Title::getCdnUrls
Depends-On: Ib709a6f7d9d89f3906c5578d25d9036fd326f1c5
Change-Id: I7be53aa758761292a1544bd8273575c7c240abc9
2024-02-07 19:09:25 +00:00
jenkins-bot
067cd38422 Merge "Rename PostCacheTransformHookRunner" 2024-02-07 18:48:52 +00:00
jenkins-bot
ff6e1e50e9 Merge "ApiMain: Remove fallback IDs for headings in generated doc" 2024-02-07 18:29:12 +00:00
jenkins-bot
ae771fa7ec Merge "Deprecate array_merge_recursive merge strategy for extension/skins" 2024-02-07 18:23:21 +00:00
jenkins-bot
0ce35a7aa6 Merge "Drop six private properties of Title, deprecated in 1.37" 2024-02-07 18:16:40 +00:00
jenkins-bot
854f345e60 Merge "Drop Title::GAID_FOR_UPDATE, deprecated in 1.34" 2024-02-07 18:16:32 +00:00
jenkins-bot
41a6db4c0e Merge "WebRequest: Remove 'deprecated' mark from unstable Telemetry pointer" 2024-02-07 18:13:32 +00:00
Isabelle Hurbain-Palatin
ec9dc3d4c4 Rename PostCacheTransformHookRunner
Follow-up to I53551ec6d6471569709c71c1155729e550f64de8.

Bug: T348253
Change-Id: Ia08624a6770070313bf8bbaa11df29e4ed30b73b
2024-02-07 13:01:20 -05:00
Timo Tijhof
63270f35cd WebRequest: Remove 'deprecated' mark from unstable Telemetry pointer
While not formally specified in the Stable interface policy, it is
imho not recommended to deprecate a method in a stable class with a
pointer to a method in an `@unstable` class. This sends a mixed signal
to developers.

Keeping this as wrapper method is harmless either way, but I suggest
removing this so that we do not create send automatic nudges to
contributors to change existing code (yet).

Bug: T346211
Change-Id: Iddf8f286e3ffdfce32a8fc2cc95a4e1d4893e146
2024-02-07 17:37:55 +00:00
Cindy Cicalese
c22300ec98 Deprecate array_merge_recursive merge strategy for extension/skins
The array_merge_recursive merge strategy is not intuitive and not
recommended. It does not appear to be used in any of the extensions
or skins that codesearch is aware of. To prevent confusion and
accidental use of array_merge_recursive when the behavior of
array_replace_recursive is likely desired, the array_merge_recursive
merge strategy is deprecated by this patch.

Bug: T292602
Change-Id: Ia0b861c308e6c7b4d40994af4c535ffdfa2b9ff5
2024-02-07 12:37:47 -05:00
jenkins-bot
297b88cff9 Merge "Explicitly define padding for redirect link" 2024-02-07 17:17:59 +00:00
Fomafix
d15a50326b searchSuggest: Prevent error request.abort is not a function
The change 4ccc57ff0b cause the error
  Uncaught TypeError: request.abort is not a function
in the JavaScript console.

Change-Id: Id431d21e242d64245bc3722e62962a598002d44f
2024-02-07 16:19:45 +00:00
Translation updater bot
70bc557b3b Localisation updates from https://translatewiki.net.
Change-Id: I3aacbdb2fa92bd0a5005f01f45106212350eecb5
2024-02-07 08:12:55 +01:00
jenkins-bot
e303257d2e Merge "Change " to ' for values that may need to escape $" 2024-02-07 02:40:10 +00:00
jenkins-bot
48be34cf60 Merge "Stop using $wgUseSameSiteLegacyCookies" 2024-02-07 00:58:32 +00:00
jenkins-bot
4e77373325 Merge "docs: Remove widgets from class list" 2024-02-07 00:30:09 +00:00
Tim Starling
7c81d82d76
Stop using $wgUseSameSiteLegacyCookies
* Deprecate the wgUseSameSiteLegacyCookies configuration variable and
  imply false (the previous default).
* Deprecate WebRequest::getCrossSiteCookie(), which was introduced to
  support this feature.
* Ignore the sameSiteLegacy option if it is passed to
  WebResponse::setCookie() or mediawiki.cookie.set(). The configuration
  variable can't be removed until the after the JS change is deployed.

Bug: T344791
Change-Id: I30392ebc02809bc6b6ee2070d3e468e48d5d1fae
2024-02-06 16:25:38 -08:00
jenkins-bot
0e593c7a28 Merge "Migrate bot passwords to virtual domains" 2024-02-07 00:11:25 +00:00
apaskulin
7889ca61b8 docs: Remove widgets from class list
Removes a conflicting annotation causing widgets to be
listed in the generated documentation as a class.

Bug: T356723
Change-Id: Ic8e0dd4f7410b16836c93f9b7a580c66b6132f2b
2024-02-06 15:55:44 -08:00
Amir Sarabadani
877546a2de installer: Make logo preview use codex elements
Currently, it is unstyled divs that don't look very well.
Alternative approach to I85e38a9ff16979f

Change-Id: Ic5cb76dbc4c919e059a6648200feecc037326230
2024-02-06 23:40:02 +00:00
jenkins-bot
0b66d1be37 Merge "Add PHPUnit test for MessageFormatterFactory class" 2024-02-06 22:23:39 +00:00
jenkins-bot
a97e38719d Merge "Documentation: Add documentation for mediawiki.searchSuggest" 2024-02-06 22:06:25 +00:00
jenkins-bot
550c7d4de7 Merge "WebRequest: Fix default for backwards compat" 2024-02-06 22:03:12 +00:00
jenkins-bot
57b9365d9b Merge "docs: Ignore non-public APIs" 2024-02-06 21:40:59 +00:00
jenkins-bot
949accf45c Merge "Remove mention of removal in 1.38 for wgEnablePartialActionBlocks" 2024-02-06 21:40:18 +00:00
Jon Robson
5d133563e7 Explicitly define padding for redirect link
Bug: T352875
Change-Id: I609023138a0102e400538f61d6625c8472245064
2024-02-06 20:37:35 +00:00
Doğu Abaris
43c43bb145 Add PHPUnit test for MessageFormatterFactory class
This commit introduces PHPUnit test for the MessageFormatterFactory
class. The test ensure that the getTextFormatter method behaves as
expected in various scenarios, including handling different language
codes and message formats.

Change-Id: If54ea938cc851e4728ef70866466afdd82d56ad6
2024-02-06 20:13:12 +00:00
Taavi Väänänen
c68b993860
WebRequest: Fix default for backwards compat
Fixes an unintentional breaking change in commit
24d0aee05e.

Bug: T356800
Change-Id: I86d7f1c3845141db301c86accbdf677bef71561d
2024-02-06 22:04:20 +02:00
Jon Robson
4ccc57ff0b Documentation: Add documentation for mediawiki.searchSuggest
Bug: T352308
Change-Id: I13360bb3344e6243cd461c5af19e56a7ba38510c
2024-02-06 19:26:45 +00:00
apaskulin
5ca883ba24 docs: Ignore non-public APIs
Excludes these methods from the generated documentation
Search results should not be appearing for module.exports

Bug: T352308
Change-Id: Ide2d2d29f36b49d60305ae95cfa7203f02d99985
2024-02-06 11:09:44 -08:00
jenkins-bot
03c6c60ed4 Merge "Deprecate Xml::wrapClass, used in only one other repo" 2024-02-06 19:00:24 +00:00
jenkins-bot
5564ce83b2 Merge "Update Codex from v1.3.1 to v1.3.2" 2024-02-06 18:54:28 +00:00
jenkins-bot
2a9b5ed9a6 Merge "editRecovery: Remove private isSameAsOriginal function from docs" 2024-02-06 18:54:20 +00:00
jenkins-bot
a88a76c70e Merge "ChangeTags: Switch from mixed Xml and Html classes to pure Html ones" 2024-02-06 18:25:02 +00:00
Jon Robson
ffcf02a785 editRecovery: Remove private isSameAsOriginal function from docs
Showing up at https://doc.wikimedia.org/mediawiki-core/master/js/global.html

Bug: T352308
Change-Id: I2109d048b676571fa9e0f028cce9f63ad686415c
2024-02-06 18:16:01 +00:00
James D. Forrester
c65eaf73a0 Deprecate Xml::wrapClass, used in only one other repo
Change-Id: I2b49625a8519371dd392d0ba6786e2831cc5f83b
2024-02-06 13:12:27 -05:00
Anne Tomasevich
22cebae2b2 Update Codex from v1.3.1 to v1.3.2
Bug: T329963
Bug: T338184
Bug: T338802
Bug: T341224
Bug: T355274
Bug: T355570
Change-Id: Ie0a4b82662d796f9461aa4809d5e58c5c6295e1a
2024-02-06 12:49:53 -05:00
James D. Forrester
f318b7a85a ChangeTags: Switch from mixed Xml and Html classes to pure Html ones
Bug: T356544
Change-Id: I4ab64713e5e5bb4aeee087bd7ed76d0754a75e43
2024-02-06 11:49:27 -05:00
jenkins-bot
ef50017811 Merge "ParserObserver: Limit the size of cache of previous parse traces" 2024-02-06 16:01:26 +00:00
jenkins-bot
c3b22d821d Merge "filerepo: Allow deletion of files with invalid img_major_mime" 2024-02-06 15:36:35 +00:00
apasternak
2b9d0ac655 filerepo: Allow deletion of files with invalid img_major_mime
Allow deletion of files where img_major_mime has a value not allowed by enum (0, '').

Bug: T355530
Change-Id: Ia731af30c32fd14adaf7571210c7703d6097aa54
2024-02-06 15:23:16 +01:00
Bartosz Dziewoński
4b1bbe2803 ApiMain: Remove fallback IDs for headings in generated doc
This adds significant complexity and provides very little value.
As far as I can tell, we've never linked to those IDs. Other headings
in generated documentation don't have fallback IDs (in ApiHelp).

I'm mostly doing this because I want to deprecate and remove
Linker::makeHeadline(), which is a function with really silly
parameters that grew out of a regexp replacement callback in
Parser.php, and which – except for these usages I'm removing
– is only used there.

Change-Id: If793f5023fca744f109f5a1f0f0ad3857375db8c
2024-02-06 15:06:28 +01:00
Dreamy Jazz
79dd6be086 Remove mention of removal in 1.38 for wgEnablePartialActionBlocks
Why:
* The wgEnablePartialActionBlocks config is marked as unstable,
  but also as to be removed before 1.38.
* This is no longer the case as this config is present in 1.42 and
  as such this should be removed and instead still indicate this
  is unstable without listing a release version for this config.

What:
* Reword the @unstable tag for the wgEnablePartialActionBlocks
  to no longer reference a specific release version.

Bug: T280531
Change-Id: I317cd07c42aa59c6a45bf7403fdc79a363880bb5
2024-02-06 13:41:49 +00:00
jenkins-bot
201dfb859b Merge "Bump wikimedia/parsoid to 0.19.0-a16" 2024-02-06 11:46:44 +00:00
jenkins-bot
5c64d5dae0 Merge "docs: Format descriptions" 2024-02-06 02:33:59 +00:00
apaskulin
2213746919 docs: Format descriptions
Make sure all JSDoc descriptions end with a period in
order to populate the summary field in the theme.

Bug: T352308
Change-Id: I787b9c8a59b5e981b78a24f2b380c190eec6a21d
2024-02-05 16:40:32 -08:00
jenkins-bot
3a003e4be9 Merge "ChangesList: Switch from mixed Xml and Html classes to pure Html ones" 2024-02-05 23:46:25 +00:00