Commit graph

20 commits

Author SHA1 Message Date
Kunal Mehta 2f605185fd Use PHP's built-in class_exists instead of MWInit::classExists
MWInit::classExists is deprecated as of 1.22 in favor of the
class_exists PHP built-in.

Change-Id: Ia51ac62c10c8191f00232f709d4d4df295583354
2013-07-24 01:00:28 -07:00
Matthew Flaschen 8765b88fbf Disable autocomplete for Simple, Fancy, Math, and Questy.
Bug: 48030
Change-Id: Id0eed4797ab5649fc5bb965b5d94fba21f120d9f
2013-05-02 21:09:51 -04:00
Matthew Flaschen faba9da0c5 Update call to MathRenderer due to changes to Math extension.
Bug: 46132
Change-Id: I8ee3fd1360327e849d4ec217b212608636995d73
2013-04-18 00:08:52 -07:00
Siebrand Mazeland f6d4ab758c stylize.php, some indentation fixes and some brackets added. 2012-01-12 08:58:40 +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
Chad Horohoe 207c3a0f19 Revert r92864 per discussion on CR 2011-07-22 21:51:06 +00:00
Yaron Koren f1b8c5b4a1 Undoing r92755 - if you want to revert these changes, please let's discuss it first 2011-07-22 16:49:06 +00:00
Aaron Schulz 7c7c2b2d17 Revert r92013, r92018 per CR 2011-07-21 17:17:35 +00:00
Yaron Koren 8dcfbb890d Follow-up to r86811 and r92013 - instead of using class_exists() or MWInit::classExists(), we'll replicate the code of MWInit::classExists() 2011-07-12 23:11:28 +00:00
Yaron Koren c9c6c68137 Follow-up to r86811: changed MWInit::classExists() to class_exists() - the former is only defined in MW >= 1.18, which goes against the whole point of the call 2011-07-12 21:59:01 +00:00
Happy-melon 4d62315053 MathCaptcha requires the texvc functions, which are now in the Math extension. 2011-04-24 11:11:10 +00:00
Sam Reed ed6fb40c5c Start removing/fixing calls to deprecated methods in WMF used extensions 2010-10-29 15:14:44 +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
Aaron Schulz acdbf7ae1a Search & replace war on old wf* xml functions 2008-12-20 09:32:47 +00:00
Brion Vibber afc5cc4cde bug 16611 -- broken regex made the MathCaptcha image not appear
Also, wrong parameter name for the answer made it not work. :)
2008-12-20 02:12:36 +00:00
Roan Kattouw 2df8abceff Adding MIME type to CAPTCHA API result per discussion on wikitech-l. 2008-02-29 21:44:21 +00:00
Roan Kattouw a808bd44dc ConfirmEdit: Consistency tweak 2008-02-28 21:23:26 +00:00
Roan Kattouw c112c24f54 Modifying ConfirmEdit extension to make it API-friendly:
* Hooking into the APIEditBeforeSave hook (which will appear in the ApiEdit_Vodafone branch in the next revision)
* Moved general CAPTCHA generation in SimpleCaptcha to getCaptcha()
* Moved general confirmEdit() functionality to doConfirmEdit() to facilitate differtiating between UI and API handling
* Adding SimpleCaptcha::addCaptchaAPI() method that adds CAPTCHA information to an API result array. Other CAPTCHA implementations should override this method with a function that does the same (did this for FancyCaptcha and MathCaptcha)
2008-02-28 17:42:23 +00:00
Roan Kattouw ae8beb8dd5 ConfirmEdit: Cleaning up brain-damaged implementation of keyMatch() which expected $wgRequest as an argument only to call $wgRequest->getVal('wpCaptchaWord') and do nothing else with it 2008-01-24 21:42:21 +00:00
Tim Starling 152f5e39e0 * Optimised startup
* Use the new EditFilterMerged hook if available, for faster link finding
2007-11-12 07:42:25 +00:00