r106433 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106432‎ | r106433 | r106434 >
Date:14:32, 16 December 2011
Author:nikerabbit
Status:deferred
Tags:
Comment:
Unbreak Special:SearchByProperty/prop/name syntax
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/specials/SearchTriple/SMW_SpecialSearchByProperty.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/specials/SearchTriple/SMW_SpecialSearchByProperty.php
@@ -58,8 +58,8 @@
5959 $this->setHeaders();
6060
6161 // get the GET parameters
62 - $this->propertystring = $wgRequest->getVal( 'property' );
63 - $this->valuestring = $wgRequest->getVal( 'value' );
 62+ $this->propertystring = $wgRequest->getText( 'property' );
 63+ $this->valuestring = $wgRequest->getText( 'value' );
6464
6565 $params = SMWInfolink::decodeParameters( $query, false );
6666 reset( $params );