Podręcznik:$wgParserTestMediaHandlers

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgParserTestMediaHandlers and the translation is 80% complete.

Other languages:
English • ‎dansk • ‎polski • ‎日本語
Parser: $wgParserTestMediaHandlers
Media handler overrides for parser tests (they don't need to generate actual thumbnails, so a mock will do)
Wprowadzono w wersji:1.30.0 (Gerrit change 364446; git #I1c2e903)
Usunięto w wersji:nadal w użyciu
Dozwolone wartości:(tablica)
Domyślna wartość:Zobacz niżej

Domyślna wartość

$wgParserTestMediaHandlers = [
	'image/jpeg' => 'MockBitmapHandler',
	'image/png' => 'MockBitmapHandler',
	'image/gif' => 'MockBitmapHandler',
	'image/tiff' => 'MockBitmapHandler',
	'image/webp' => 'MockBitmapHandler',
	'image/x-ms-bmp' => 'MockBitmapHandler',
	'image/x-bmp' => 'MockBitmapHandler',
	'image/x-xcf' => 'MockBitmapHandler',
	'image/svg+xml' => 'MockSvgHandler',
	'image/vnd.djvu' => 'MockDjVuHandler',
];