Index: trunk/phase3/includes/specials/SpecialDisambiguations.php |
— | — | @@ -122,16 +122,14 @@ |
123 | 123 | } |
124 | 124 | |
125 | 125 | function formatResult( $skin, $result ) { |
126 | | - global $wgLang; |
127 | | - |
128 | 126 | $title = Title::newFromID( $result->value ); |
129 | 127 | $dp = Title::makeTitle( $result->namespace, $result->title ); |
130 | 128 | |
131 | | - $from = $skin->link( $title ); |
132 | | - $edit = $skin->link( $title, wfMsgExt( 'parentheses', array( 'escape' ), wfMsg( 'editlink' ) ) , |
| 129 | + $from = Linker::link( $title ); |
| 130 | + $edit = Linker::link( $title, wfMsgExt( 'parentheses', array( 'escape' ), wfMsg( 'editlink' ) ) , |
133 | 131 | array(), array( 'redirect' => 'no', 'action' => 'edit' ) ); |
134 | | - $arr = $wgLang->getArrow(); |
135 | | - $to = $skin->link( $dp ); |
| 132 | + $arr = $this->getLang()->getArrow(); |
| 133 | + $to = Linker::link( $dp ); |
136 | 134 | |
137 | 135 | return "$from $edit $arr $to"; |
138 | 136 | } |