Bug in r31044, thanks Nikerabbit
authorTim Starling <tstarling@users.mediawiki.org>
Mon, 18 Feb 2008 07:47:46 +0000 (07:47 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Mon, 18 Feb 2008 07:47:46 +0000 (07:47 +0000)
includes/ImagePage.php

index b3d2d42..573bc4d 100644 (file)
@@ -78,7 +78,7 @@ class ImagePage extends Article {
                if ( $this->mExtraDescription ) {
                        $fol = wfMsgNoTrans( 'shareddescriptionfollows' );
                        if( $fol != '-' && !wfEmptyMsg( 'shareddescriptionfollows', $fol ) ) {
-                               $wgOut->addWikiMsg( $fol );
+                               $wgOut->addWikiText( $fol );
                        }
                        $wgOut->addHTML( '<div id="shared-image-desc">' . $this->mExtraDescription . '</div>' );
                }