This commit is contained in:
Cyberes 2020-10-24 17:48:46 -06:00
parent edf64453f7
commit 06e39b626b
1 changed files with 8 additions and 8 deletions

View File

@ -189,14 +189,14 @@ class SpecialContact extends UnlistedSpecialPage {
]; ];
} }
if ( $this->useCaptcha() ) { // if ( $this->useCaptcha() ) {
$formItems['Captcha'] = [ // $formItems['Captcha'] = [
'label-message' => 'captcha-label', // 'label-message' => 'captcha-label',
'type' => 'info', // 'type' => 'info',
'default' => $this->getCaptcha(), // 'default' => $this->getCaptcha(),
'raw' => true, // 'raw' => true,
]; // ];
} // }
$form = HTMLForm::factory( 'ooui', $form = HTMLForm::factory( 'ooui',
$formItems, $this->getContext(), "contactpage-{$this->formType}" $formItems, $this->getContext(), "contactpage-{$this->formType}"