Manual:$wgImgAuthUrlPathMap/pl

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgImgAuthUrlPathMap and the translation is 20% complete.
Other languages:
English • ‎magyar • ‎polski • ‎日本語
Przesłane pliki: $wgImgAuthUrlPathMap
Map of relative URL directories to match to internal mwstore:// base storage paths.
Wprowadzono w wersji:1.23.0 (Gerrit change 95304; git #0eb52399)
Usunięto w wersji:nadal w użyciu
Dozwolone wartości:nie określono
Domyślna wartość:[]

Szczegóły

For img_auth.php requests, everything after img_auth.php/ is checked to see if starts with any of the prefixes defined here. The prefixes should not overlap. The prefix that matches has a corresponding storage path, which the rest of the URL is assumed to be relative to. The file at that path (or a 404) is send to the client. Przykład:

$wgImgAuthUrlPathMap['/timeline/'] = 'mwstore://local-fs/timeline-render/';

The above maps .../img_auth.php/timeline/X to mwstore://local-fs/timeline-render/. The name local-fs should correspond by name to an entry in $wgFileBackends.