From: Nikola Smolenski Date: Wed, 18 Apr 2012 09:54:54 +0000 (+0200) Subject: $context can't be null since we are later getting its title X-Git-Tag: 1.31.0-rc.0~22097^2^2~238 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=00fe995b61e271508983a949f8628a3034e19961;p=lhc%2Fweb%2Fwiklou.git $context can't be null since we are later getting its title Change-Id: Ib23a8b5a57aa6d90560bacf415f1f938df9e88ff --- diff --git a/includes/Content.php b/includes/Content.php index a5a264597c..b696e29dc3 100644 --- a/includes/Content.php +++ b/includes/Content.php @@ -493,7 +493,7 @@ class WikitextContent extends TextContent { * * @return ParserOutput representing the HTML form of the text */ - public function getParserOutput( IContextSource $context = null, $revId = null, ParserOptions $options = null, $generateHtml = true ) { + public function getParserOutput( IContextSource $context, $revId = null, ParserOptions $options = null, $generateHtml = true ) { global $wgParser; if ( !$options ) {