r84476 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84475‎ | r84476 | r84477 >
Date:19:38, 21 March 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
fix
Modified paths:
  • /branches/SemanticMaps0.7.x/SemanticMaps.php (modified) (history)
  • /branches/SemanticMaps0.7.x/includes/forminputs/SM_FormInput.php (modified) (history)

Diff [purge]

Index: branches/SemanticMaps0.7.x/includes/forminputs/SM_FormInput.php
@@ -110,7 +110,8 @@
111111
112112 $validator = new Validator( 'form', false ); // TODO
113113
114 - foreach ( $params as $key => $value ) {
 114+ $parameters = array();
 115+ foreach ( $mapProperties as $key => $value ) {
115116 if ( !is_array( $value ) && !is_object( $value ) ) {
116117 $parameters[$key] = $value;
117118 }
Index: branches/SemanticMaps0.7.x/SemanticMaps.php
@@ -36,7 +36,7 @@
3737 die( '<b>Error:</b> You need to have <a href="http://semantic-mediawiki.org/wiki/Semantic_MediaWiki">Semantic MediaWiki</a> installed in order to use <a href="http://www.mediawiki.org/wiki/Extension:Semantic Maps">Semantic Maps</a>.<br />' );
3838 }
3939
40 -define( 'SM_VERSION', '0.7.6' );
 40+define( 'SM_VERSION', '0.7.6.1' );
4141
4242 $wgExtensionCredits[defined( 'SEMANTIC_EXTENSION_TYPE' ) ? 'semantic' : 'other'][] = array(
4343 'path' => __FILE__,

Status & tagging log