generateUpperCharTable.php: add --title option, which generates the
title case table.
Allow generateUcfirstOverrides.php to take multiple "override" tables
This is to allow MW with PHP 7.4 to act like PHP 7.2 regardless of
whether the MW core title case patch If02247fd15ad2a392a488d is merged.
It's just a union of the result arrays.
Bug: T292552
Change-Id: Id0a727ba3ac714b1198dd7556a3d5d0dd2ca973b
* Fix a couple mistakes in generateUcfirstOverrides.php
* Skip surrogate codepoints as they can't be converted to json.
Change-Id: I5eddd90f7b348806d502dfbac08c367701d17f25
Different PHP versions treat unicode differently, and specifically some
wiki resources become unreachable if mb_strtoupper's behavior has changed.
This patch allows to introduce an override table that allows to smooth
the transition period.
It also provides maintenance scripts to generate such an override table.
Bug: T219279
Change-Id: I0503ff4207fded4648c58c7b50e67c55422a4849