Podręcznik:$wgResourceLoaderMaxQueryLength

This page is a translated version of the page Manual:$wgResourceLoaderMaxQueryLength and the translation is 20% complete.
Other languages:
English • ‎español • ‎français • ‎polski • ‎中文 • ‎日本語
ResourceLoader: $wgResourceLoaderMaxQueryLength
Maximum query string length for ResourceLoader requests.
Wprowadzono w wersji:1.17.0 (r87203)
Usunięto w wersji:nadal w użyciu
Dozwolone wartości:(integer)
Domyślna wartość:(see below)

Szczegóły

ResourceLoader will not generate URLs whose query string is more than this many characters long and will instead use multiple requests with shorter query strings. This degrades performance, but may be needed based on the maximum length supported by your web server and/or your user's web browsers.

Prior to MediaWiki 1.34, this could be set to a negative number, for which ResourceLoader would assume there is no query string length limit.

When installing MediaWiki, the installer will automatically warn if you have Suhosin installed with a limit lower than 2000.

Default value

Wersja MediaWiki:
1.22
$wgResourceLoaderMaxQueryLength = false;
Wersje MediaWiki:
1.17 – 1.21
$wgResourceLoaderMaxQueryLength = -1;