Index: trunk/extensions/SemanticMediaWiki/specials/QueryPages/SMW_SpecialProperties.php |
— | — | @@ -74,7 +74,7 @@ |
75 | 75 | $typeDataValue = SMWDataValueFactory::newDataItemValue( current( $types ), $typeProperty ); |
76 | 76 | $typestring = $typeDataValue->getLongHTMLText( $linker ); |
77 | 77 | } |
78 | | - $proplink = $linker->makeKnownLinkObj( $title, $result[0]->getLabel() ); |
| 78 | + $proplink = $linker->link( $title, $result[0]->getLabel() ); |
79 | 79 | } elseif ( $result[0]->isUserDefined() && !is_null( $title ) ) { |
80 | 80 | $errors[] = wfMsg( 'smw_propertylackspage' ); |
81 | 81 | $proplink = $linker->makeBrokenLinkObj( $title, $result[0]->getLabel(), 'action=view' ); |
Index: trunk/extensions/SemanticMediaWiki/specials/QueryPages/SMW_SpecialUnusedProperties.php |
— | — | @@ -66,7 +66,7 @@ |
67 | 67 | function formatResult( $skin, /* SMWDIProperty */ $result ) { |
68 | 68 | $linker = smwfGetLinker(); |
69 | 69 | |
70 | | - $proplink = $linker->makeKnownLinkObj( |
| 70 | + $proplink = $linker->link( |
71 | 71 | $result->getDiWikiPage()->getTitle(), |
72 | 72 | $result->getLabel() |
73 | 73 | ); |
Index: trunk/extensions/SemanticMediaWiki/includes/SMW_Infolink.php |
— | — | @@ -232,7 +232,7 @@ |
233 | 233 | if ( $outputformat == SMW_OUTPUT_WIKI ) { |
234 | 234 | $link = "[[$titletext|$this->mCaption]]"; |
235 | 235 | } else { // SMW_OUTPUT_HTML, SMW_OUTPUT_FILE |
236 | | - $link = $this->getLinker( $linker )->makeKnownLinkObj( $title, $this->mCaption ); |
| 236 | + $link = $this->getLinker( $linker )->link( $title, $this->mCaption ); |
237 | 237 | } |
238 | 238 | } else { // Title creation failed, maybe illegal symbols or too long; make a direct URL link |
239 | 239 | // (only possible if offending target parts belong to some parameter |
— | — | @@ -244,7 +244,7 @@ |
245 | 245 | if ( $outputformat == SMW_OUTPUT_WIKI ) { |
246 | 246 | $link = '[' . $title->getFullURL( SMWInfolink::encodeParameters( $this->mParams, false ) ) . " $this->mCaption]"; |
247 | 247 | } else { // SMW_OUTPUT_HTML, SMW_OUTPUT_FILE |
248 | | - $link = $this->getLinker( $linker )->makeKnownLinkObj( |
| 248 | + $link = $this->getLinker( $linker )->link( |
249 | 249 | $title, |
250 | 250 | $this->mCaption, |
251 | 251 | SMWInfolink::encodeParameters( $this->mParams, false ) |
Index: trunk/extensions/SemanticMediaWiki/includes/SMW_PageLister.php |
— | — | @@ -100,7 +100,7 @@ |
101 | 101 | * @return string |
102 | 102 | */ |
103 | 103 | protected function makeSelfLink( Title $title, $linkText, array $parameters ) { |
104 | | - return smwfGetLinker()->makeKnownLinkObj( $title, $linkText, wfArrayToCGI( $parameters ) ); |
| 104 | + return smwfGetLinker()->link( $title, $linkText, wfArrayToCGI( $parameters ) ); |
105 | 105 | } |
106 | 106 | |
107 | 107 | /** |