From 38a86002080ce3badedf78e856d5a5122b198d42 Mon Sep 17 00:00:00 2001 From: Alex Monk Date: Thu, 24 Jul 2014 00:00:12 +0100 Subject: [PATCH] Wrap redirectpagesub in a So that JS can easily single it out from the other contentSub stuff. VE is currently trying to just overwrite the whole of contentSub to add/remove this, causing bug 68432. Change-Id: I780c965b93535dcfe7236ab118f42439caa55abe --- includes/page/Article.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/page/Article.php b/includes/page/Article.php index 2f27826265..94d20b2fbe 100644 --- a/includes/page/Article.php +++ b/includes/page/Article.php @@ -703,7 +703,9 @@ class Article implements Page { $this->mParserOutput = $poolArticleView->getParserOutput(); $outputPage->addParserOutput( $this->mParserOutput ); if ( $content->getRedirectTarget() ) { - $outputPage->addSubtitle( wfMessage( 'redirectpagesub' )->parse() ); + $outputPage->addSubtitle( + "" . wfMessage( 'redirectpagesub' )->parse() . "" + ); } # Don't cache a dirty ParserOutput object -- 2.20.1