r106188 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106187‎ | r106188 | r106189 >
Date:13:00, 14 December 2011
Author:jeroendedauw
Status:ok
Tags:
Comment:
kill getSkin
Modified paths:
  • /trunk/extensions/SemanticMaps/includes/queryprinters/SM_QueryHandler.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMaps/includes/queryprinters/SM_QueryHandler.php
@@ -271,7 +271,7 @@
272272 }
273273 else if ( $dataValue->getTypeID() == '_str' && $i == 0 ) {
274274 $title = $dataValue->getLongText( $this->outputmode, null );
275 - $text = $dataValue->getLongText( $this->outputmode, $GLOBALS['wgUser']->getSkin() );
 275+ $text = $dataValue->getLongText( $this->outputmode, smwfGetLinker() );
276276 }
277277 else if ( $dataValue->getTypeID() != '_geo' && $i != 0 ) {
278278 $properties[] = $this->handleResultProperty( $dataValue, $printRequest );
@@ -323,7 +323,7 @@
324324 );
325325 }
326326 else {
327 - $text = $object->getLongText( $this->outputmode, $wgUser->getSkin() );
 327+ $text = $object->getLongText( $this->outputmode, smwfGetLinker() );
328328 }
329329
330330 if ( $this->boldSubject ) {
@@ -383,7 +383,7 @@
384384 }
385385 }
386386 else {
387 - $propertyName = $printRequest->getHTMLText( $wgUser->getSkin() );
 387+ $propertyName = $printRequest->getHTMLText( smwfGetLinker() );
388388 }
389389
390390 if ( $this->linkAbsolute ) {
@@ -406,7 +406,7 @@
407407 }
408408 }
409409 else {
410 - $propertyValue = $object->getLongText( $this->outputmode, $wgUser->getSkin() );
 410+ $propertyValue = $object->getLongText( $this->outputmode, smwfGetLinker() );
411411 }
412412
413413 return $propertyName . ( $propertyName === '' ? '' : ': ' ) . $propertyValue;

Status & tagging log