Index: trunk/extensions/FlaggedRevs/FlaggedArticleView.php |
— | — | @@ -1144,7 +1144,7 @@ |
1145 | 1145 | } |
1146 | 1146 | // Check if we should show a stabilization tab |
1147 | 1147 | if ( |
1148 | | - !$skin->mTitle->isTalkPage() && |
| 1148 | + !$this->article->getTitle()->isTalkPage() && |
1149 | 1149 | is_array( $actions ) && |
1150 | 1150 | !isset( $actions['protect'] ) && |
1151 | 1151 | !isset( $actions['unprotect'] ) && |
— | — | @@ -1171,7 +1171,7 @@ |
1172 | 1172 | public function setViewTabs( Skin $skin, array &$views, $type ) { |
1173 | 1173 | global $wgRequest; |
1174 | 1174 | $this->load(); |
1175 | | - if ( $skin->mTitle->isTalkPage() ) { |
| 1175 | + if ( $this->article->getTitle()->isTalkPage() ) { |
1176 | 1176 | return true; // leave talk pages alone |
1177 | 1177 | } |
1178 | 1178 | // Get the type of action requested |