Page MenuHomePhabricator

ProtectionForm::buildForm is deprecated in favor of ProtectionForm::addFormFields
Open, Needs TriagePublic

Description

As part of the OOUI-ification of the protection form we will need to change the function signature of the hook ProtectionForm::buildForm in a similar way to how we changed the function signature of SpecialContributions::getForm::filters

according to https://codesearch.wmflabs.org/search/?q=ProtectionForm%3A%3AbuildForm&i=nope&files=&repos=
We will need some cooperation from the following extensions:

  • FlaggedRevs
  • ArticleFeedbackv5
  • mediawiki-PageProtect

This will follow the deprecation policy.
A deprecation notice has been added for 1.35.