Index: trunk/phase3/includes/SpecialWhatlinkshere.php |
— | — | @@ -230,12 +230,14 @@ |
231 | 231 | $wgOut->addHTML( ' (' . implode( ', ', $props ) . ') ' ); |
232 | 232 | } |
233 | 233 | |
234 | | - //add whatlinkshere link |
235 | | - $whatlink = $this->skin->makeKnownLinkObj( |
236 | | - SpecialPage::getTitleFor( 'Whatlinkshere', $nt->getPrefixedDBkey() ), |
237 | | - wfMsgHtml( 'whatlinkshere-links' ) ); |
238 | | - $wgOut->addHTML(" ($whatlink)" ); |
239 | | - |
| 234 | + # Space for utilities links, with a what-links-here link provided |
| 235 | + $wlh = $this->skin->makeKnownLinkObj( |
| 236 | + SpecialPage::getTitleFor( 'Whatlinkshere' ), |
| 237 | + wfMsgHtml( 'whatlinkshere-links' ), |
| 238 | + 'target=' . $nt->getPrefixedUrl() |
| 239 | + ); |
| 240 | + $wgOut->addHtml( ' <span class="mw-whatlinkshere-tools">(' . $wlh . ')</span>' ); |
| 241 | + |
240 | 242 | if ( $row->page_is_redirect ) { |
241 | 243 | if ( $level < 2 ) { |
242 | 244 | $this->showIndirectLinks( $level + 1, $nt, 500 ); |