r31533 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r31532‎ | r31533 | r31534 >
Date:03:22, 4 March 2008
Author:simetrical
Status:old
Tags:
Comment:
All skins should have the "mediawiki" class on the body element
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/Skin.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Skin.php
@@ -539,8 +539,10 @@
540540 }
541541 $a['onload'] .= 'setupRightClickEdit()';
542542 }
543 - $a['class'] = 'ns-'.$wgTitle->getNamespace().' '.($wgContLang->isRTL() ? "rtl" : "ltr").
544 - ' '.Sanitizer::escapeClass( 'page-'.$wgTitle->getPrefixedText() );
 543+ $a['class'] =
 544+ 'mediawiki ns-'.$wgTitle->getNamespace().
 545+ ' '.($wgContLang->isRTL() ? "rtl" : "ltr").
 546+ ' '.Sanitizer::escapeClass( 'page-'.$wgTitle->getPrefixedText() );
545547 return $a;
546548 }
547549
Index: trunk/phase3/RELEASE-NOTES
@@ -61,6 +61,7 @@
6262 * (bug 11561) Fix fatal error when calling action=revert to non-image page
6363 * (bug 12430) Fix call to private method LinkFilter::makeRegex fatal error in
6464 maintenance/cleanupSpam.php
 65+* All skins should have the "mediawiki" class on the body element
6566
6667 === API changes in 1.13 ===
6768

Status & tagging log