https://bugzilla.wikimedia.org/show_bug.cgi?id=6455
--- Comment #66 from Aryeh Gregor <[email protected]> 2009-03-30 13:22:51 UTC --- (In reply to comment #65) > The attached file is complete rewrite of the StringFunctions extension. Shouldn't they just be added to ParserFunctions? > In addition, I implemented it so that the unique markers generated by > <nowiki>, > <gallery>, <math>, etc. are universally stripped (this is a partial change in > behavior from prior versions). So the behavior will be more uniform and > predictable than prior versions and there is no risk of partial or unexpected > markers bleeding through. I'm not sure if stripping them outright is the best solution, but I can't think of a better one. > Where possible PHP's built-in multi-byte string functions are used provide > fast > results. If the mb_ functions are unavailable, their behavior is simulated in > regex in order to provide a graceful (if slower) failure mode. We already have some of these compatibility functions in GlobalFunctions.php (mb_strlen and mb_substr). You should use those, and add any additional ones there. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
