Fix missing getForm( OutputPage ) argument in showEditFormFields()

Follows-up 36abbc6.

Bug: T104477
Change-Id: I7fd99b495b07801aa299ea032c325d4ca4368ec5
This commit is contained in:
Timo Tijhof 2015-07-01 20:16:59 +01:00
parent d3c3b73e7c
commit 2f4326a8be

View file

@ -71,7 +71,7 @@ class SimpleCaptcha {
if ( $this->action !== 'edit' ) {
unset( $page->ConfirmEdit_ActivateCaptcha );
$out->addWikiText( $this->getMessage( $this->action ) );
$out->addHTML( $this->getForm() );
$out->addHTML( $this->getForm( $out ) );
}
}
@ -284,7 +284,7 @@ class SimpleCaptcha {
* @param $content Content|string
* @param $section string
* @param $isContent bool If true, $content is a Content object
* @param $oldtext string The content of the revision prior to $content. When
* @param $oldtext string The content of the revision prior to $content. When
* null this will be loaded from the database.
* @return bool true if the captcha should run
*/