Index: trunk/phase3/includes/LogEventsList.php |
— | — | @@ -138,7 +138,7 @@ |
139 | 139 | * @return String: Formatted HTML |
140 | 140 | */ |
141 | 141 | private function getFilterLinks( $filter ) { |
142 | | - global $wgTitle, $wgLang; |
| 142 | + global $wgLang; |
143 | 143 | // show/hide links |
144 | 144 | $messages = array( wfMsgHtml( 'show' ), wfMsgHtml( 'hide' ) ); |
145 | 145 | // Option value -> message mapping |
— | — | @@ -154,7 +154,7 @@ |
155 | 155 | $query[$queryKey] = $hideVal; |
156 | 156 | |
157 | 157 | $link = $this->skin->link( |
158 | | - $wgTitle, |
| 158 | + $this->out->getTitle(), |
159 | 159 | $messages[$hideVal], |
160 | 160 | array(), |
161 | 161 | $query, |