* Springle some parsemag to the sidebar and tagline per bug 16669
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Fri, 19 Dec 2008 08:54:51 +0000 (08:54 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Fri, 19 Dec 2008 08:54:51 +0000 (08:54 +0000)
includes/QueryPage.php
includes/Skin.php
includes/specials/SpecialContributions.php
includes/specials/SpecialNewpages.php

index 5f1acdb..0b58750 100644 (file)
@@ -534,7 +534,7 @@ class QueryPage {
        }
 
        function feedDesc() {
-               return wfMsg( 'tagline' );
+               return wfMsgExt( 'tagline', 'parsemag' );
        }
 
        function feedUrl() {
index e115895..f4744dc 100644 (file)
@@ -1023,7 +1023,7 @@ END;
                $sub = $wgOut->getSubtitle();
                if ( '' == $sub ) {
                        global $wgExtraSubtitle;
-                       $sub = wfMsg( 'tagline' ) . $wgExtraSubtitle;
+                       $sub = wfMsgExt( 'tagline', 'parsemag' ) . $wgExtraSubtitle;
                }
                $subpages = $this->subPageSubtitle();
                $sub .= !empty($subpages)?"</p><p class='subpages'>$subpages":'';
@@ -1840,7 +1840,9 @@ END;
                                        $link = wfMsgForContent( $line[0] );
                                        if ($link == '-')
                                                continue;
-                                       if (wfEmptyMsg($line[1], $text = wfMsg($line[1])))
+
+                                       $text = wfMsgExt($line[1], 'parsemag');
+                                       if (wfEmptyMsg($line[1], $text))
                                                $text = $line[1];
                                        if (wfEmptyMsg($line[0], $link))
                                                $link = $line[0];
index bca2f57..af88aef 100644 (file)
@@ -299,7 +299,7 @@ class SpecialContributions extends SpecialPage {
 
                $feed = new $wgFeedClasses[$type](
                        $this->feedTitle(),
-                       wfMsg( 'tagline' ),
+                       wfMsgExt( 'tagline', 'parsemag' ),
                        $this->getTitle()->getFullUrl() );
                        
                // Already valid title
index 0f5cfe4..ff5a43c 100644 (file)
@@ -281,7 +281,7 @@ class SpecialNewpages extends SpecialPage {
 
                $feed = new $wgFeedClasses[$type](
                        $this->feedTitle(),
-                       wfMsg( 'tagline' ),
+                       wfMsgExt( 'tagline', 'parsemag' ),
                        $this->getTitle()->getFullUrl() );
 
                $pager = new NewPagesPager( $this, $this->opts );