Index: trunk/extensions/SemanticDrilldown/includes/SD_GlobalFunctions.php |
— | — | @@ -21,7 +21,7 @@ |
22 | 22 | define( 'SD_SP_HAS_INPUT_TYPE', 9 ); |
23 | 23 | define( 'SD_SP_HAS_DISPLAY_PARAMETERS', 10 ); |
24 | 24 | |
25 | | -$wgExtensionCredits['specialpage'][] = array( |
| 25 | +$wgExtensionCredits[defined( 'SEMANTIC_EXTENSION_TYPE' ) ? 'semantic' : 'specialpage'][] = array( |
26 | 26 | 'path' => __FILE__, |
27 | 27 | 'name' => 'Semantic Drilldown', |
28 | 28 | 'version' => SD_VERSION, |
— | — | @@ -207,4 +207,4 @@ |
208 | 208 | $browse_search_section->addRow( $sd_row ); |
209 | 209 | |
210 | 210 | return true; |
211 | | -} |
| 211 | +} |
\ No newline at end of file |