Commit graph

16 commits

Author SHA1 Message Date
Taavi Väänänen
e2fd40cb77
Drop hard-deprecated Parser::getFreshParser
Bug: T325959
Change-Id: I6c4f33d7b1104756559043290a13ffccd3941d07
2024-04-21 22:06:10 +03:00
Taavi Väänänen
092540e393
Drop hard-deprecated UserGroupMembership::getGroupName/getGroupMemberName
Bug: T325673
Change-Id: Idfe220b10dcf870bdc17cd784aab66e21964e0d8
2024-04-21 22:06:10 +03:00
Aaron Schulz
6afeea6ce1 rdbms: hard-deprecate SqlPlatform::tableNames()
Change-Id: Iaee516dc25c50f8c423708bc514ee765b0697ba3
2024-04-19 08:41:36 -04:00
Eric Gardner
2c330e6acd Update Codex from 1.3.6 to 1.4.0
Bug: T331403
Bug: T349793
Bug: T357714
Bug: T358861
Bug: T360341
Bug: T360939
Bug: T361115
Bug: T361541
Bug: T361734
Bug: T361908
Bug: T361994
Bug: T362270
Change-Id: I4711dd4f56307cd4e4c84134eb247c2108963511
2024-04-17 14:01:39 -07:00
Aaron Schulz
995cc0982e rdbms: deprecate ISQLPlatform::tableNamesN()
Change-Id: I838af610047bcb71e4155cd0e1f52a0062f6f651
2024-04-16 15:34:15 -07:00
Aaron Schulz
086ed2e295 rdbms: deprecate IMaintainableDatabase::textFieldSize
Change-Id: I3d4f75e4f7f4518fc40194d36bd8cf6ea294b03c
2024-04-16 13:04:32 -07:00
Derick Alangi
791cb9f676
search: Use ServiceOptions not full config object
This patch uses the recommended MW practice for injecting
settings into MW services. Instead of passing in the full
config object, pass in service options which MW service wiring
will use to lookup settings/options from config sources.

So in this patch, the various options have been identified
and put into `CONSTRUCTOR_OPTIONS` constant and inject via
service wiring.

Test plan
=========
Ensure that the special page: `Special:Search` still works
with this patch checkout on your local test wiki.

When you visit `Special:Search` on your local wiki, you should
see a search form view. Type in something like: "Main Page" and
then hit search. If everything works well, then local test passes.

NOTE
====
This patch also resolves a TODO which mentions the removal of
the `getConfig()` method from the SearchEngineConfig class.

Change-Id: Ib5dfc10f3f210c6c35247f4f30f9549dd60e0af7
2024-04-16 15:50:43 +01:00
jenkins-bot
7cae749cab Merge "htmlform: Remove the reset button" 2024-04-15 19:12:23 +00:00
Volker E.
48459c0c62 htmlform: Remove the reset button
Nowhere it has ever been activated for many years.
Nobody has been missing it.
Nobody wants it.

Bug: T361032
Depends-On: I2761d634b2c351d755c664778ee0a4796d67c37b
Depends-On: I419cba60e43e10a0a3003f911bd125573b3b7cd7
Change-Id: I067866abc9cc6acdcf05b6048416cfa6caad66d6
2024-04-15 18:46:58 +00:00
daniel
53a16f757b REST: Deprecate using "post" as the parameter source
Note that "post" parameters remain accessible through
getValidatedParams(), while "body" parameters have to be
accessed though getValidatedBody().

This adds a numebr of tests that ensure that this remains to be the case, while deprecation warnings are triggered when appropriate.

Bug: T358560
Change-Id: Ia0eedb383e69b48a0baa0895a8c9d2229f670367
2024-04-15 20:02:06 +02:00
jenkins-bot
3dade35b0a Merge "StatusValue: Add a getter for MessageSpecifier list" 2024-04-11 12:06:50 +00:00
jenkins-bot
fe1d552ba2 Merge "Document more methods that accept MessageSpecifier, not just Message" 2024-04-11 12:06:43 +00:00
James D. Forrester
da70c43115 build: Upgrade eslint-config-wikimedia to 0.27.0
Two odd compat/compat warnings not detecting the implicit sniffs.
Otherwise a no-op.

Change-Id: Ibfbf8f2653a0954f773ebdd98268d02f7b978eb6
2024-04-09 19:57:03 -04:00
Bartosz Dziewoński
f818da9351 StatusValue: Add a getter for MessageSpecifier list
An array of MessageSpecifier objects is easier to deal with than the
"legacy error array" format, which is an array of whatever wfMessage()
accepts, which can be a bunch of different things.

Deprecate some existing getters.

Change-Id: Ibc4ce11594cf36ce7b2495d2636ee080d3443b04
2024-04-10 00:13:04 +02:00
Bartosz Dziewoński
02044a5ba1 Document more methods that accept MessageSpecifier, not just Message
These methods can already handle any MessageSpecifier, but their
documentation didn't show this.

Change-Id: I1323d18baf17a8a27cc9bed31860c4cc89e61a22
2024-04-09 20:25:18 +02:00
James D. Forrester
b62087dea2 Prepare active branch following REL1_42 cut, labelling as 1.43-alpha
Bug: T359839
Change-Id: Idf875e340520f9d05869f9d5d2df34f782d977c5
2024-04-08 21:35:12 -04:00