diff --git a/includes/Folc.php b/includes/Folc.php index ac16b9a..2de8345 100644 --- a/includes/Folc.php +++ b/includes/Folc.php @@ -25,6 +25,8 @@ public function getTemplateData() { $data['edit_tab'] = 'active'; } else if ( $wgRequest->getText( 'action' ) == "history" ) { $data['history_tab'] = 'active'; + } else if ( $wgTitle->getNamespace() == 1 ) { + $data['discussion_tab'] = 'active'; } else { $data['read_tab'] = 'active'; } diff --git a/templates/article.mustache b/templates/article.mustache index 6c05d15..0f99dcc 100644 --- a/templates/article.mustache +++ b/templates/article.mustache @@ -5,17 +5,17 @@