Manual:$wgResourceLoaderMaxQueryLength/de-formal

From Linux Web Expert

Revision as of 08:29, 17 August 2022 by imported>ThisCarthing (Created page with "== Details ==")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> ResourceLoader</translate>: $wgResourceLoaderMaxQueryLength
Maximum query string length for ResourceLoader requests.
<translate> Introduced in version:</translate>1.17.0 (r87203)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(integer or boolean)
<translate> Default value:</translate>false

Details

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

MediaWiki Version:
<translate> ≥</translate> 1.22
$wgResourceLoaderMaxQueryLength = false;
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.21</tvar> is unsupported version</translate>">
1.17 – 1.21
<translate> MediaWiki versions:</translate>
$wgResourceLoaderMaxQueryLength = -1;