Changed the image directory global functions, they no longer create the directory...
authorTim Starling <tstarling@users.mediawiki.org>
Tue, 4 Jul 2006 14:20:52 +0000 (14:20 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Tue, 4 Jul 2006 14:20:52 +0000 (14:20 +0000)
commit9165ef2c4bb1ac7419ddc3d04dbe75554c6203a9
treeae0ffa5fe84400e025cc1b9f7ae4a3fcc29ed308
parentfb7421206e35e85a56d6d9dbf2744a449084c9ee
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().
includes/Image.php
includes/ImageFunctions.php
includes/ImagePage.php
includes/SpecialUpload.php