r70738 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70737‎ | r70738 | r70739 >
Date:03:37, 9 August 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Follow up to r70664, added support for SEMANTIC extension type
Modified paths:
  • /trunk/extensions/SemanticNotifyMe/includes/SNM_Initialize.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticNotifyMe/includes/SNM_Initialize.php
@@ -150,11 +150,12 @@
151151 }
152152
153153 // Register Credits
154 - $wgExtensionCredits['parserhook'][] = array(
155 - 'name' => 'Semantic NotifyMe Extension', 'version' => SMW_NM_VERSION,
156 - 'author' => "Ning Hu, Justin Zhang, [http://smwforum.ontoprise.com/smwforum/index.php/Jesse_Wang Jesse Wang], sponsored by [http://projecthalo.com Project Halo], [http://www.vulcan.com Vulcan Inc.]",
157 - 'url' => 'http://wiking.vulcan.com/dev',
158 - 'description' => 'Notify wiki user with specified queries.' );
 154+ $wgExtensionCredits[defined( 'SEMANTIC_EXTENSION_TYPE' ) ? 'semantic' : 'parserhook'][] = array(
 155+ 'name' => 'Semantic NotifyMe Extension', 'version' => SMW_NM_VERSION,
 156+ 'author' => "Ning Hu, Justin Zhang, [http://smwforum.ontoprise.com/smwforum/index.php/Jesse_Wang Jesse Wang], sponsored by [http://projecthalo.com Project Halo], [http://www.vulcan.com Vulcan Inc.]",
 157+ 'url' => 'http://wiking.vulcan.com/dev',
 158+ 'description' => 'Notify wiki user with specified queries.'
 159+ );
159160
160161 return true;
161162 }

Past revisions this follows-up on

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

Status & tagging log