mediawiki-extensions-Confir.../ReCaptchaNoCaptcha
Florian e566dcb966 Remove getForm() and replace by getFormInformation()
This commit removes SimpleCaptcha::getForm() and replaces it by its more informative
counterpart getFormInformation(), which returns an array, which provides some
more information about the form than only the html.

The information included in the array is:
 * html: The HTML of the CAPTCHA form (this is the same as what you expected from
   getForm() previously)
 * modules: ResourceLoader modules, if any, that should be added to the output of the
   page
 * modulestyles: ResourceLoader style modules, if any, that should be added to th
   output of the page
 * headitems: Head items that should be added to the output (see OutputPage::addHeadItems)

Mostly you shouldn't need to handle the response of getFormInformation() anymore, as there's
a new function, addFormToOutput(), which takes an instance of OutputPage as a first parameter
and handles the response of getFormInformation for you (adds all information to the given
OutputPage instance, if they're provided).

Bug: T141300
Depends-On: I433afd124b57526caa13a540cda48ba2b99a9bde
Change-Id: I25f344538052fc18993c43185fbd97804a7cfc81
2016-08-04 01:45:13 +00:00
..
i18n Localisation updates from https://translatewiki.net. 2016-07-25 22:23:07 +02:00
extension.json Add AuthManager support for ReCaptcha, ReCaptchaNoCaptcha 2016-05-16 09:51:11 +00:00
HTMLReCaptchaNoCaptchaField.php Add AuthManager support for ReCaptcha, ReCaptchaNoCaptcha 2016-05-16 09:51:11 +00:00
ReCaptchaNoCaptcha.class.php Remove getForm() and replace by getFormInformation() 2016-08-04 01:45:13 +00:00
ReCaptchaNoCaptcha.php Add php code sniffer 2015-10-28 21:46:29 +00:00
ReCaptchaNoCaptchaAuthenticationRequest.php Add AuthManager support for ReCaptcha, ReCaptchaNoCaptcha 2016-05-16 09:51:11 +00:00