* (bug 13433) Fix action=render on Image: pages
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 9 Apr 2008 22:42:29 +0000 (22:42 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 9 Apr 2008 22:42:29 +0000 (22:42 +0000)
RELEASE-NOTES
includes/ImagePage.php

index 8a3b51b..84435de 100644 (file)
@@ -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 ===
index 002fc25..a9e0dbc 100644 (file)
@@ -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() {