r70667 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70666‎ | r70667 | r70668 >
Date:06:32, 8 August 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Follow up to r70664, added support for SEMANTIC extension type
Modified paths:
  • /trunk/extensions/SemanticDrilldown/includes/SD_GlobalFunctions.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticDrilldown/includes/SD_GlobalFunctions.php
@@ -21,7 +21,7 @@
2222 define( 'SD_SP_HAS_INPUT_TYPE', 9 );
2323 define( 'SD_SP_HAS_DISPLAY_PARAMETERS', 10 );
2424
25 -$wgExtensionCredits['specialpage'][] = array(
 25+$wgExtensionCredits[defined( 'SEMANTIC_EXTENSION_TYPE' ) ? 'semantic' : 'specialpage'][] = array(
2626 'path' => __FILE__,
2727 'name' => 'Semantic Drilldown',
2828 'version' => SD_VERSION,
@@ -207,4 +207,4 @@
208208 $browse_search_section->addRow( $sd_row );
209209
210210 return true;
211 -}
 211+}
\ No newline at end of file

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r70664Added SpecialVersionExtensionTypes hook for SEMANTIC extensionsjeroendedauw06:27, 8 August 2010

Status & tagging log