Index: trunk/extensions/SemanticMediaWiki/includes/datavalues/SMW_DV_Property.php |
— | — | @@ -210,7 +210,7 @@ |
211 | 211 | } |
212 | 212 | |
213 | 213 | public function getWikiValue() { |
214 | | - return $this->isVisible() ? ( ( $this->isInverse() ? '-' : '' ) . $this->getWikiPageValue()->getWikiValue() ) : ''; |
| 214 | + return $this->isVisible() ? ( ( $this->isInverse() ? '-' : '' ) . $this->m_dataitem->getLabel() ) : ''; |
215 | 215 | } |
216 | 216 | |
217 | 217 | /** |
Index: trunk/extensions/SemanticMediaWiki/includes/datavalues/SMW_DV_WikiPage.php |
— | — | @@ -313,8 +313,8 @@ |
314 | 314 | * If a fixed namespace is set, we do not return the namespace prefix explicitly. |
315 | 315 | */ |
316 | 316 | protected function getCaption() { |
317 | | - return $this->m_caption !== false ? $this->m_caption: |
318 | | - ( $this->m_fixNamespace == NS_MAIN ? $this->getPrefixedText():$this->getText() ); |
| 317 | + return $this->m_caption !== false ? $this->m_caption : |
| 318 | + ( $this->m_fixNamespace == NS_MAIN ? $this->getPrefixedText() : $this->getText() ); |
319 | 319 | } |
320 | 320 | |
321 | 321 | /** |