Add an own message for the fieldset legend instead of duplicating the special page...
authorRaimond Spekking <raymond@users.mediawiki.org>
Wed, 27 Aug 2008 19:49:09 +0000 (19:49 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Wed, 27 Aug 2008 19:49:09 +0000 (19:49 +0000)
includes/specials/SpecialRecentchanges.php
languages/messages/MessagesEn.php
maintenance/language/messages.inc

index 4f43c8e..670b0db 100644 (file)
@@ -432,7 +432,7 @@ class SpecialRecentChanges extends SpecialPage {
                $panelString = implode( "\n", $panel );
 
                $wgOut->addHTML(
-                       Xml::fieldset( wfMsg( strtolower( $this->mName )  ), $panelString, array( 'class' => 'rcoptions' ) )
+                       Xml::fieldset( wfMsg( 'recentchanges-legend' ), $panelString, array( 'class' => 'rcoptions' ) )
                );
 
                $this->setBottomText( $wgOut, $opts );
index 2311646..81d8908 100644 (file)
@@ -1627,6 +1627,7 @@ please see math/README to configure.',
 'nchanges'                          => '$1 {{PLURAL:$1|change|changes}}',
 'recentchanges'                     => 'Recent changes',
 'recentchanges-url'                 => 'Special:Recentchanges', # do not translate or duplicate this message to other languages
+'recentchanges-legend'              => 'Report options',
 'recentchangestext'                 => 'Track the most recent changes to the wiki on this page.',
 'recentchanges-feed-description'    => 'Track the most recent changes to the wiki in this feed.',
 'rcnote'                            => "Below {{PLURAL:$1|is '''1''' change|are the last '''$1''' changes}} in the last {{PLURAL:$2|day|'''$2''' days}}, as of $5, $4.",
index 8ee9661..cfb5c9c 100644 (file)
@@ -969,6 +969,7 @@ $wgMessageStructure = array(
                'nchanges',
                'recentchanges',
                'recentchanges-url',
+               'recentchanges-legend',
                'recentchangestext',
                'recentchanges-feed-description',
                'rcnote',