r109559 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r109558‎ | r109559 | r109560 >
Date:18:39, 19 January 2012
Author:jeroendedauw
Status:ok
Tags:
Comment:
Follow up to r107925; fix check
Modified paths:
  • /trunk/extensions/SemanticResultFormats/SRF_Settings.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticResultFormats/SRF_Settings.php
@@ -53,7 +53,7 @@
5454 }
5555
5656 # load hash format only if HashTables extension is initialised, otherwise 'Array' format is enough
57 -if( defined( 'ExtHashTables::VERSION' )
 57+if( array_key_exists( 'ExtHashTables', $wgAutoloadClasses ) && defined( 'ExtHashTables::VERSION' )
5858 && version_compare( ExtHashTables::VERSION, '0.999', '>=' )
5959 || isset( $wgHashTables ) // Version < 1.0 alpha
6060 ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r107925'Hash' format will now be active if HashTables extension >= 1.0 alpha detected.danwe19:24, 3 January 2012

Status & tagging log