In FileBackend/FileOp:
authorAaron Schulz <aaron@users.mediawiki.org>
Sat, 7 Jan 2012 01:33:23 +0000 (01:33 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sat, 7 Jan 2012 01:33:23 +0000 (01:33 +0000)
commit7d923a93600652675f013776de842ba5003b69e0
treed2b837a473eda2932afb1e4180e8e10ff4215072
parent3f6a8bc7d4d8e19d1cb3bf23883b36c687650851
In FileBackend/FileOp:
* Replaced 'media' portion of container names with the repo name. This makes it easy for multiple repos to use the same backend without 'wikiId' hacks. Full container names are now like <wiki>-<repo>-<zone> (or <repo>-<zone> if 'wikiId' is set to an empty string).
* Restricted isValidContainerName() more in light of Azure portability and shorted shard suffix.
* Bumped $maxCacheSize to 75 storage paths.
* Code comment cleanups and additions.
Unit tests:
* Updated related tests and marked testBug29408() as broken (I can't find the problem).
* Reduced leakage in UploadFromUrlTestSuite a bit.
includes/DefaultSettings.php
includes/filerepo/FSRepo.php
includes/filerepo/FileRepo.php
includes/filerepo/backend/FileBackend.php
includes/filerepo/backend/FileBackendGroup.php
tests/phpunit/includes/LocalFileTest.php
tests/phpunit/includes/media/ExifRotationTest.php
tests/phpunit/includes/parser/NewParserTest.php
tests/phpunit/includes/upload/UploadStashTest.php
tests/phpunit/suites/UploadFromUrlTestSuite.php