Revert r37567 for nwo ("(bug 8604) padright: and similar functions fail with non...
authorBrion Vibber <brion@users.mediawiki.org>
Sat, 12 Jul 2008 14:05:04 +0000 (14:05 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sat, 12 Jul 2008 14:05:04 +0000 (14:05 +0000)
commit4aedae21267370c25f8ffeed6409b02501844881
treef8a3756319303ae5b628e724d2f08c88e4ed3b86
parent0c70df6b5535e6f9fa2b1c8215211643caa339e3
Revert r37567 for nwo ("(bug 8604) padright: and similar functions fail with non-ASCII arguments")
This implements an mb_str_pad fallback function, but there is no mb_str_pad in PHP documentation, and the doc comments are really weird -- it says it returns an integer!
If this function is created from whole cloth and doesn't exist in PHP, it should be given a MediaWiki style name and not be done with a function_exists check as though it were a compat function.
RELEASE-NOTES
includes/GlobalFunctions.php
includes/parser/CoreParserFunctions.php