Instead of using a global variable specific to Wikimedia CI, always enable
string functions when running parser and PHPUnit tests.
Bug: T180192
Bug: T200650
Change-Id: I27764036e42800be437d69d96ce2b7bc1b1f7cb3
The mb_strpos() function throws E_WARNING if the offset is longer
than the length of the string.
Bug: T209600
Change-Id: Ib4296ba136eaf5c8461681e9d5f108118b2494f4
"continue" statements in a switch are equivalent to "break". In PHP 7.3, will generate a warning.
Also change the indentation.
Bug: T206977
Change-Id: I8ad0ef6508e73bcca7dabfe2e88d661dd409bdfb
This is deprecated in 1.32. Bump minimum requirement of MediaWiki to
1.32 since this is a tarball-bundled extension.
Depends-On: Id8a92d57743f790b7d8c377c033cef38d1bb24de
Change-Id: Ie18c7c97405124ccaa3922b4a25fa7b40496039f