Index: trunk/phase3/includes/Article.php |
— | — | @@ -787,9 +787,8 @@ |
788 | 788 | or ($ns == NS_MEDIAWIKI and preg_match('/.(css|js)$/', $this->mTitle->getDBkey(), $matches)) |
789 | 789 | ) { |
790 | 790 | $wgOut->addWikiText( wfMsg('clearyourcache')); |
791 | | - $classbit = $ns == NS_USER ? 'user' : 'site'; |
792 | 791 | $wgOut->addHTML( |
793 | | - "<pre class=\"mw-$classbit-{$matches[1]}\" dir=\"ltr\">" |
| 792 | + "<pre class=\"mw-code mw-{$matches[1]}\" dir=\"ltr\">" |
794 | 793 | .htmlspecialchars($this->mContent)."\n</pre>" |
795 | 794 | ); |
796 | 795 | } else if ( $rt = Title::newFromRedirect( $text ) ) { |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -106,7 +106,7 @@ |
107 | 107 | same title as the current page, and enabled per default |
108 | 108 | * Wrap site CSS and JavaScript in a <pre> tag, like user JS/CSS |
109 | 109 | * (bug 10196) Add classes and dir="ltr" to the <pre>s on CSS and JS pages (new |
110 | | - classes: mw-user-css, mw-user-js, mw-site-css, mw-site-js) |
| 110 | + classes: mw-code, mw-css, mw-js) |
111 | 111 | * (bug 6711) Add $wgAddGroups and $wgRemoveGroups to allow finer control over |
112 | 112 | usergroup assignment. |
113 | 113 | |