Commit graph

10 commits

Author SHA1 Message Date
Kunal Mehta 5ed7e42d1b Use __DIR__ directly
Change-Id: Ie9f94fc91d3e582d332c3a4f26917b7f3e033ffa
2014-12-30 11:04:51 -08:00
Luis Felipe Schenone 614c626964 Improved the QuestyCaptcha syntax for setting questions and answers
Simple change to one method, QuestyCaptcha::getCaptcha, that allows to
set questions and answers like so:

$wgCaptchaQuestions = array(
	'The capital of England?' => 'London',
	'The capital of France?' => 'Paris',
	'The capital of Spain?' => 'Madrid',
);

Backwards compatibility with the previous syntax has been preserved.

Change-Id: Ife16bfb4c63864f8bc9117dad15136288564e2b0
2014-09-26 17:25:09 +08:00
Siebrand Mazeland aca764a8c2 Migrate to JSON i18n
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: I71327ba3a0db3f9a94afcac033f1d2fde0ca4173
2014-03-26 12:58:25 +01:00
Siebrand Mazeland 3ef1ab740a More maintenance for ConfirmEdit extension.
* Replace dirname( __FILE__ ) by __DIR__.
* Replace deprecated method calls. Now requires MediaWiki 1.19 or later.
* Fix some documentation.
* Remove commented out code.
* Remove superfluous newlines.

Change-Id: Ib73e1619aa331c83e375224b6adae4c1e5db3bb9
2012-09-02 14:26:45 +02:00
Sven Heinemann 39bf5608e2 Easier installation: is now automaticaly set for every additional plugin. 2011-10-14 23:09:19 +00:00
Platonides 9ff87015f6 Allow several answers in QuestyCaptcha, per request at http://permalink.gmane.org/gmane.org.wikimedia.mediawiki/36769 2011-02-08 23:39:17 +00:00
Sam Reed 0324318073 Correct the address of the FSF in extension GPL headers
59 Temple Place -> 51 Franklin Street
2010-06-21 13:45:17 +00:00
Alexandre Emsenhuber f6b61b4dd6 Big changes to extensions' documentation:
* changed all @addtogroup to @ingroup
* added some @file where needed
* changed some @package/@subpackage to @ingroup
2010-06-06 15:12:22 +00:00
Siebrand Mazeland 4a6c4e2bcf * Update messages for QuestyCaptcha
* stylize.php and trailing whitespace removed for ConfirmEdit
* add support for QuestyCaptcha to Translate
* svn execute bits removed
2009-07-19 15:13:01 +00:00
Charles Melbye 283ec4908c Moving QuestyCaptcha to ConfirmEdit 2009-07-19 04:15:55 +00:00