Index: trunk/phase3/includes/Skin.php |
— | — | @@ -539,8 +539,10 @@ |
540 | 540 | } |
541 | 541 | $a['onload'] .= 'setupRightClickEdit()'; |
542 | 542 | } |
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() ); |
545 | 547 | return $a; |
546 | 548 | } |
547 | 549 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -61,6 +61,7 @@ |
62 | 62 | * (bug 11561) Fix fatal error when calling action=revert to non-image page |
63 | 63 | * (bug 12430) Fix call to private method LinkFilter::makeRegex fatal error in |
64 | 64 | maintenance/cleanupSpam.php |
| 65 | +* All skins should have the "mediawiki" class on the body element |
65 | 66 | |
66 | 67 | === API changes in 1.13 === |
67 | 68 | |