Commit graph

3188 commits

Author SHA1 Message Date
Florianschmidtwelzow 258f5019f1 Make Questy answers in arrays case-insensitive
Before, QuestyCaptcha answers were case-insensitive when there was
only one answer for a question, but they had to be lowercase when
there was an array of answers. This makes it so that when an array
of answers is provided for a question in $wgCaptchaQuestions, those
answers are case-insensitive.

Bug: T65272
Change-Id: I146b53cacf901c45ce27bd87fdf8125bfd2bc270
2015-06-12 17:58:37 +02:00
Translation updater bot 2fe3fe771f Localisation updates from https://translatewiki.net.
Change-Id: Iaff0c609d91d14fa358f4dfc69bc48c99bdc44c7
2015-06-11 21:10:19 +02:00
Translation updater bot 197deaa299 Localisation updates from https://translatewiki.net.
Change-Id: If7416631d36fa7a38a8228262598552bbdbbd959
2015-06-07 22:26:44 +02:00
Translation updater bot e86a9cdb0a Localisation updates from https://translatewiki.net.
Change-Id: I0e963d01f289a6c31cc2d6f0ba676faf91a6272c
2015-06-05 20:57:54 +02:00
Translation updater bot a29731aea2 Localisation updates from https://translatewiki.net.
Change-Id: Ib2b291291160314f78157db8f64c4fc440901261
2015-06-01 22:50:02 +02:00
Translation updater bot 44a0fb37f9 Localisation updates from https://translatewiki.net.
Change-Id: I599c66fe674563303cecde2956874a149fa5032c
2015-05-31 22:10:51 +02:00
Brad Jorsch e5cb34c058 Fix issues from recent extension registration changes
* Move ApiFancyCaptchaReload.php into the FancyCaptcha subdir
* Fix include of recaptchalib.php
* Restore efReCaptcha() that was randomly deleted

Bug: T100775
Bug: T100504
Bug: T100505
Change-Id: I70f9c3f1610fed5aa4b88f3512b86e1a40d64a6b
2015-05-29 14:35:55 +00:00
jenkins-bot 355d970038 Merge "FancyCaptcha: callbacks can't be arrays" 2015-05-27 21:20:40 +00:00
Florian 86b0aa3d37 FancyCaptcha: callbacks can't be arrays
Bug: T100561
Change-Id: I22353669a85391c3d9760a5253cac1263e895cf9
2015-05-27 20:55:40 +00:00
Translation updater bot 681316e9d9 Localisation updates from https://translatewiki.net.
Change-Id: I96b5917392f27a35e0dc47098c894492e7c7f3fd
2015-05-27 22:22:17 +02:00
paladox 1b18e91eaf Add .jshintrc
* Add .jshintrc file to ignore mediaWiki in .js file.

