Index: trunk/extensions/SemanticMaps/includes/queryprinters/SM_QueryPrinters.php |
— | — | @@ -122,6 +122,21 @@ |
123 | 123 | ); |
124 | 124 | $params['template']->lowerCaseValue = false; |
125 | 125 | |
| 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 | + |
126 | 141 | return $params; |
127 | 142 | } |
128 | 143 | |
Index: trunk/extensions/SemanticMaps/SemanticMaps.php |
— | — | @@ -38,7 +38,7 @@ |
39 | 39 | |
40 | 40 | // Only initialize the extension when all dependencies are present. |
41 | 41 | if ( defined( 'Maps_VERSION' ) && defined( 'SMW_VERSION' ) ) { |
42 | | - define( 'SM_VERSION', '0.7 beta-1' ); |
| 42 | + define( 'SM_VERSION', '0.7 beta 2' ); |
43 | 43 | |
44 | 44 | $useExtensionPath = version_compare( $wgVersion, '1.16', '>=' ) && isset( $wgExtensionAssetsPath ) && $wgExtensionAssetsPath; |
45 | 45 | $smgScriptPath = ( $useExtensionPath ? $wgExtensionAssetsPath : $wgScriptPath . '/extensions' ) . '/SemanticMaps'; |