Author: carlb613
Description:
It appears that upgrading a MediaWiki 1.8 installation to 1.9-svn will break
operation of extensions such as DPLforum 2.1.1 extension, even if they had been
working properly under 1.8
The errors occur in the call to getMaxIncludeSize() in includes/Parser.php, line
2772 in the current version:
function replaceVariables( $text, $args = array(), $argsOnly = false ) { # Prevent too big inclusions if( strlen( $text ) > $this->mOptions->getMaxIncludeSize() ) { return $text; }
Comment out that one if/return and the wiki (with the extension) becomes usable
again.
On access to any page with the <forum> tag, symptom is just a blank screen -
error logs indicate the code breaks as this one test fails with:
[Tue Dec 26 13:47:04 2006] [error] [client 127.0.0.1] PHP Fatal error: Call to
a member function getMaxIncludeSize() on a non-object in
/var/www/html/test/includes/Parser.php on line 2772
So changes made to core code are breaking things elsewhere. :(
Version: 1.9.x
Severity: normal
OS: Linux
Platform: PC
URL: http://meta.wikimedia.org/wiki/DPLforum