r81828 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81827‎ | r81828 | r81829 >
Date:17:06, 9 February 2011
Author:raymond
Status:ok
Tags:
Comment:
Follow-up r81604: Prefix new classes with 'mw-' per [[Manual:Coding conventions]]
Modified paths:
  • /trunk/phase3/includes/Skin.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Skin.php
@@ -655,7 +655,7 @@
656656 // bug 23315: provide a class based on the canonical special page name without subpages
657657 list( $canonicalName ) = SpecialPage::resolveAliasWithSubpage( $title->getDBkey() );
658658 if ( $canonicalName ) {
659 - $type .= ' ' . Sanitizer::escapeClass( "special-$canonicalName" );
 659+ $type .= ' ' . Sanitizer::escapeClass( "mw-special-$canonicalName" );
660660 } else {
661661 $type .= ' mw-invalidspecialpage';
662662 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r81604(bug 23315) Add new body classes to allow easier styling of special pages....vyznev21:08, 6 February 2011

Status & tagging log