Cleanup to r39058. Slightly less code than before. Same result :)
authorChad Horohoe <demon@users.mediawiki.org>
Sun, 10 Aug 2008 16:48:15 +0000 (16:48 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Sun, 10 Aug 2008 16:48:15 +0000 (16:48 +0000)
includes/Skin.php

index 92e593c..d4d4bde 100644 (file)
@@ -591,7 +591,7 @@ END;
                        'mediawiki ns-'.$wgTitle->getNamespace().
                        ' '.( $wgContLang->isRTL() ? "rtl" : "ltr" ).
                        ' '.Sanitizer::escapeClass( 'page-'.$wgTitle->getPrefixedText() ).
-                       ' '.( $wgTitle->isTalkPage() ? "ns-talk" : ( $wgTitle->isTalkPage() ? "ns-talk" : ( $wgTitle->getNamespace() == NS_SPECIAL ? "ns-special" : "ns-subject" ) ) ).
+                       ' '. $wgTitle->isTalkPage() ? "ns-talk" : ( $wgTitle->getNamespace() == NS_SPECIAL ? "ns-special" : "ns-subject" ) .
                        ' skin-'. Sanitizer::escapeClass( $this->getSkinName( ) );
                return $a;
        }