r89923 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89922‎ | r89923 | r89924 >
Date:10:24, 12 June 2011
Author:mkroetzsch
Status:deferred
Tags:
Comment:
fixed value display for pre-defined properties
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/articlepages/SMW_PropertyPage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/articlepages/SMW_PropertyPage.php
@@ -19,7 +19,7 @@
2020 protected function initParameters() {
2121 global $smwgPropertyPagingLimit;
2222 $this->limit = $smwgPropertyPagingLimit;
23 - $this->mProperty = new SMWDIProperty( $this->mTitle->getDBkey(), false );
 23+ $this->mProperty = SMWDIProperty::newFromUserLabel( $this->mTitle->getText() );
2424 return true;
2525 }
2626