r70668 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70667‎ | r70668 | r70669 >
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/SemanticCompoundQueries/SemanticCompoundQueries.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticCompoundQueries/SemanticCompoundQueries.php
@@ -11,7 +11,7 @@
1212
1313 define( 'SCQ_VERSION', '0.2.5' );
1414
15 -$wgExtensionCredits['parserhook'][] = array(
 15+$wgExtensionCredits[defined( 'SEMANTIC_EXTENSION_TYPE' ) ? 'semantic' : 'parserhook'][] = array(
1616 'path' => __FILE__,
1717 'name' => 'Semantic Compound Queries',
1818 'version' => SCQ_VERSION,
@@ -22,7 +22,6 @@
2323
2424 $wgExtensionMessagesFiles['SemanticCompoundQueries'] = dirname( __FILE__ ) . '/SemanticCompoundQueries.i18n.php';
2525
26 -
2726 $wgHooks['ParserFirstCallInit'][] = 'scqgRegisterParser';
2827 // FIXME: Can be removed when new style magic words are used (introduced in r52503)
2928 $wgHooks['LanguageGetMagic'][] = 'scqgLanguageGetMagic';

Past revisions this follows-up on

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

Status & tagging log