http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89923
Revision: 89923 Author: mkroetzsch Date: 2011-06-12 10:24:58 +0000 (Sun, 12 Jun 2011) Log Message: ----------- fixed value display for pre-defined properties Modified Paths: -------------- trunk/extensions/SemanticMediaWiki/includes/articlepages/SMW_PropertyPage.php Modified: trunk/extensions/SemanticMediaWiki/includes/articlepages/SMW_PropertyPage.php =================================================================== --- trunk/extensions/SemanticMediaWiki/includes/articlepages/SMW_PropertyPage.php 2011-06-12 10:20:17 UTC (rev 89922) +++ trunk/extensions/SemanticMediaWiki/includes/articlepages/SMW_PropertyPage.php 2011-06-12 10:24:58 UTC (rev 89923) @@ -19,7 +19,7 @@ protected function initParameters() { global $smwgPropertyPagingLimit; $this->limit = $smwgPropertyPagingLimit; - $this->mProperty = new SMWDIProperty( $this->mTitle->getDBkey(), false ); + $this->mProperty = SMWDIProperty::newFromUserLabel( $this->mTitle->getText() ); return true; } _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs