Er, that should be wfMsg()...
authorRob Church <robchurch@users.mediawiki.org>
Mon, 18 Dec 2006 18:26:57 +0000 (18:26 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Mon, 18 Dec 2006 18:26:57 +0000 (18:26 +0000)
includes/OutputPage.php

index f5a0eb3..25ff449 100644 (file)
@@ -895,7 +895,7 @@ class OutputPage {
                }
 
                if( is_string( $source ) ) {
-                       $this->addWikiText( 'viewsourcetext' );
+                       $this->addWikiText( wfMsg( 'viewsourcetext' ) );
                        if( $source === '' ) {
                                global $wgTitle;
                                if ( $wgTitle->getNamespace() == NS_MEDIAWIKI ) {