r91198 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91197‎ | r91198 | r91199 >
Date:18:51, 30 June 2011
Author:btongminh
Status:ok
Tags:
Comment:
Follow-up r89544: add dot per CR
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryFilearchive.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryFilearchive.php
@@ -106,7 +106,7 @@
107107 $sha1 = $params['sha1base36'];
108108 }
109109 if ( $sha1 ) {
110 - $this->addWhere( 'fa_storage_key ' . $db->buildLike( $sha1, $db->anyString() ) );
 110+ $this->addWhere( 'fa_storage_key ' . $db->buildLike( "{$sha1}.", $db->anyString() ) );
111111 }
112112 }
113113

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r89544* (bug 27595) sha1 search of list=filearchive does not work...reedy23:48, 5 June 2011

Status & tagging log