Commit graph

16 commits

Author SHA1 Message Date
Andrew Garrett 55acc4e981 Revert "Follow up on r43982. Reduce dirname(__FILE__) calls in core and extensions."
Uses $dir in extension files, and assumes that it remains unchanged in require_once( 'maintenance/commandLine.inc' ).
In fact, it is likely that '$dir' will be set when setting up command-line, as some extensions will use the same var.

Recommended fix: Use $CentralAuth_dir, $EmailPage_dir, etc.
2008-11-30 03:15:22 +00:00
Siebrand Mazeland 10f78a6edd Follow up on r43982. Reduce dirname(__FILE__) calls in core and extensions. 2008-11-26 23:17:15 +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
Aryeh Gregor def5670e9b Extensions too! 2007-06-29 01:36:09 +00:00
Tim Starling e497ea8792 Fixed bug in image count 2007-03-29 18:38:46 +00:00
Brion Vibber c89580f8f4 use wfStreamFile() to output the captcha image; it takes care of removing the extra gzip compression and crap 2007-02-20 08:30:14 +00:00
Brion Vibber 74e3c3bb9f Add options to break up the captcha image storage with hash-digit subdirectories to avoid trawling through a giant directory on every hit 2007-02-19 20:09:03 +00:00
Antoine Musso 3578c26504 Use Doxygen @addtogroup instead of phpdoc @package && @subpackage
This is like r19502 but for extensions.
2007-01-20 15:10:35 +00:00
Antoine Musso 8ba7c9ab6b kill whitespaces 2007-01-14 00:51:11 +00:00
Rob Church ac3040e470 (bug 8484) Provide a getMessage() method that individual captcha plugins can use to override the messages for each appearance, refer to a sum in SimpleCaptcha and an image in FancyCaptcha, tweak inefficient message-loading code, possibly something else I forgot 2007-01-04 16:48:53 +00:00
Brion Vibber cfd970a513 Rearrange to work with the user account creation form as well as edits.
Requires new hooks just added on HEAD
2006-01-29 07:37:33 +00:00
Brion Vibber a2a6e0afe1 Forgot to clear used captcha info from the session after answering. 2006-01-29 02:25:04 +00:00
Brion Vibber 672d37ea0e tyop 2006-01-29 00:46:29 +00:00
Brion Vibber 81e2bc3a9c * save each captcha's session data separately, so multiple tabs/windows work 2006-01-27 08:00:32 +00:00
Brion Vibber 8258853051 committing progress so i don't forget to save changes this month
* add some semi-useful help text
* fix tab order when the captcha form comes up
* work with more than 16 image files *cough*
2006-01-27 01:53:10 +00:00
Brion Vibber da07c3eb19 Further testing, integrating images generated from Neil's python goody.
Still experimental and incomplete, not ready for use.
2005-10-14 05:07:24 +00:00