r85116 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85115‎ | r85116 | r85117 >
Date:11:54, 1 April 2011
Author:krinkle
Status:deferred
Tags:
Comment:
adding path parameter to svn revision link
Modified paths:
  • /trunk/tools/ToolserverI18N/public_html/index.php (modified) (history)

Diff [purge]

Index: trunk/tools/ToolserverI18N/public_html/index.php
@@ -43,11 +43,12 @@
4444 require_once( '/home/krinkle/common/InitTool.php' );
4545
4646 $svninfo = kfGetSvnInfo( '/home/krinkle/TsIntuition/' ); // parses .svn/entries
 47+$revUrlQuery = array( 'path' => $svninfo['directory-path'] );
4748 $toolConfig = array(
4849 'displayTitle' => _( 'fullname' ),
4950 'krinklePrefix' => false,
5051 'simplePath' => '/TsIntuition/',
51 - 'revisionId' => "0.1.0 (<a target=\"blank\" href=\"{$svninfo['directory-cr-rev']}\">r{$svninfo['directory-rev']}</a>)",
 52+ 'revisionId' => "0.1.0 (<a target=\"blank\" href=\"{$svninfo['directory-cr-rev']}?" . http_build_query($revUrlQuery) . "\">r{$svninfo['directory-rev']}</a>)",
5253 'revisionDate' => $I18N->dateFormatted( $svninfo['directory-up-date'] ),
5354 'styles' => array( 'main.css' ),
5455 );

Status & tagging log