From 19f9810fb09309ea59e0b72a3e059d884ae7f122 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Wed, 27 Apr 2016 23:58:31 +0200 Subject: Marked all subpages of the main page as main page too. --- Toha.skin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v0.11.2-87-g4458