r39073 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r39072‎ | r39073 | r39074 >
Date:16:48, 10 August 2008
Author:demon
Status:old
Tags:
Comment:
Cleanup to r39058. Slightly less code than before. Same result :)
Modified paths:
  • /trunk/phase3/includes/Skin.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Skin.php
@@ -591,7 +591,7 @@
592592 'mediawiki ns-'.$wgTitle->getNamespace().
593593 ' '.( $wgContLang->isRTL() ? "rtl" : "ltr" ).
594594 ' '.Sanitizer::escapeClass( 'page-'.$wgTitle->getPrefixedText() ).
595 - ' '.( $wgTitle->isTalkPage() ? "ns-talk" : ( $wgTitle->isTalkPage() ? "ns-talk" : ( $wgTitle->getNamespace() == NS_SPECIAL ? "ns-special" : "ns-subject" ) ) ).
 595+ ' '. $wgTitle->isTalkPage() ? "ns-talk" : ( $wgTitle->getNamespace() == NS_SPECIAL ? "ns-special" : "ns-subject" ) .
596596 ' skin-'. Sanitizer::escapeClass( $this->getSkinName( ) );
597597 return $a;
598598 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r39058Try at fixing bug 15052 - Skins should add their name as a class in <body>sql09:22, 10 August 2008

Status & tagging log