* (bug 11993) Remove contentsub "revision history", it is useless because it is alrea...
authorRaimond Spekking <raymond@users.mediawiki.org>
Tue, 4 Dec 2007 11:12:10 +0000 (11:12 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Tue, 4 Dec 2007 11:12:10 +0000 (11:12 +0000)
RELEASE-NOTES
includes/PageHistory.php
languages/messages/MessagesDe.php
languages/messages/MessagesEn.php

index 4b69dba..02253ca 100644 (file)
@@ -211,7 +211,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * Graceful behavior for updateRestrictions.php if a page already has records
   in the page_restrictions matching its old page_restrictions field.
   May help with odd upgrade issues or race condition.
-
+* (bug 11993) Remove contentsub "revision history"
 
 == Parser changes in 1.12 ==
 
index 6842107..9886e2f 100644 (file)
@@ -70,9 +70,7 @@ class PageHistory {
 
                $logPage = SpecialPage::getTitleFor( 'Log' );
                $logLink = $this->mSkin->makeKnownLinkObj( $logPage, wfMsgHtml( 'viewpagelogs' ), 'page=' . $this->mTitle->getPrefixedUrl() );
-
-               $subtitle = wfMsgHtml( 'revhistory' ) . '<br />' . $logLink;
-               $wgOut->setSubtitle( $subtitle );
+               $wgOut->setSubtitle( $logLink );
 
                $feedType = $wgRequest->getVal( 'feed' );
                if( $feedType ) {
@@ -89,7 +87,6 @@ class PageHistory {
                        return;
                }
 
-               
                /*
                 * "go=first" means to jump to the last (earliest) history page.
                 * This is deprecated, it no longer appears in the user interface
@@ -99,7 +96,7 @@ class PageHistory {
                        $wgOut->redirect( $wgTitle->getLocalURL( "action=history&limit={$limit}&dir=prev" ) );
                        return;
                }
-               
+
                wfRunHooks( 'PageHistoryBeforeList', array( &$this->mArticle ) );
 
                /** 
index bfc0731..7bcc794 100644 (file)
@@ -775,7 +775,6 @@ Zu Deiner Information folgt das Lösch-Logbuch mit der Begründung für die vorh
 Grund der Sperre: ''$2''",
 
 # History pages
-'revhistory'          => 'Frühere Versionen',
 'viewpagelogs'        => 'Logbücher für diese Seite anzeigen',
 'nohistory'           => 'Es gibt keine früheren Versionen dieser Seite.',
 'revnotfound'         => 'Diese Version wurde nicht gefunden.',
index e7df2bd..c777df2 100644 (file)
@@ -1102,7 +1102,6 @@ The deletion log for this page is provided here for convenience:",
 The reason given by $3 is ''$2''",
 
 # History pages
-'revhistory'            => 'Revision history',
 'viewpagelogs'          => 'View logs for this page',
 'nohistory'             => 'There is no edit history for this page.',
 'revnotfound'           => 'Revision not found',