Merged filerepo-work branch:
authorTim Starling <tstarling@users.mediawiki.org>
Wed, 30 May 2007 21:02:32 +0000 (21:02 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Wed, 30 May 2007 21:02:32 +0000 (21:02 +0000)
commited4303922f4e850418168595c2a22cdd895081cc
tree5fd3edae579e2a200626d8706e73e789df9d1764
parent108936e2be2b28a101a4864cb89427b71ec59078
Merged filerepo-work branch:
* Added support for configuration of an arbitrary number of commons-style file repositories.
* Split Image.php into filerepo/File.php and filerepo/LocalFile.php
* Renamed Image::getImagePath() to File::getPath()
* Added initial support for timestamp-based file fetching (OldLocalFile), to be expanded upon by aaron.
* Changed the interface for Image/File object creation: use wfFindFile() or wfLocalFile() depending on semantics
* ImageGallery::add() now accepts a title object as the first parameter
* Moved file handling operations on upload from SpecialUpload to File
* Removed path-related functions from ImageFunctions.php. Removed static path accessors from File.
* Added a Content-Disposition header to thumb.php output
* Improved thumb.php error handling
* Updated the unit test suite to kind of partially work with modern computers. RunTests.php doesn't work just yet. Fixed an actual regression that the test suite detected -- moved some defines to Defines.php where they will be loaded consistently.
57 files changed:
RELEASE-NOTES
StartProfiler.php
includes/AutoLoader.php
includes/CategoryPage.php
includes/DefaultSettings.php
includes/Defines.php
includes/ExternalEdit.php
includes/GlobalFunctions.php
includes/Image.php [deleted file]
includes/ImageFunctions.php
includes/ImageGallery.php
includes/ImagePage.php
includes/ImageQueryPage.php
includes/Linker.php
includes/MediaTransformOutput.php
includes/Parser.php
includes/SearchEngine.php
includes/Setup.php
includes/Skin.php
includes/SpecialImagelist.php
includes/SpecialMIMEsearch.php
includes/SpecialNewimages.php
includes/SpecialUndelete.php
includes/SpecialUpload.php
includes/StreamFile.php
includes/filerepo/ArchivedFile.php [new file with mode: 0644]
includes/filerepo/FSRepo.php [new file with mode: 0644]
includes/filerepo/File.php [new file with mode: 0644]
includes/filerepo/ForeignDBFile.php [new file with mode: 0644]
includes/filerepo/ForeignDBRepo.php [new file with mode: 0644]
includes/filerepo/LocalFile.php [new file with mode: 0644]
includes/filerepo/LocalRepo.php [new file with mode: 0644]
includes/filerepo/OldLocalFile.php [new file with mode: 0644]
includes/filerepo/RepoGroup.php [new file with mode: 0644]
includes/filerepo/UnregisteredLocalFile.php [new file with mode: 0644]
includes/media/Bitmap.php
includes/media/DjVu.php
includes/media/Generic.php
includes/media/SVG.php
includes/normal/UtfNormal.php
maintenance/FiveUpgrade.inc
maintenance/cleanupImages.php
maintenance/importImages.inc.php
maintenance/importImages.php
maintenance/rebuildImages.php
tests/ArticleTest.php
tests/DatabaseTest.php
tests/GlobalTest.php
tests/ImageFunctionsTest.php [new file with mode: 0644]
tests/ImageTest.php [deleted file]
tests/README
tests/RunTests.php
tests/SanitizerTest.php
tests/SearchEngineTest.php
tests/SearchMySQL4Test.php
tests/run-test.php [new file with mode: 0644]
thumb.php