From 286116c6e4c22cbc68507ca35be14ea6bec53d1b Mon Sep 17 00:00:00 2001 From: JuneHyeon Bae Date: Fri, 23 May 2014 17:01:43 +0900 Subject: [PATCH] Special:Version: Link to tree instead of commit for git hashes Bug: 39994 Change-Id: I2109377fbce47a4364fd6cdd94dd68da559e1a68 --- includes/DefaultSettings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index e011d4a19f..5436cb40fb 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -5516,9 +5516,9 @@ $wgGitBin = '/usr/bin/git'; */ $wgGitRepositoryViewers = array( 'https://(?:[a-z0-9_]+@)?gerrit.wikimedia.org/r/(?:p/)?(.*)' => - 'https://git.wikimedia.org/commit/%r/%H', + 'https://git.wikimedia.org/tree/%r/%H', 'ssh://(?:[a-z0-9_]+@)?gerrit.wikimedia.org:29418/(.*)' => - 'https://git.wikimedia.org/commit/%r/%H', + 'https://git.wikimedia.org/tree/%r/%H', ); /** @} */ # End of maintenance } -- 2.20.1