X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fpreferences%2FPreferencesFactory.php;h=478edce85734878c4c29ad83634139c6dce43cb2;hb=f506a05aaa035b96537b33244b0f18b093048e97;hp=685f78caaf6db23c54c56e21fb7526c4b1af8cae;hpb=0c2687f44eb0e8c7f480b7303f89056682ba0bfb;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/preferences/PreferencesFactory.php b/includes/preferences/PreferencesFactory.php index 685f78caaf..478edce857 100644 --- a/includes/preferences/PreferencesFactory.php +++ b/includes/preferences/PreferencesFactory.php @@ -28,8 +28,8 @@ use User; * A PreferencesFactory is a MediaWiki service that provides the definitions of preferences for a * given user. These definitions are in the form of an HTMLForm descriptor. * - * PreferencesForm (a subclass of HTMLForm) is used to generate the Preferences form, and handles - * generic submission, CSRF protection, layout and other logic in a reusable manner. + * PreferencesFormLegacy (a subclass of HTMLForm) is used to generate the Preferences form, and + * handles generic submission, CSRF protection, layout and other logic in a reusable manner. * * In order to generate the form, the HTMLForm object needs an array structure detailing the * form fields available, and that's what this implementations of this interface provide. Each @@ -62,7 +62,7 @@ interface PreferencesFactory { public function getForm( User $user, IContextSource $contextSource, - $formClass = \PreferencesForm::class, + $formClass = \PreferencesFormLegacy::class, array $remove = [] );