* compatibility issue in zhconvert
* @param $in String: text that might contain HTML tags.
* @return string Escaped string
*/
- function escapeTagsOnly( $in ) {
+ public static function escapeTagsOnly( $in ) {
return str_replace(
array( '"', '>', '<' ),
array( '"', '>', '<' ),
}
/* there shouldn't be any latin text in Chinese conversion, so no need
- to mark anything
+ to mark anything.
+ $noParse is there for compatibility with LanguageConvert::markNoConversion
*/
- function markNoConversion($text) {
+ function markNoConversion($text, $noParse = false) {
return $text;
}