Index: trunk/extensions/SemanticTasks/SemanticTasks.php |
— | — | @@ -19,7 +19,7 @@ |
20 | 20 | # |
21 | 21 | |
22 | 22 | # Informations |
23 | | -$wgExtensionCredits['parserhook'][] = array( |
| 23 | +$wgExtensionCredits[defined( 'SEMANTIC_EXTENSION_TYPE' ) ? 'semantic' : 'parserhook'][] = array( |
24 | 24 | 'path' => __FILE__, |
25 | 25 | 'name' => 'SemanticTasks', |
26 | 26 | 'author' => 'Steren Giannini, Ryan Lane', |