Am 04.02.2012 23:49, schrieb Platonides:
> Are you sure you need to set suhosin.get.max_value_length in php.ini
> before the extension line?

A very good point.

I triple-checked now the location of the setting in php.ini
and checked its influence on PHP for both the server and the CLI version
and restarted the webserver etc. and found:

You are right, the value setting can be before or after the extension
declaration in php.ini .

This means:
that your idea is great to let MediaWiki auto-detect
suhosin.get.max_value_length and to set $wgResourceLoaderMaxQueryLength
accordingly !


Perhaps someone can also think about whether the example value (1024) on
MediaWiki page is the correct recommendation.

I would like to see a "recommended value" on the MW pages, 2000 ? 4000 ?


> I think we should detect it and use an appropiate default for
> $wgResourceLoaderMaxQueryLength when Suhosin is active.
>

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to