Manual:$wgMimeInfoFile/pl

Category:MediaWiki configuration settings/pl#MimeInfoFileCategory:MediaWiki configuration settings introduced in version 1.5.0/pl#MimeInfoFileCategory:MediaWiki configuration settings still in use/pl#MimeInfoFileCategory:MIME types variables/pl#MimeInfoFile
MIME types: $wgMimeInfoFile
Sets the MIME type info file to be used by MimeAnalyzer.php .
Wprowadzono w wersji:1.5.0
Usunięto w wersji:nadal w użyciu
Dozwolone wartości:(path relative to $IP )
Domyślna wartość:'internal' (1.35+)
'includes/mime.info' (1.5-1.34)

Szczegóły

Sets the MIME type info file, which assigns each MIME type to one of several general categories. Dostępne są następujące kategorie:

UNKNOWNnieznany format
BITMAPsome bitmap image or image source (like PSD, etc). Can't scale up.
DRAWINGsome vector drawing (SVG, WMF, PS, ...) or image source (oo-draw, etc). Can scale up.
AUDIOsimple audio file (ogg, mp3, wav, midi, whatever)
VIDEOsimple video file (ogg, mpg, etc; do not include formats here that may contain executable sections or scripts!)
MULTIMEDIAScriptable Multimedia (flash, advanced video container formats, etc)
OFFICEOffice Documents, Spreadsheets (office formats possibly containing macros, scripts, etc)
TEXTplain text (possibly containing program code or scripts)
EXECUTABLEplik wykonywalny
ARCHIVEplik archiwum (zip, tar, itd.)

A default mime.info file is distributed with MediaWiki.

Przykłady:

$wgMimeInfoFile = "/usr/doc/mime.info";
$wgMimeInfoFile = null;   // use a limited set of built-in defaults only (defined in {{git file|project=mediawiki/core|branch=master|file=includes/libs/mime/MimeAnalyzer.php|line=137|text=MimeAnalyzer.php}})

Zobacz też

Category:MIME types variables/pl Category:MediaWiki configuration settings/pl Category:MediaWiki configuration settings introduced in version 1.5.0/pl Category:MediaWiki configuration settings still in use/pl