r78807 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r78806‎ | r78807 | r78808 >
Date:16:28, 22 December 2010
Author:reedy
Status:ok
Tags:
Comment:
Followup r78805, remove now unused function
Modified paths:
  • /trunk/phase3/includes/ImageQueryPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ImageQueryPage.php
@@ -43,20 +43,6 @@
4444 function formatResult( $skin, $result ) { }
4545
4646 /**
47 - * Prepare an image object given a result row
48 - *
49 - * @param $row Object: result row
50 - * @return Image
51 - */
52 - private function prepareImage( $row ) {
53 - $namespace = isset( $row->namespace ) ? $row->namespace : NS_FILE;
54 - $title = Title::makeTitleSafe( $namespace, $row->title );
55 - return ( $title instanceof Title && $title->getNamespace() == NS_FILE )
56 - ? wfFindFile( $title )
57 - : null;
58 - }
59 -
60 - /**
6147 * Get additional HTML to be shown in a results' cell
6248 *
6349 * @param $row Object: result row

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r78805Show images that don't exist, as they are included in the countreedy16:20, 22 December 2010

Status & tagging log