From 471346b622339afefaef18e3d411039b9d1171b5 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Sun, 4 Apr 2004 19:55:03 +0000 Subject: [PATCH] * id="autocomment" -> class="autocomment" * border="0" -> img { border: none; } --- includes/Skin.php | 20 ++++++++++---------- stylesheets/cologneblue.css | 3 ++- stylesheets/monobook/main.css | 2 +- stylesheets/nostalgia.css | 4 ++++ stylesheets/wikistandard.css | 3 ++- 5 files changed, 19 insertions(+), 13 deletions(-) diff --git a/includes/Skin.php b/includes/Skin.php index 3682af4f38..6a416c864c 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -707,7 +707,7 @@ class Skin { $mp = wfMsg( "mainpage" ); $titleObj = Title::newFromText( $mp ); $s = "escapeLocalURL() - . "\">getLogo() . "\" alt=\"" . "[{$mp}]\" />"; return $s; } @@ -1507,8 +1507,8 @@ class Skin { } if ( "center" == $align ) { - $prefix = "
"; - $postfix = "
"; + $prefix = ''; + $postfix = ''; $align = "none"; } @@ -1548,7 +1548,7 @@ class Skin { $s = str_replace( "$1", $name, wfMsg("missingimage") ); } else { $s = "\n \n" . - " \"{$alt}\"\n "; + " \"{$alt}\"\n "; } if ( "" != $align ) { $s = "
{$s}\n
"; @@ -1694,10 +1694,10 @@ class Skin { $s .= str_replace( "$1", $name, wfMsg("missingimage") ); } else { $s .= "\n".' '."\n". - ' '.$alt.'' ."\n". ' ' ."\n". - ' '.$more.' '."\n"; } $s .= ' '.$label."

\n"; @@ -1862,8 +1862,8 @@ class Skin { $rcm = "RCM{$this->rcCacheIndex}" ; $toggleLink = "javascript:toggleVisibility(\"{$rci}\",\"{$rcm}\",\"{$rcl}\")" ; $arrowdir = $wgLang->isRTL() ? "l" : "r"; - $tl = "" ; - $tl .= "" ; + $tl = "" ; + $tl .= "" ; $r .= $tl ; # Main line @@ -1905,7 +1905,7 @@ class Skin { # Get rc_xxxx variables extract( $rcObj->mAttribs ); - $r .= ""; + $r .= ""; $r .= "       " ; if ( $rc_new ) $r .= $N ; else $r .= " " ; @@ -2196,7 +2196,7 @@ class Skin { # format text between /* .. */ with autocomment CSS class $comment=preg_replace("/\/\*\s*(.*?)\s*\*\//i", - "$1",$comment); + "$1",$comment); return $comment; } diff --git a/stylesheets/cologneblue.css b/stylesheets/cologneblue.css index 9233ddc92b..67f116f428 100644 --- a/stylesheets/cologneblue.css +++ b/stylesheets/cologneblue.css @@ -21,7 +21,7 @@ p, pre, td, th, li, dd, dt { line-height: 12pt; } #footer { padding: 4px; } #footer form { display: inline; } -#autocomment { color: gray; } +.autocomment { color: gray; } #sitetitle { font-family: Times, serif; color: white; @@ -91,6 +91,7 @@ a.printable { text-decoration: underline; } a.stub { color:#772233; text-decoration:none; } h2, h3, h4, h5, h6 { margin-bottom: 0; } small { font-size: 75%; } +img { border: none; } #toc { border:1px solid #8888aa; background-color:#f7f8ff;padding:5px;font-size:95%; } diff --git a/stylesheets/monobook/main.css b/stylesheets/monobook/main.css index 8fd2d32391..883ecd6498 100644 --- a/stylesheets/monobook/main.css +++ b/stylesheets/monobook/main.css @@ -502,7 +502,7 @@ div.townBox dl dd { padding: 0; } /* the auto-generated edit comments */ -#autocomment { color: gray; } +.autocomment { color: gray; } /* diff --git a/stylesheets/nostalgia.css b/stylesheets/nostalgia.css index 390e31627a..e14a64bd8d 100644 --- a/stylesheets/nostalgia.css +++ b/stylesheets/nostalgia.css @@ -13,6 +13,7 @@ a.printable { text-decoration: underline; } a.stub { color:#772233; text-decoration:none; } h1.pagetitle { padding-top: 0; margin-top: 0; padding-bottom: 0; margin-bottom: 0; } h2, h3, h4, h5, h6 { margin-bottom: 0; } +img { border: none; } p.subtitle { padding-top: 0; margin-top: 0; } #toc { border:1px solid #8888aa; background-color:#f7f8ff;padding:5px;font-size:95%; } @@ -57,6 +58,9 @@ table.rimage { font-size:smaller; } +/* automatically generated edit summaries */ +.autocomment { color: gray; } + /* Print-specific things to hide */ .urlexpansion, .printfooter { display: none; diff --git a/stylesheets/wikistandard.css b/stylesheets/wikistandard.css index 40ae278cf0..05fc805e4b 100644 --- a/stylesheets/wikistandard.css +++ b/stylesheets/wikistandard.css @@ -9,7 +9,7 @@ #topbar { padding: 4px;font-size:95%; } /* automatically generated edit summaries */ -#autocomment { color: gray; } +.autocomment { color: gray; } /* Table of contents */ #toc { @@ -54,6 +54,7 @@ p.subtitle { padding-top: 0; margin-top: 0;} td { empty-cells:show; } td.bottom { border-top: 1px solid gray; } td.top { border-bottom: 1px solid gray; } +img { border: none; } /* images */ div.floatright { float: right; margin: 0 0 1em 1em; } div.floatright p { font-style: italic; } -- 2.20.1