Index: trunk/phase3/includes/specials/SpecialUnusedcategories.php |
— | — | @@ -33,7 +33,7 @@ |
34 | 34 | } |
35 | 35 | |
36 | 36 | function getPageHeader() { |
37 | | - return wfMsgExt( 'unusedcategoriestext', array( 'parse' ) ); |
| 37 | + return $this->msg( 'unusedcategoriestext' )->parseAsBlock(); |
38 | 38 | } |
39 | 39 | |
40 | 40 | function getQueryInfo() { |
— | — | @@ -59,6 +59,6 @@ |
60 | 60 | |
61 | 61 | function formatResult( $skin, $result ) { |
62 | 62 | $title = Title::makeTitle( NS_CATEGORY, $result->title ); |
63 | | - return $skin->link( $title, $title->getText() ); |
| 63 | + return Linker::link( $title, htmlspecialchars( $title->getText() ) ); |
64 | 64 | } |
65 | 65 | } |