r75634 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75633‎ | r75634 | r75635 >
Date:23:45, 28 October 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Added support for the semantic extension type and incremented version number
Modified paths:
  • /trunk/extensions/SemanticFormsInputs/SemanticFormsInputs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticFormsInputs/SemanticFormsInputs.php
@@ -15,17 +15,19 @@
1616 die( 'This is a Semantic Forms extension. You need to install Semantic Forms first.' );
1717 }
1818
 19+define( 'SFI_VERSION', '0.7.3 alpha' );
 20+
1921 // create and initialize settings
2022 $sfigSettings = new SFISettings();
2123
2224 // register extension
23 -$wgExtensionCredits['other'][] = array(
 25+$wgExtensionCredits[defined( 'SEMANTIC_EXTENSION_TYPE' ) ? 'semantic' : 'other'][] = array(
2426 'path' => __FILE__,
2527 'name' => 'Semantic Forms Inputs',
2628 'author' => array( '[http://www.mediawiki.org/wiki/User:F.trott Stephan Gambke]', 'Sanyam Goyal', 'Yaron Koren' ),
2729 'url' => 'http://www.mediawiki.org/wiki/Extension:Semantic_Forms_Inputs',
2830 'descriptionmsg' => 'semanticformsinputs-desc',
29 - 'version' => '0.3.1',
 31+ 'version' => SFI_VERSION,
3032 );
3133
3234 // load user settings

Follow-up revisions

RevisionCommit summaryAuthorDate
r79270major rework of extension...foxtrott17:28, 30 December 2010

Status & tagging log