Index: trunk/extensions/SemanticMaps/includes/queryprinters/SM_QueryHandler.php |
— | — | @@ -271,7 +271,7 @@ |
272 | 272 | } |
273 | 273 | else if ( $dataValue->getTypeID() == '_str' && $i == 0 ) { |
274 | 274 | $title = $dataValue->getLongText( $this->outputmode, null ); |
275 | | - $text = $dataValue->getLongText( $this->outputmode, $GLOBALS['wgUser']->getSkin() ); |
| 275 | + $text = $dataValue->getLongText( $this->outputmode, smwfGetLinker() ); |
276 | 276 | } |
277 | 277 | else if ( $dataValue->getTypeID() != '_geo' && $i != 0 ) { |
278 | 278 | $properties[] = $this->handleResultProperty( $dataValue, $printRequest ); |
— | — | @@ -323,7 +323,7 @@ |
324 | 324 | ); |
325 | 325 | } |
326 | 326 | else { |
327 | | - $text = $object->getLongText( $this->outputmode, $wgUser->getSkin() ); |
| 327 | + $text = $object->getLongText( $this->outputmode, smwfGetLinker() ); |
328 | 328 | } |
329 | 329 | |
330 | 330 | if ( $this->boldSubject ) { |
— | — | @@ -383,7 +383,7 @@ |
384 | 384 | } |
385 | 385 | } |
386 | 386 | else { |
387 | | - $propertyName = $printRequest->getHTMLText( $wgUser->getSkin() ); |
| 387 | + $propertyName = $printRequest->getHTMLText( smwfGetLinker() ); |
388 | 388 | } |
389 | 389 | |
390 | 390 | if ( $this->linkAbsolute ) { |
— | — | @@ -406,7 +406,7 @@ |
407 | 407 | } |
408 | 408 | } |
409 | 409 | else { |
410 | | - $propertyValue = $object->getLongText( $this->outputmode, $wgUser->getSkin() ); |
| 410 | + $propertyValue = $object->getLongText( $this->outputmode, smwfGetLinker() ); |
411 | 411 | } |
412 | 412 | |
413 | 413 | return $propertyName . ( $propertyName === '' ? '' : ': ' ) . $propertyValue; |