* (bug 5962) Update to Italian localisation
* (bug 6530) Update to Indonesian localisation (id) #25
* (bug 6523) Fix SVG issue in rebuildImages.php
-* Add missing colon ([[$1]] -> [[:$1]]) to 'searchsubtitle' messages.
-
+* Add missing colon ([[$1]] -> [[:$1]]) to 'searchsubtitle' messages
+* (bug 6512) Link to page-specific logs on page histories
== Compatibility ==
* Setup page variables.
*/
$wgOut->setPageTitle( $this->mTitle->getPrefixedText() );
- $wgOut->setSubtitle( wfMsg( 'revhistory' ) );
$wgOut->setArticleFlag( false );
$wgOut->setArticleRelated( true );
$wgOut->setRobotpolicy( 'noindex,nofollow' );
$wgOut->setSyndicated( true );
+ $logPage = Title::makeTitle( NS_SPECIAL, 'Log' );
+ $logLink = $this->mSkin->makeKnownLinkObj( $logPage, wfMsgHtml( 'viewpagelogs' ), 'page=' . $this->mTitle->getPrefixedUrl() );
+
+ $subtitle = wfMsgHtml( 'revhistory' ) . '<br />' . $logLink;
+ $wgOut->setSubtitle( $subtitle );
+
$feedType = $wgRequest->getVal( 'feed' );
if( $feedType ) {
wfProfileOut( $fname );
# History pages
#
'revhistory' => 'Revision history',
+'viewpagelogs' => 'View logs for this page',
'nohistory' => 'There is no edit history for this page.',
'revnotfound' => 'Revision not found',
'revnotfoundtext' => "The old revision of the page you asked for could not be found.