mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-23 15:56:50 +00:00
Fix missing getForm( OutputPage ) argument in showEditFormFields()
Follows-up 36abbc6
.
Bug: T104477
Change-Id: I7fd99b495b07801aa299ea032c325d4ca4368ec5
This commit is contained in:
parent
d3c3b73e7c
commit
2f4326a8be
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue