From 94c15126970c24046362fc5915d4f1bfd7747bbf Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 9 Apr 2008 22:42:29 +0000 Subject: [PATCH] * (bug 13433) Fix action=render on Image: pages --- RELEASE-NOTES | 1 + includes/ImagePage.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 8a3b51b16a..84435de726 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -161,6 +161,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 13624) Fix regression with manual thumb= parameter on images * (bug 11039) Add missing labels on protection form * (bug 13458) Preview/edit toolbar spacing now works consistently +* (bug 13433) Fix action=render on Image: pages === API changes in 1.13 === diff --git a/includes/ImagePage.php b/includes/ImagePage.php index 002fc250c3..a9e0dbce89 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -38,7 +38,7 @@ class ImagePage extends Article { function render() { global $wgOut; $wgOut->setArticleBodyOnly( true ); - $wgOut->addWikiTextTitleTidy( $this->getContent(), $this->mTitle ); + parent::view(); } function view() { -- 2.20.1