Commit graph

1135 commits

Author SHA1 Message Date
John Du Hart a3255b5469 Removing global usage in the global scope 2011-12-23 21:24:12 +00:00
Raimond Spekking 58c500aa36 Localisation updates for core and extension messages from translatewiki.net 2011-12-23 21:10:51 +00:00
Raimond Spekking 51dc2784b5 Localisation updates for core and extension messages from translatewiki.net 2011-12-22 20:15:58 +00:00
Platonides c7b3019852 Don't check badlogin attempts in memcached if we are not configured to show captchas on bad login.
Solves problem reported in http://www.mediawiki.org/w/index.php?title=Extension_talk:ConfirmEdit&offset=20111218172150#Banned_user_got_banned_until_he_logs_in_9982
where "$wgCaptchaTriggers['badlogin'] = false was set to disable that captcha, but as the user had already passed the threshold, it still was shown.
2011-12-21 23:39:53 +00:00
Raimond Spekking 2b77a28459 Localisation updates for core and extension messages from translatewiki.net 2011-12-19 20:15:36 +00:00
Raimond Spekking de7c64eb6c Localisation updates for core and extension messages from translatewiki.net 2011-12-14 20:09:13 +00:00
Brion Vibber 3edbac3674 Update a butt-ton of extension about URLs to point to https://www.mediawiki.org/ 2011-12-13 23:49:33 +00:00
Jeroen De Dauw c068e3324b follow up to r106097 - somehow managed to remove a line o_O also did some stylizing 2011-12-13 22:29:13 +00:00
Jeroen De Dauw 485ae0e303 kill wfGetIP 2011-12-13 21:24:03 +00:00
Raimond Spekking d6b7df7429 Localisation updates for core and extension messages from translatewiki.net 2011-12-11 20:35:30 +00:00
Niklas Laxström 208ae34b0a Re-committing Asirra module after cleanup.
Ping r91976
2011-12-09 16:10:27 +00:00
Amir E. Aharoni 5dfbdb2fb7 Followup to r102105. Removed dir="ltr" from the math expression so as not to force LTR direction, because in some contexts it can be right-to-left, for example with Eastern Arabic digits. Instead, I removed the spaces before and after the operator so that the Unicode algorithm will set the direction automatically. 2011-12-08 14:22:41 +00:00
Mark A. Hershberger 07711cb2a9 Initial, pre-test, commit of modified patch for Bug 31608 - API edit support for reCAPTCHA
From the comment:

    This patch implements addCaptchaAPI and removes ConfirmEdit, since
    it's unnecessary - it seems it was reimplemented in ReCaptcha to
    detect when the captcha had to be shown for the first time and not
    show an error message, but a minor change to passCaptcha ( if (
    $response === null ) { return false; } ) accomplishes that.

    Because the api edit module sets wpCaptchaId and wpCaptchaWord,
    those are passed to recaptcha as recaptcha_challenge_field and
    recaptcha_response_field if the latter two are not set. The api
    returns only the public key and the error message - the client can
    use this to ask the recaptcha server for a captcha, it works in
    javascript at least.

Will test and comment further.
2011-12-01 16:59:49 +00:00
Mark A. Hershberger d0f09207fe moar w/s fixups 2011-12-01 16:51:18 +00:00
Mark A. Hershberger 26408799a5 w/s fixups before real changes. 2011-12-01 16:42:11 +00:00
Mark A. Hershberger d40e00b39a apply patch from Bug 32501 - [QuestyCaptcha] Help page is broken
Fixes:

  When trying to open the help page, the following messages appear:
<pre>
Notice: Undefined property: QuestyCaptcha::$storage in
/.../extensions/ConfirmEdit/QuestyCaptcha.class.php on line 68

Fatal error: Call to a member function cookiesNeeded() on a non-object in
/.../extensions/ConfirmEdit/QuestyCaptcha.class.php on line 68
</pre>

Might need to be merged so Extension Distributor can use it?
2011-12-01 16:24:49 +00:00
Raimond Spekking d039186114 Localisation updates for core and extension messages from translatewiki.net 2011-11-28 21:01:31 +00:00
Sam Reed 5e0bac6d86 "else if" -> "elseif" 2011-11-25 00:20:54 +00:00
Raimond Spekking 0f719d7576 Localisation updates for ToolserverI18N from translatewiki.net 2011-11-24 20:50:30 +00:00
Sam Reed 9e4951f262 Fix hook copy paste fail
Move rest of captcha params out of api/ApiEditPage.php
2011-11-23 20:37:13 +00:00
Sam Reed 80e9b337ee Kill the abstract Captcha class
Not used anywhere, everything else uses the SimpleCaptcha class as the base
2011-11-23 19:21:12 +00:00
Sam Reed 0a66fd76f1 MW_SUPPORTS_EDITFILTERMERGED has been in since r27416
Kill the alternate EditFilter hook usage (underlying code still used, probably wants refactoring at somepoint)

Simplify a boolean return
2011-11-23 19:18:30 +00:00
Sam Reed 64b6239348 * (bug 32609) API: Move captchaid/captchaword of action=edit from core to Captcha extension(s)
Left setting of wpCaptchaId and wpCaptchaWord in core. Can't think of a sane way to check and set them via an extension (subclass and override, or a hook). Annoyingly APIEditBeforeSave doesn't pass the params array
2011-11-23 19:09:57 +00:00
Siebrand Mazeland 332070c4a7 Localisation updates from http://translatewiki.net. 2011-11-23 18:43:52 +00:00
Raimond Spekking 72e428aefe Localisation update for core and extension messages from translatewiki.net 2011-11-19 14:32:52 +00:00
Raimond Spekking b29604ba8b Localisation updates for core and extension messages from translatewiki.net 2011-11-16 20:05:35 +00:00
Raimond Spekking 0ec7537c29 Localisation updates for core and extension messages from translatewiki.net 2011-11-12 21:52:22 +00:00
Amir E. Aharoni beb6a182eb FU r102105, escaped the quotes. 2011-11-05 16:54:21 +00:00
Amir E. Aharoni 3c9daa44ab Adding dir="ltr" to the label, to prevent wrong appearance of the arithmetic expression. 2011-11-05 16:50:55 +00:00
Raimond Spekking 6dea2030f9 Localisation updates for core and extension messages from translatewiki.net 2011-11-03 20:16:37 +00:00
Raimond Spekking 29af79ef09 Localisation updates for core and extension messages from translatewiki.net 2011-10-28 19:53:17 +00:00
John Du Hart e4253ff56d Followup 100813, use Xml::encodeJsVar and Html::inlineScript 2011-10-27 11:34:34 +00:00
Raimond Spekking 22a7055adb Localisation updates for core and extension messages from translatewiki.net 2011-10-26 19:30:37 +00:00
John Du Hart c9f3c87280 Bug 31609 - Option to change reCAPTCHA theme
Patch by Nx.devnull
2011-10-26 14:51:34 +00:00
Raimond Spekking e3848b7480 Localisation updates for core and extension messages from translatewiki.net 2011-10-23 19:48:36 +00:00
Platonides 1eb6f82d00 Add required attribute to captcha answers per
http://www.mediawiki.org/wiki/Extension_talk:ConfirmEdit#HTML5_required_input_8261
This won't have any real-world effect until r67283 
HTML5 form validation is enabled again.
2011-10-21 14:59:16 +00:00
Raimond Spekking 4d249caac7 Localisation updates for core and extension messages from translatewiki.net 2011-10-20 19:16:53 +00:00
Sven Heinemann 39bf5608e2 Easier installation: is now automaticaly set for every additional plugin. 2011-10-14 23:09:19 +00:00
Sam Reed ac1e773885 Fix more comments 2011-10-14 21:30:16 +00:00
Raimond Spekking fdad1d0937 Localisation updates for core and extension messages from translatewiki.net 2011-10-14 20:06:14 +00:00
Raimond Spekking bcdc59ad55 Localisation updates for core and extension messages from translatewiki.net 2011-10-11 19:57:27 +00:00
Raimond Spekking 87afab9f5e Localisation updates for core and extension messages from translatewiki.net 2011-10-09 20:04:54 +00:00
Raimond Spekking e1dce955ec Localisation updates for core and extension messages from translatewiki.net 2011-10-06 21:34:11 +00:00
Raimond Spekking 6a7fcc30b6 Localisation updates for core and extension messages from translatewiki.net 2011-10-05 19:39:20 +00:00
Raimond Spekking bf413831d0 Localisation updates for core and extension messages from translatewiki.net 2011-10-04 20:02:01 +00:00
Raimond Spekking bbe591ffe7 Localisation updates for core and extension messages from translatewiki.net 2011-10-03 18:58:08 +00:00
Brion Vibber 791861ade7 * (bug 31252) ReCaptcha HTTPS support, avoids mixed-content security warnings
Patch from Alex Legler with a slight tweak for easier 1.17 compat (use $_SERVER['HTTPS'] directly as WebRequest::detectPort() isn't there yet)

Updates recaptchalib.php to current: version 1.11 from http://code.google.com/p/recaptcha/downloads/detail?name=recaptcha-php-1.11.zip&can=2&q=
2011-09-29 21:31:11 +00:00
Raimond Spekking 395c9715bf Localisation updates for core and extension messages from translatewiki.net 2011-09-23 20:09:54 +00:00
Raimond Spekking d395a3eb47 Localisation updates for core and extension messages from translatewiki.net 2011-09-22 19:48:56 +00:00
Raimond Spekking d69a8cb9b2 Localisation updates for core and extension messages from translatewiki.net 2011-09-18 19:42:47 +00:00