r24082 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24081‎ | r24082 | r24083 >
Date:10:37, 14 July 2007
Author:vrandezo
Status:old
Tags:
Comment:
Title of attribute searches corrected
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/specials/SearchTriple/SMW_SpecialSearchByAttribute.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/specials/SearchTriple/SMW_SpecialSearchByAttribute.php
@@ -58,7 +58,7 @@
5959 $html .= wfMSG('smw_sbv_novalue', $skin->makeLinkObj($attribute, $attribute->getText()));
6060 $valuestring = '';
6161 } else { // everything is given
62 - $wgOut->setPagetitle( $attribute->getText() . ' ' . $value->getXSDValue() ); //TODO: use escaped wiki value instead?
 62+ $wgOut->setPagetitle( $attribute->getText() . ' ' . $value->getShortHTMLText(NULL) );
6363
6464 $options = new SMWRequestOptions();
6565 $options->limit = $limit+1;

Status & tagging log