summaryrefslogtreecommitdiff
path: root/Toha.skin.php
diff options
context:
space:
mode:
Diffstat (limited to 'Toha.skin.php')
-rw-r--r--Toha.skin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Toha.skin.php b/Toha.skin.php
index e4cb89a..2c7ee8b 100644
--- a/Toha.skin.php
+++ b/Toha.skin.php
@@ -62,7 +62,7 @@ class SkinToha extends SkinTemplate {
$list = parent::getPageClasses( $title );
- if ( $title->isMainPage() )
+ if ( $title->isMainPage() || $title->isSubpageOf( Title::newMainPage() ) )
$list .= ' main_page';
return $list;