Last modified: 2007-04-24 20:48:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 9393 - Stable version extension errors out with later MediaWiki versions
Stable version extension errors out with later MediaWiki versions
Product: MediaWiki extensions
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-03-22 23:11 UTC by netocrat
Modified: 2007-04-24 20:48 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description netocrat 2007-03-22 23:11:19 UTC
In the SpecialStableVersion::getCacheText() method, the result of
Parser::parse() is passed as the first parameter to Parser::replaceVariables().
 That function expects this parameter to be a string, however in later versions
of MediaWiki it will be a ParserOutput object.  This problem can be resolved
simply - and retaining backwards compatibility - by inserting the following text
at line number 384 (i.e. immediately following the line reading: $text =
$p->parse( $text, $title, $parserOptions );):

			$text = is_object($text) ? $text->mText : $text;
Comment 1 Aaron Schulz 2007-04-24 20:48:02 UTC
Done in r21544.

Note You need to log in before you can comment on or make changes to this bug.