r44494 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r44493‎ | r44494 | r44495 >
Date:10:34, 12 December 2008
Author:mkroetzsch
Status:deferred
Tags:
Comment:
Fixed improper use of getTitle()
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/storage/SMW_Description.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_Description.php
@@ -69,7 +69,7 @@
7070 case SMWPrintRequest::PRINT_CATS:
7171 return htmlspecialchars($this->m_label); // TODO: link to Special:Categories
7272 case SMWPrintRequest::PRINT_CCAT:
73 - return $linker->makeLinkObj($this->m_data->getTitle(), htmlspecialchars($this->m_label));
 73+ return $linker->makeLinkObj($this->m_data, htmlspecialchars($this->m_label));
7474 case SMWPrintRequest::PRINT_PROP:
7575 return $this->m_data->getShortHTMLText($linker);
7676 case SMWPrintRequest::PRINT_THIS: default: return htmlspecialchars($this->m_label);

Status & tagging log