r77338 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77337‎ | r77338 | r77339 >
Date:18:46, 26 November 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Small KML fix
Modified paths:
  • /trunk/extensions/SemanticMaps/SemanticMaps.php (modified) (history)
  • /trunk/extensions/SemanticMaps/includes/queryprinters/SM_QueryHandler.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMaps/includes/queryprinters/SM_QueryHandler.php
@@ -110,7 +110,11 @@
111111 while ( ( /* SMWDataValue */ $object = $resultArray->getNextObject() ) !== false ) {
112112 if ( $object->getTypeID() == '_wpg' && $i == 0 ) {
113113 if ( $this->titleLink == self::LINK_ABSOLUTE ) {
114 - $title = Html::element( 'a', array( 'href' => $object->getTitle()->getFullUrl() ) );
 114+ $title = Html::element(
 115+ 'a',
 116+ array( 'href' => $object->getTitle()->getFullUrl() ),
 117+ $object->getTitle()->getText()
 118+ );
115119 }
116120 else {
117121 $title = $object->getLongText( $this->outputmode, $this->titleLink == self::LINK_RELATIVE ? $skin : NULL );
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.3 a3' );
 42+ define( 'SM_VERSION', '0.7.3 beta 1' );
4343
4444 $useExtensionPath = version_compare( $wgVersion, '1.16', '>=' ) && isset( $wgExtensionAssetsPath ) && $wgExtensionAssetsPath;
4545 $smgScriptPath = ( $useExtensionPath ? $wgExtensionAssetsPath : $wgScriptPath . '/extensions' ) . '/SemanticMaps';

Status & tagging log