Index: trunk/extensions/Interwiki/Interwiki_body.php |
— | — | @@ -38,7 +38,7 @@ |
39 | 39 | |
40 | 40 | $admin = $wgUser->isAllowed( 'interwiki' ); |
41 | 41 | $action = $wgRequest->getVal( 'action', $par ); |
42 | | - $return = SpecialPage::getTitleFor( 'Interwiki' ); |
| 42 | + $return = $this->getTitle(); |
43 | 43 | |
44 | 44 | switch( $action ) { |
45 | 45 | case 'delete': |
— | — | @@ -278,7 +278,7 @@ |
279 | 279 | if ( $admin ) { |
280 | 280 | $skin = $wgUser->getSkin(); |
281 | 281 | $addtext = wfMsgHtml( 'interwiki_addtext' ); |
282 | | - $addlink = $skin->link( SpecialPage::getTitleFor( 'Interwiki', 'add' ), $addtext ); |
| 282 | + $addlink = $skin->link( $this->getTitle( 'add' ), $addtext ); |
283 | 283 | $wgOut->addHTML( '<p class="mw-interwiki-addlink">' . $addlink . '</p>' ); |
284 | 284 | } |
285 | 285 | |