HipHop fixes:
authorTim Starling <tstarling@users.mediawiki.org>
Tue, 5 Apr 2011 04:43:54 +0000 (04:43 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Tue, 5 Apr 2011 04:43:54 +0000 (04:43 +0000)
commit7440e684a998b7f3a37012f5b10d7806d556246e
treee5d7c2aa21f8277cd45ddc5b34acbaf8ca211c24
parent2d1e125646c1cad3343d7e41a7c7b667ef4fbba7
HipHop fixes:
* Fixed preg_replace /e usage in Sanitizer and UserMailer. This was already against policy.
* Removed the __get()-based lazy initialisation of $this->xpath in PPNode_DOM. This caused a notice in HipHop, and is also inefficient due to the need for dynamic properties.
* Fixed the assertion in PPNode_DOM::splitHeading(), flagged by Inez Korczynski. It was obviously completely broken, converting a non-existent property to boolean, and it only appeared to work in Zend by accident.
includes/Sanitizer.php
includes/UserMailer.php
includes/parser/Preprocessor_DOM.php