27 'name' =>
'localtesting',
29 'containerPaths' => $containers,
41 'url' =>
'http://localhost/thumbtest',
53 return __DIR__ .
'/../../data/media/';
79 $magic = MediaWiki\MediaWikiServices::getInstance()->getMimeAnalyzer();
80 $parts = explode( $name,
'.' );
81 $type = $magic->guessTypesForExtension( $parts[count( $parts ) - 1] );
84 "mwstore://localtesting/data/$name",
$type );
wfWikiID()
Get an ASCII string identifying this wiki This is used as a prefix in memcached keys.
Class for a file system (FS) based file backend.
Base class for file repositories.
A file object referring to either a standalone local file, or a file in a local repository with no da...