Per Reedy, for consistency with the MediaWiki item at the top of the page and revision numbers in SVN; arround parentheses arround git hashes of extensions in Special:Version.
Change-Id: I59573ffcdd9f245a12b85ba70182cef5ed3a277e
$gitInfo = new GitInfo( dirname( $extension['path'] ) );
$gitHeadSHA1 = $gitInfo->getHeadSHA1();
if ( $gitHeadSHA1 !== false ) {
- $vcsText = substr( $gitHeadSHA1, 0, 7 );
+ $vcsText = '(' . substr( $gitHeadSHA1, 0, 7 ) . ')';
$gitViewerUrl = $gitInfo->getHeadViewUrl();
if ( $gitViewerUrl !== false ) {
$vcsText = "[$gitViewerUrl $vcsText]";