r74372 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74371‎ | r74372 | r74373 >
Date:17:45, 6 October 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Follow up to r74342
Modified paths:
  • /trunk/extensions/SemanticMaps/SemanticMaps.php (modified) (history)
  • /trunk/extensions/SemanticMaps/includes/queryprinters/SM_QueryPrinters.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMaps/includes/queryprinters/SM_QueryPrinters.php
@@ -122,6 +122,21 @@
123123 );
124124 $params['template']->lowerCaseValue = false;
125125
 126+ $params['title'] = new Parameter(
 127+ 'title',
 128+ Parameter::TYPE_STRING,
 129+ $egMapsDefaultTitle
 130+ );
 131+ $params['title']->lowerCaseValue = false;
 132+
 133+ $params['label'] = new Parameter(
 134+ 'label',
 135+ Parameter::TYPE_STRING,
 136+ $egMapsDefaultLabel,
 137+ array( 'text' )
 138+ );
 139+ $params['label']->lowerCaseValue = false;
 140+
126141 return $params;
127142 }
128143
Index: trunk/extensions/SemanticMaps/SemanticMaps.php
@@ -38,7 +38,7 @@
3939
4040 // Only initialize the extension when all dependencies are present.
4141 if ( defined( 'Maps_VERSION' ) && defined( 'SMW_VERSION' ) ) {
42 - define( 'SM_VERSION', '0.7 beta-1' );
 42+ define( 'SM_VERSION', '0.7 beta 2' );
4343
4444 $useExtensionPath = version_compare( $wgVersion, '1.16', '>=' ) && isset( $wgExtensionAssetsPath ) && $wgExtensionAssetsPath;
4545 $smgScriptPath = ( $useExtensionPath ? $wgExtensionAssetsPath : $wgScriptPath . '/extensions' ) . '/SemanticMaps';

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r74342Changes for 0.7 - added parameter to add static locations on query maps in ad...jeroendedauw09:59, 6 October 2010

Status & tagging log