Deprecated: This feature isdeprecated and should no longer be used, however it is possibly still available for reasons of backwardscompatibility. This feature was deprecated in version 1.36.0.SeeProtectionFormAddFormFields for an alternative way to use this feature. |
| ProtectionForm::buildForm | |
|---|---|
| Available fromversion 1.16.0 Called after all protection type fieldsets are made in the form. | |
| Define function: | publicstaticfunctiononProtectionForm_buildForm($article,$output){...} |
| Attach hook: | Inextension.json:{"Hooks":{"ProtectionForm::buildForm":"MediaWiki\\Extension\\MyExtension\\Hooks::onProtectionFormbuildForm"}} |
| Called from: | File(s):ProtectionForm.php |
| Interface: | ProtectionForm__buildFormHook.php |
For more information about attaching hooks, seeManual:Hooks.
For examples of extensions using this hook, seeCategory:ProtectionForm::buildForm extensions.