Manual:$wgResourceLoaderMaxQueryLength

This page is a translated version of the page Manual:$wgResourceLoaderMaxQueryLength and the translation is 30% complete.
Other languages:
English • ‎español • ‎français • ‎polski • ‎中文 • ‎日本語
ResourceLoader: $wgResourceLoaderMaxQueryLength
Maximum query string length for ResourceLoader requests.
Introducido en la versión:1.17.0 (r87203)
Eliminado en la versión:aún se usa
Valores permitidos:(entero)
Valor predeterminado:(see below)

Detalles

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

Versión de MediaWiki: 1.22
$wgResourceLoaderMaxQueryLength = false;
Versiones de MediaWiki: 1.17 – 1.21
$wgResourceLoaderMaxQueryLength = -1;