Index: trunk/phase3/includes/specials/SpecialDisambiguations.php |
— | — | @@ -36,12 +36,12 @@ |
37 | 37 | function isSyndicated() { return false; } |
38 | 38 | |
39 | 39 | function getPageHeader() { |
40 | | - return wfMsgExt( 'disambiguations-text', array( 'parse' ) ); |
| 40 | + return $this->msg( 'disambiguations-text' )->parseAsBlock(); |
41 | 41 | } |
42 | 42 | |
43 | 43 | function getQueryInfo() { |
44 | 44 | $dbr = wfGetDB( DB_SLAVE ); |
45 | | - $dMsgText = wfMsgForContent( 'disambiguationspage' ); |
| 45 | + $dMsgText = $this->msg( 'disambiguationspage' )->inContentLanguage()->text(); |
46 | 46 | $linkBatch = new LinkBatch; |
47 | 47 | |
48 | 48 | # If the text can be treated as a title, use it verbatim. |
— | — | @@ -126,7 +126,7 @@ |
127 | 127 | $dp = Title::makeTitle( $result->namespace, $result->title ); |
128 | 128 | |
129 | 129 | $from = Linker::link( $title ); |
130 | | - $edit = Linker::link( $title, wfMsgExt( 'parentheses', array( 'escape' ), wfMsg( 'editlink' ) ) , |
| 130 | + $edit = Linker::link( $title, $this->msg( 'parentheses', $this->msg( 'editlink' )->text() )->escaped(), |
131 | 131 | array(), array( 'redirect' => 'no', 'action' => 'edit' ) ); |
132 | 132 | $arr = $this->getLanguage()->getArrow(); |
133 | 133 | $to = Linker::link( $dp ); |