Commit graph

11 commits

Author SHA1 Message Date
Rotem Liss
147c8d77da Typo in comment. 2007-01-14 17:33:28 +00:00
Brion Vibber
8d4c6af284 revert r18517; should have been on branch 2006-12-23 09:03:36 +00:00
Paa Kwesi Imbeah
9574ae460f Minimal version of IC functionality. 2006-12-23 05:30:40 +00:00
Nick Jenkins
ae8554c45b Completing code housekeeping stuff for rest of includes/ directory: removing unused local vars, removing unused globals, replacing extract() where simple to do, declaring output arrays before calling preg_match(), and so forth. 2006-11-29 11:43:58 +00:00
Brion Vibber
45432053e8 * (bug 6164) Avoid smashing Cite state if message transformation triggers
during bad image list check, by skipping message transformation.
  This isn't a good permanent fix.
2006-10-12 01:07:01 +00:00
Tim Starling
240a6cb24d Added exception list feature to the bad image list 2006-09-25 01:35:41 +00:00
Rotem Liss
679f587f24 EOL fixes. 2006-08-31 11:20:43 +00:00
Tim Starling
9165ef2c4b Changed the image directory global functions, they no longer create the directory before they return it. This was inefficient, especially due to the need for multiple NFS stat calls for every image shown on a page during parse. The caller is now required to create the directory if necessary, and it can do so with the recently souped-up wfMkdirParents(). 2006-07-04 14:20:52 +00:00
Rob Church
6cf69d85f5 narf 2006-07-02 21:55:17 +00:00
Rob Church
eda6563be1 * Introduce 'BadImage' hook; see docs/hooks.txt for more information 2006-07-02 21:54:34 +00:00
Tim Starling
2ff288720c Various performance and initialisation issues:
* Made autoloader work for unserialize()
* Made XmlFunctions.php and HttpFunctions.php autoloadable modules, via Http:: and Xml::
* Made Image class autoloadable, global functions moved to ImageFunctions.php where they can be loaded on every invocation.
* Removed some unnecessary require_once() calls
* Deferred $wgValidSkinNames initialisation
* Fixed a couple of silly construct/initialise splits. My idea from C++ experience, bad practice in PHP.
* Deferred skin initialisation in ParserOptions
* Removed $wgMwRedir during an attempt to make MagicWord autoloadable. Didn't complete that, but removing the global is still the right direction.
2006-07-02 15:57:59 +00:00