Call Xml class directly, rather than the global function.
authorChad Horohoe <demon@users.mediawiki.org>
Mon, 22 Sep 2008 17:01:44 +0000 (17:01 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Mon, 22 Sep 2008 17:01:44 +0000 (17:01 +0000)
includes/parser/Parser.php
includes/parser/Parser_OldPP.php

index 1db5553..ca917f2 100644 (file)
@@ -3822,7 +3822,7 @@ class Parser
         * @return mixed An expanded string, or false if invalid.
         */
        function validateSig( $text ) {
-               return( wfIsWellFormedXmlFragment( $text ) ? $text : false );
+               return( Xml::isWellFormedXmlFragment( $text ) ? $text : false );
        }
 
        /**
index 8b70337..415ef23 100644 (file)
@@ -3887,7 +3887,7 @@ class Parser_OldPP
         * @return mixed An expanded string, or false if invalid.
         */
        function validateSig( $text ) {
-               return( wfIsWellFormedXmlFragment( $text ) ? $text : false );
+               return( Xml::isWellFormedXmlFragment( $text ) ? $text : false );
        }
 
        /**