Go to file
Bartosz Dziewoński 80f56e599b ConsequencesExecutor: Use Message objects in the Status
In my recent change c458651370, which used Status::getMessages()
in FilteredActionsHandler, I overlooked the fact that it returns
MessageSpecifier objects instead of Message objects, and the return
value of MessageSpecifier::getParams() is not exactly specified
(the docs only promise that it's an array).

Now I'm working on a MediaWiki core change (I625a48a6ec) that
causes a different MessageSpecifier to be used, which stores
parameters in a different format, and would break that code.

To avoid problems, ConsequencesExecutor now stores Message objects
in the Status, which guarantees that FilteredActionsHandler will
get the same objects back.

Change-Id: I2c1bc8dde9a078d03badecf6d89443b65eeb92c5
2024-07-28 20:08:56 +00:00
.phan phan: Update config to load ConfirmEdit 2024-05-05 11:02:07 +03:00
db_patches Drop af_user(_text) and afh_user(_text) fields 2024-06-10 18:48:21 +02:00
i18n Localisation updates from https://translatewiki.net. 2024-07-26 09:42:10 +02:00
includes ConsequencesExecutor: Use Message objects in the Status 2024-07-28 20:08:56 +00:00
maintenance Use IDatabase::buildComparison in MigrateActorsAF 2024-07-16 23:35:21 +02:00
modules build: Updating npm dependencies 2024-06-04 00:33:18 +00:00
tests AbuseFilterExtensionJsonTest: Allow skipping other extension hooks 2024-07-28 20:08:30 +00:00
.eslintignore
.eslintrc.json
.gitignore
.gitreview
.phpcs.xml build: Updating mediawiki/mediawiki-codesniffer to 43.0.0 2024-03-16 18:53:05 +00:00
.stylelintrc.json
AbuseFilter.alias.php Add new special page aliases for Chinese variants 2024-06-30 15:55:02 +08:00
CODE_OF_CONDUCT.md
composer.json Upgrade required version of wikimedia/equivset to 1.7.0 2024-07-26 16:48:17 -04:00
COPYING
extension.json ConfirmEditHandler: Use SimpleCaptcha API to invoke CAPTCHA display 2024-06-26 16:07:40 +00:00
Gruntfile.js
package-lock.json build: Updating npm dependencies 2024-06-16 16:32:36 +00:00
package.json build: Updating npm dependencies 2024-06-16 16:32:36 +00:00
quibble.yaml build: Add quibble.yaml and enable early warning bot feedback 2024-05-10 14:25:14 +02:00