devunt has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/135000

Change subject: Special:Version: Link to tree instead of commit for git hashes
......................................................................

Special:Version: Link to tree instead of commit for git hashes

Bug: 39994
Change-Id: I2109377fbce47a4364fd6cdd94dd68da559e1a68
---
M includes/DefaultSettings.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/00/135000/1

diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php
index e011d4a..5436cb4 100644
--- a/includes/DefaultSettings.php
+++ b/includes/DefaultSettings.php
@@ -5516,9 +5516,9 @@
  */
 $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 }

-- 
To view, visit https://gerrit.wikimedia.org/r/135000
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2109377fbce47a4364fd6cdd94dd68da559e1a68
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: devunt <dev...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to