From 4ac9fa081a7c045f6a9f1cfc529d82423f485b2e Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sun, 8 Dec 2013 09:55:49 +0100 Subject: Update to MediaWiki 1.22.0 --- includes/installer/PhpBugTests.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'includes/installer/PhpBugTests.php') diff --git a/includes/installer/PhpBugTests.php b/includes/installer/PhpBugTests.php index 773debe0..54712644 100644 --- a/includes/installer/PhpBugTests.php +++ b/includes/installer/PhpBugTests.php @@ -30,6 +30,7 @@ class PhpXmlBugTester { private $parsedData = ''; public $ok = false; + public function __construct() { $charData = 'c'; $xml = '' . htmlspecialchars( $charData ) . ''; @@ -39,6 +40,7 @@ class PhpXmlBugTester { $parsedOk = xml_parse( $parser, $xml, true ); $this->ok = $parsedOk && ( $this->parsedData == $charData ); } + public function chardata( $parser, $data ) { $this->parsedData .= $data; } -- cgit v1.2.2