From 00fe995b61e271508983a949f8628a3034e19961 Mon Sep 17 00:00:00 2001 From: Nikola Smolenski Date: Wed, 18 Apr 2012 11:54:54 +0200 Subject: [PATCH] $context can't be null since we are later getting its title Change-Id: Ib23a8b5a57aa6d90560bacf415f1f938df9e88ff --- includes/Content.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.20.1