Change-Id: I80856d763de46eeb25267b9ccc08936022aded83
2015-05-26 22:07:18 +01:00
Translation updater bot 0b44641341 Localisation updates from https://translatewiki.net.
Change-Id: I68fe5f0c77ca363d92fa8321e3db2ea9a6866204
2015-05-26 22:20:42 +02:00
Translation updater bot 30d311c8bf Localisation updates from https://translatewiki.net.
Change-Id: I1dabc64752b7bdfbb0187bbfe04c4b8e9aa4b72a
2015-05-25 22:25:40 +02:00
Alex Monk a9b8fcec04 Fix extension.json files
Bug: T100351
Change-Id: Ib54e28594024d700f569a7ae864a26ef633e42c1
2015-05-25 20:47:09 +01:00
Translation updater bot 45a531b700 Localisation updates from https://translatewiki.net.
Change-Id: I87727072d38bde3d5755d5bc2819b56fa73dd98d
2015-05-24 22:57:50 +02:00
Translation updater bot 1c0b6cb08e Localisation updates from https://translatewiki.net.
Change-Id: Ia27d311b55ab71ab605cfa83f56c8b89e76061fb
2015-05-24 00:02:20 +02:00
jenkins-bot efb7539ddb Merge "Fixed "throw" statement" 2015-05-23 16:54:01 +00:00
Aaron Schulz daa1f05d40 Fixed "throw" statement
Change-Id: Ie1b15cc718efbbafc6885cb0282099661250c048
2015-05-23 09:51:06 -07:00
jenkins-bot b2cadc2a93 Merge "Clear PHP entry point and use extension.json for ReCaptcha" 2015-05-23 12:54:50 +00:00
jenkins-bot 6609a684b3 Merge "Use extension.json and clear PHP entry point for MathCaptcha" 2015-05-23 12:49:11 +00:00
Florian 3cbbec4539 Remove PHP entry point and use extension.json for QuestyCaptcha
Bug: T88047
Change-Id: I4c140aadc988683b9abf01b7a6f6db031ea713d3
2015-05-23 14:36:53 +02:00
Florian d7e46583ed Clear PHP entry point and use extension.json for ReCaptcha
Bug: T88047
Change-Id: Id09113674c2a4c4cfd7539b3e752bfca776a5903
2015-05-23 11:32:16 +02:00
Florian 2d0be6432e Use extension.json and clear PHP entry point for MathCaptcha
Bug: T88047
Change-Id: I0bd70e698bdd1dda3f47305f68a5e1673178c96f
2015-05-23 11:24:50 +02:00
Florian bf412aad28 Add extension.json and clear PHP entry point
Bug: T88047
Change-Id: I6930b478ea094ab9ce829f167674995de6c16bdf
2015-05-23 11:12:26 +02:00
jenkins-bot b1d134102f Merge "Move QuestyCaptcha to its own place" 2015-05-23 08:03:03 +00:00
jenkins-bot 7a89c4fd8c Merge "Move ReCaptcha to it's own place" 2015-05-23 08:01:44 +00:00
jenkins-bot aec5fdd564 Merge "Move MathCaptcha to it's own place" 2015-05-23 07:59:28 +00:00
Florian 2f0db346eb Move QuestyCaptcha to its own place
Bug: T88047
Change-Id: I8c8f97d49dc39445dbba9c12909b81898838a253
2015-05-23 07:49:47 +00:00
Aaron Schulz 35621d18a4 Removed unused $wgExtensionAssetsPath var
Change-Id: Iad5b2cec0fb57c08f3218a45337b8d052661fb4c
2015-05-21 23:21:35 -07:00
Translation updater bot 042adb7f2a Localisation updates from https://translatewiki.net.
Change-Id: Ia6bd4dd308c1a9a9ac17d873fec9ce39a626876f
2015-05-21 22:51:05 +02:00
Florian dc727507ea Move ReCaptcha to it's own place
Bug: T88047
Change-Id: I6cdb9ac1d21c84fc9b01cd90b9cba4aa3db1eccc
2015-05-21 19:08:12 +02:00
Florian 23766bee10 Move MathCaptcha to it's own place
3a. step before using ExtensionRegistration.

Bug: T88047
Change-Id: I809f1105ce3c7f5a6a2be7ebc6565c5187b7a76d
2015-05-21 19:02:34 +02:00
Florian cad5bc9200 Move FancyCaptcha to its own location
3. step in preparation of ExtensionRegistration.

Bug: T88047
Change-Id: I31d8e0c01b16aafb39b4ead7acc88f2e91d33e6a
2015-05-21 16:19:38 +00:00
Florian 4d56806849 Fix Hook function should be static
Follow up: Ifcac2ad0d7

Change-Id: I39257712623beb48270fe01e5a41f510586d5dc0
2015-05-21 18:08:41 +02:00
Florian 806c8862df Clean up ConfirmEdit.php entry point and move common files to common places
2. step to use ExtensionRegistration

