Skip to content

[FIX]Wiki pages, the maximum characters was not evaluated properly for non-latin characteres

Related to : bdd672e8 (comment 967455879)

A page with less than 199 chars (and not 200) can be saved in English and French (I guess latin characters) on editing (create new page) and renaming the page. However if Hebrew is used with much less than 199 chars it will generate the error.

This commit allow 200 chars and fix the evaluation of the number of chars when using non-latin.Screen_Shot_2022-06-01_at_13.38.21

For some reason renaming the page allow 158 chars as stated at lib/wiki/wikilib.php line:22 but when Hebrew is added it is lowered to 156 chars.

Screen_Shot_2022-06-01_at_13.26.40 Screen_Shot_2022-06-01_at_13.34.17

Merge request reports