35 $this->
key = $params[
'key'];
36 $this->theme =
$params[
'theme'];
37 $this->secure =
$params[
'secure'];
38 $this->error =
$params[
'error'];
43 $js =
'var RecaptchaOptions = ' . Xml::encodeJsVar(
$attribs );
45 return Html::inlineScript( $js ) .
$widget;
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two and(2) offer you this license which gives you legal permission to copy
Creates a ReCaptcha widget.
__construct(array $params)
Parameters:
bool $secure
Use secure connection to ReCaptcha.
getInputHTML( $value)
This function must be implemented to return the HTML to generate the input object itself.
string $key
Public key parameter to be passed to ReCaptcha.
string $theme
Theme parameter to be passed to ReCaptcha.
skipLoadData( $request)
Skip this field when collecting data.
string $error
Error returned by ReCaptcha in the previous round.
do that in ParserLimitReportFormat instead use this to modify the parameters of the image all existing parser cache entries will be invalid To avoid you ll need to handle that somehow(e.g. with the RejectParserCacheValue hook) because MediaWiki won 't do it for you. & $defaults also a ContextSource after deleting those rows but within the same transaction you ll probably need to make sure the header is varied on $request
either a unescaped string or a HtmlArmor object after in associative array form externallinks including delete and has completed for all link tables whether this was an auto creation use $formDescriptor instead default is conds Array Extra conditions for the No matching items in log is displayed if loglist is empty msgKey Array If you want a nice box with a set this to the key of the message First element is the message key
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped noclasses just before the function returns a value If you return an< a > element with HTML attributes $attribs and contents $html will be returned If you return $ret will be returned and may include noclasses after processing & $attribs
The wiki should then use memcached to cache various data To use multiple just add more items to the array To increase the weight of a make its entry a array("192.168.0.1:11211", 2))
recaptcha_get_html( $pubkey, $error=null, $use_ssl=false)
Gets the challenge HTML (javascript and non-javascript version).