Author: david.sledge
Description:
PHP: 5.2.4
MySQL: 5.0.45
Given the following extension, I keep getting a blank page if I uncomment either of the commented lines:
$wgHooks['EditPage::showEditForm:initial'][] = "wfParserTest"; function wfParserTest( &$editPage ) { global $wgParser; $localParser = new Parser(); //$output = $wgParser->parse( '', $this->mTitle ); //$output = $localParser->parse( '', $this->mTitle ); return true; }
This problem occurs if is just try to preprocess any wikitext [using Preprocessor_DOM::preprocessToObj()].
Version: 1.13.x
Severity: normal
OS: Windows XP
Platform: PC