r88365 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r88364‎ | r88365 | r88366 >
Date:10:55, 18 May 2011
Author:mkroetzsch
Status:deferred
Tags:
Comment:
fixed property argument used for constructing subject data values
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/articlepages/SMW_PropertyPage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/articlepages/SMW_PropertyPage.php
@@ -10,7 +10,7 @@
1111 * @file SMW_PropertyPage.php
1212 * @ingroup SMW
1313 *
14 - * @author: Markus Krötzsch
 14+ * @author Markus Krötzsch
1515 */
1616 class SMWPropertyPage extends SMWOrderedListPage {
1717
@@ -142,7 +142,7 @@
143143
144144 for ( $index = $start; $index < $ac; $index++ ) {
145145 $diWikiPage = $this->diWikiPages[$index];
146 - $dvWikiPage = SMWDataValueFactory::newDataItemValue( $diWikiPage, $this->mProperty );
 146+ $dvWikiPage = SMWDataValueFactory::newDataItemValue( $diWikiPage, null );
147147 $sortkey = smwfGetStore()->getWikiPageSortKey( $diWikiPage );
148148 $start_char = $wgContLang->convert( $wgContLang->firstChar( $sortkey ) );
149149

Status & tagging log