Bug: T88047
Change-Id: Ifcac2ad0d792a05c391ca1776824e05ab703d5cf
2015-05-21 17:49:13 +02:00
Florian bd5c5d494e Move i18n to Captcha modules own directory
1. change in preparation for ExtensionRegistration.

Bug: T88047
Change-Id: Ia3b84d3cb71832749ae73774dadb292dc4b9157b
2015-05-21 17:32:51 +02:00
Translation updater bot 129ee6328e Localisation updates from https://translatewiki.net.
Change-Id: Iaa061ead1f3b4e2927904859c3647cfadbf192f1
2015-05-20 22:09:38 +02:00
Translation updater bot 199b4d9a73 Localisation updates from https://translatewiki.net.
Change-Id: I30ccb850d1720f3afa12518e03ba4141324d721c
2015-05-19 22:23:04 +02:00
Translation updater bot d8574e53d7 Localisation updates from https://translatewiki.net.
Change-Id: Iee14d93ff50b451e48553285d2cd33e72f990a7b
2015-05-18 22:13:20 +02:00
Translation updater bot 8e4af38cab Localisation updates from https://translatewiki.net.
Change-Id: Ibbbe35041f10fb55590dd4122809dbb663a9cb7d
2015-05-17 22:04:27 +02:00
Translation updater bot 094770d55d Localisation updates from https://translatewiki.net.
Change-Id: Ie15023dec49f172bfc136bbc0c86e88dca5057a7
2015-05-15 21:38:35 +02:00
Translation updater bot d84dcb7f36 Localisation updates from https://translatewiki.net.
Change-Id: Ic9cd551d17d704500071e6bf6e3dbc47dd634725
2015-05-12 22:14:51 +02:00
Translation updater bot 5ecae05dad Localisation updates from https://translatewiki.net.
Change-Id: Iec68c4f11eec35cbc0c0a567d250a1c875da9b6f
2015-05-09 21:47:36 +02:00
Florianschmidtwelzow 779db5aa72 Revert wrong error message and CAPTCHA handling on EditPage
Change Ia3bb66f98aa84bb6efb7a1e42fbc203b401e99b8 added a stupid implementation
for giving an error message when the CAPTCHA wasn't solved correctly, or
if a CAPTCHA trigger was triggered after the first "Save" click (e.g. "addurl").

Revert this implementation here to not confuse people.

Follow up: Ia3bb66f98aa84bb6efb7a1e42fbc203b401e99b8

Bug: T86454
Change-Id: I92956a119897f16f45a4140a98163c97e5b6bbb2
2015-05-08 20:51:59 +00:00
Florian c878fb875e Don't assume, that IContextSource::getWikiPage() always returns a WikiPage object
It could be possible, that the EditFilterMergedContent hook is called from a context,
where no WikiPage is possible (e.g. in Special NS). Check for this situation and
abort with a debug message, if no WikiPage is available.

Bug: T48342
Change-Id: I5305b89817f4c25eb7c3cbb6ee65a4a1f77205b8
2015-05-07 23:24:02 +02:00
Translation updater bot f7f4a915aa Localisation updates from https://translatewiki.net.
Change-Id: I4f32c923521ffb0cde5809cc85974952642a026d
2015-05-06 21:58:58 +02:00
Translation updater bot d4d946420c Localisation updates from https://translatewiki.net.
Change-Id: I9ca188b580765a896b9037fa761e0465f028b2f5
2015-05-05 22:39:47 +02:00
Translation updater bot afa9021f91 Localisation updates from https://translatewiki.net.
Change-Id: Icd413f111cb1543a4b5b1a8e34f6094cd206a557
2015-05-01 22:01:30 +02:00
Translation updater bot 2a3f52761e Localisation updates from https://translatewiki.net.
Change-Id: I2d5d33025b6dd7324c36833620b7d560aee6ea01
2015-04-28 21:24:46 +02:00
jenkins-bot 007cc96576 Merge "Explicitly define module position" 2015-04-28 13:49:39 +00:00