From: Raimond Spekking Date: Tue, 7 Dec 2010 17:25:49 +0000 (+0000) Subject: follow-up r77981: Fix class: mw-js -> mw-css for the CSS section X-Git-Tag: 1.31.0-rc.0~33475 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=a3e80ee9a83eee454554c8ed690e8753753ee844;p=lhc%2Fweb%2Fwiklou.git follow-up r77981: Fix class: mw-js -> mw-css for the CSS section Add comments with the full message keys to make sure grep will find them --- diff --git a/includes/EditPage.php b/includes/EditPage.php index e4d9321ad4..277a91571f 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1886,9 +1886,11 @@ HTML $level = 'global'; } + # Used messages to make sure grep find them: + # usercsspreview, userjspreview, globalcsspreview, globaljspreview if (preg_match( "/\\.css$/", $this->mTitle->getText() ) ) { $previewtext = "
\n" . wfMsg( "{$level}csspreview" ) . "\n
"; - $class = "mw-code mw-js"; + $class = "mw-code mw-css"; } elseif (preg_match( "/\\.js$/", $this->mTitle->getText() ) ) { $previewtext = "
\n" . wfMsg( "{$level}jspreview" ) . "\n
"; $class = "mw-code mw-js";