Index: trunk/phase3/includes/specials/SpecialUnusedtemplates.php |
— | — | @@ -68,17 +68,13 @@ |
69 | 69 | array( 'redirect' => 'no' ) |
70 | 70 | ); |
71 | 71 | $wlhLink = Linker::linkKnown( |
72 | | - SpecialPage::getTitleFor( 'Whatlinkshere' ), |
73 | | - wfMsgHtml( 'unusedtemplateswlh' ), |
74 | | - array(), |
75 | | - array( 'target' => $title->getPrefixedText() ) |
| 72 | + SpecialPage::getTitleFor( 'Whatlinkshere', $title->getPrefixedText() ), |
| 73 | + $this->msg( 'unusedtemplateswlh' )->escaped() |
76 | 74 | ); |
77 | 75 | return $this->getLanguage()->specialList( $pageLink, $wlhLink ); |
78 | 76 | } |
79 | 77 | |
80 | 78 | function getPageHeader() { |
81 | | - return wfMsgExt( 'unusedtemplatestext', array( 'parse' ) ); |
| 79 | + return $this->msg( 'unusedtemplatestext' )->parseAsBlock(); |
82 | 80 | } |
83 | | - |
84 | 81 | } |
85 | | - |