function wfIsWellFormedXmlFragment($text) { return Xml::isWellFormedXmlFragment($text); }
/** * Check that the user's signature contains no bad XML * * @param $text String * @return mixed An expanded string, or false if invalid. */ function validateSig($text) { return Xml::isWellFormedXmlFragment($text) ? $text : false; }
function wfIsWellFormedXmlFragment($text) { wfDeprecated(__FUNCTION__); return Xml::isWellFormedXmlFragment($text); }