r100913 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100912‎ | r100913 | r100914 >
Date:00:17, 27 October 2011
Author:reedy
Status:ok
Tags:
Comment:
MFT r100911 for Chad
Modified paths:
  • /branches/wmf/1.18wmf1/extensions/CodeReview (modified) (history)
  • /branches/wmf/1.18wmf1/extensions/CodeReview/ui/CodeRevisionTagView.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/extensions/CodeReview/ui/CodeRevisionTagView.php
@@ -27,6 +27,13 @@
2828
2929 function getQueryInfo() {
3030 $info = parent::getQueryInfo();
 31+
 32+ if ( $this->mView->mPath ) {
 33+ array_unshift( $info['tables'], 'code_paths' );
 34+ $info['conds'][] = 'cr_repo_id=cp_repo_id';
 35+ $info['conds'][] = 'cr_id=cp_rev_id';
 36+ $info['conds']['cp_path'] = $this->mView->mPath;
 37+ }
3138 //Don't change table order, see http://www.mediawiki.org/wiki/Special:Code/MediaWiki/77733
3239 //Bug in mysql 4 allowed incorrect table ordering joins to work
3340 array_unshift( $info['tables'], 'code_tags' );
Property changes on: branches/wmf/1.18wmf1/extensions/CodeReview
___________________________________________________________________
Modified: svn:mergeinfo
3441 Merged /trunk/extensions/CodeReview:r100911

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r100911Bug 31964 - Allow filter by path on CodeRevisionTagView...reedy00:14, 27 October 2011

Status & tagging log