Move construction of $url and $thumbUrl up to FileRepo so ForeignApiRepo can use...
authorChad Horohoe <demon@users.mediawiki.org>
Fri, 9 Oct 2009 11:41:38 +0000 (11:41 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Fri, 9 Oct 2009 11:41:38 +0000 (11:41 +0000)
commit8ed9ea12b756b3e87ea8859f03ea596f7a71d7eb
treec8f9631736f1ba572da9102aad8407c4e4bf48ce
parente6eca6448d46712ca66b9894826bbaf020b41e10
Move construction of $url and $thumbUrl up to FileRepo so ForeignApiRepo can use them. Also make no-op FileRepo::getZoneUrl() which always returns false. Also implement this in ForeignApiRepo and return public and thumb zones. Fixes bug 16832
includes/filerepo/FSRepo.php
includes/filerepo/FileRepo.php
includes/filerepo/ForeignAPIRepo.php