* Fix typos in new class names (thanks to BrokenArrow)
authorAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 20 Dec 2006 21:54:04 +0000 (21:54 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 20 Dec 2006 21:54:04 +0000 (21:54 +0000)
* Use <strong class="mw-plusminus-neg">, not <span class="mw-plusminus-bold">
* Add correct coloring for null edits to non-Monobook-based skins

includes/RecentChange.php
skins/chick/main.css
skins/common/common.css
skins/monobook/main.css
skins/simple/main.css

index 2721d9c..63fdcce 100644 (file)
@@ -557,14 +557,14 @@ class RecentChange
 
                if( $szdiff < $wgRCChangedSizeThreshold ) {
                        // workaround to make it show a minus char instead of a dash. formatNum() doesn't do that.
-                       return '<span class=\'mw-pluminus-bold\'>(&minus;' . $wgLang->formatNum( abs( $szdiff ) ) . ')</span>';
+                       return '<strong class=\'mw-plusminus-neg\'>(&minus;' . $wgLang->formatNum( abs( $szdiff ) ) . ')</strong>';
                } elseif( $szdiff === 0 ) {
                        return '<span class=\'mw-plusminus-null\'>(' . $wgLang->formatNum( $szdiff ) . ')</span>';
                } elseif( $szdiff > 0 ) {
                        return '<span class=\'mw-plusminus-pos\'>(+' . $wgLang->formatNum( $szdiff ) . ')</span>';
                } else {
                        // same workaround.
-                       return '<span class=\'mw-pluminus-neg\'>(&minus;' . $wgLang->formatNum( abs( $szdiff ) ) . ')</span>';
+                       return '<span class=\'mw-plusminus-neg\'>(&minus;' . $wgLang->formatNum( abs( $szdiff ) ) . ')</span>';
                }
        }
 }
index 73a6fee..b84b291 100644 (file)
@@ -496,7 +496,4 @@ div.gallerytext {
 
 #toolbar { clear: both; }
 
-.mw-plusminus-bold { font-weight: bold; }
-.mw-plusminus-pos { font-weight: normal; }
-.mw-plusminus-null { color: #aaa; }
-.mw-plusminus-neg { font-weight: normal; }
\ No newline at end of file
+.mw-plusminus-null { color: #aaa; }
\ No newline at end of file
index 46582bf..77c10f6 100644 (file)
@@ -466,3 +466,5 @@ table.multipageimage td {
 .templatesUsed { margin-top: 1em; }
 
 #toolbar { clear: both; }
+
+.mw-plusminus-null { color: #aaa; }
\ No newline at end of file
index c791741..6efa9fe 100644 (file)
@@ -1546,7 +1546,4 @@ table.multipageimage td {
 }
 #toolbar { clear: both; }
 
-.mw-plusminus-bold { font-weight: bold; }
-.mw-plusminus-pos { font-weight: normal; }
-.mw-plusminus-null { color: #aaa; }
-.mw-plusminus-neg { font-weight: normal; }
+.mw-plusminus-null { color: #aaa; }
\ No newline at end of file
index 0d114ed..e474f43 100644 (file)
@@ -439,7 +439,4 @@ table.collapsed tr.collapsable {
 .templatesUsed { margin-top: 1.5em; }
 #toolbar { clear: both; }
 
-.mw-plusminus-bold { font-weight: bold; }
-.mw-plusminus-pos { font-weight: normal; }
-.mw-plusminus-null { color: #aaa; }
-.mw-plusminus-neg { font-weight: normal; }
\ No newline at end of file
+.mw-plusminus-null { color: #aaa; }
\ No newline at end of file