Ugly hack to fix two strict standarts errors:
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 5 Apr 2008 12:26:10 +0000 (12:26 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 5 Apr 2008 12:26:10 +0000 (12:26 +0000)
commitdd3136f423599e2a98bb1b3b3c072c226d3f2efb
treedc005004772ee4c12c5bed24e05b19ca98d2fa95
parent68c831d431bce94da437f3ae09cab92b0e9ab3c4
Ugly hack to fix two strict standarts errors:
* Declaration of Image::newFromTitle() should be compatible with that of LocalFile::newFromTitle() : Moved Image class to Image.php, will only be loaded when an old extension need it.
* Declaration of OldLocalFile::newFromTitle() should be compatible with that of LocalFile::newFromTitle() : Added an unsed param to LocalFile::newFromTitle() with a null default value, also added the null default value to OldLocalFile::newFromTitle() but that function will throw an Exception if that value isn't modified (even if these functions should not be called by extensions).

Pass $suffix parameter to File::getArchiveRel() in File::getArchivePath()
includes/AutoLoader.php
includes/filerepo/File.php
includes/filerepo/Image.php [new file with mode: 0644]
includes/filerepo/LocalFile.php
includes/filerepo/OldLocalFile.php