Florianschmidtwelzow has uploaded a new change for review. https://gerrit.wikimedia.org/r/229745
Change subject: Follow up ConfirmEdit change of SimpleCaptcha::getForm() ...................................................................... Follow up ConfirmEdit change of SimpleCaptcha::getForm() SimpleCaptcha::getForm() now requires an instance of OutputPage as the first parameter to allow getForm() to add modules or content to the output directly. Follow up: I5908fd2716786237adb01a403d5bd1e22d95c563 Bug: T108145 Change-Id: Id1fdb5c8cca8d55286e92f3bd1a82a6079567464 --- M includes/SpamFilter/ConfirmEdit.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow refs/changes/45/229745/1 diff --git a/includes/SpamFilter/ConfirmEdit.php b/includes/SpamFilter/ConfirmEdit.php index 98026eb..02e904f 100644 --- a/includes/SpamFilter/ConfirmEdit.php +++ b/includes/SpamFilter/ConfirmEdit.php @@ -33,7 +33,7 @@ // getting here means we submitted bad content without good captcha // result (or any captcha result at all) - let's get the captcha // HTML to display as error message! - $html = $captcha->getForm(); + $html = $captcha->getForm( $context->getOutput() ); // some captcha implementations need CSS and/or JS, which is added // via their getForm() methods (which we just called) - -- To view, visit https://gerrit.wikimedia.org/r/229745 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id1fdb5c8cca8d55286e92f3bd1a82a6079567464 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Flow Gerrit-Branch: master Gerrit-Owner: Florianschmidtwelzow <florian.schmidt.stargatewis...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits