As suggested by xmlizer <mozer@netcourrier.com> on wikitech-l
authorArne Heizmann <timwi@users.mediawiki.org>
Wed, 11 Aug 2004 18:03:43 +0000 (18:03 +0000)
committerArne Heizmann <timwi@users.mediawiki.org>
Wed, 11 Aug 2004 18:03:43 +0000 (18:03 +0000)
http://mail.wikipedia.org/pipermail/wikitech-l/2004-August/012061.html
have the 'm' for "minor" and the 'N' for "new page" be surrounded by
<span class="minor"> and <span class="newpage"> respectively, and no
<strong>.

includes/Skin.php
includes/SpecialContributions.php
stylesheets/monobook/main.css

index 8e087ce..12aec53 100644 (file)
@@ -2301,10 +2301,8 @@ class Skin {
                        $s .= ') . . ';
 
                        # M and N (minor and new)
-                       $M = wfMsg( 'minoreditletter' );
-                       $N = wfMsg( 'newpageletter' );
-                       if ( $rc_minor ) { $s .= ' <strong>'.$M.'</strong>'; }
-                       if ( $rc_type == RC_NEW ) { $s .= '<strong>'.$N.'</strong>'; }
+                       if ( $rc_minor ) { $s .= ' <span class="minor">'.wfMsg( "minoreditletter" ).'</span>'; }
+                       if ( $rc_type == RC_NEW ) { $s .= '<span class="newpage">'.wfMsg( "newpageletter" ).'</span>'; }
 
                        # Article link
                        # If it's a new article, there is no diff link, but if it hasn't been
index 19a527a..278d7f4 100644 (file)
@@ -205,7 +205,7 @@ function ucListEdit( $sk, $ns, $t, $ts, $topmark, $comment, $isminor, $isnew, $t
        $d = $wgLang->timeanddate( $ts, true );
 
        if ($isminor) {
-               $mflag = "<strong>" . wfMsg( "minoreditletter" ) . "</strong> ";
+               $mflag = '<span class="minor">'.wfMsg( "minoreditletter" ).'</span> ';
        } else {
                $mflag = "";
        }
index 603d2b6..bab6218 100644 (file)
@@ -914,3 +914,6 @@ div.patrollink {
        font-size: 75%;
        text-align: right;
 }
+span.newpage, span.minor {
+       font-weight: bold;
+}