Revert r28253 -- unnecessary markup tweak which could override specified styles
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 7 Dec 2007 21:43:22 +0000 (21:43 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 7 Dec 2007 21:43:22 +0000 (21:43 +0000)
RELEASE-NOTES
includes/MediaTransformOutput.php

index e31a737..b03a294 100644 (file)
@@ -227,7 +227,6 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   lines in diff output
 * (bug 10166) Fix a PHP warning in Language::getMagic
 * Only mark rollback edits as minor if the user can normally mark edits as minor.
-* Fix an invalid XHTML (strict) on images
 
 == Parser changes in 1.12 ==
 
index 5dc6cd8..c6cf9ac 100644 (file)
@@ -151,7 +151,7 @@ class ThumbnailImage extends MediaTransformOutput {
                        'src' => $this->url,
                        'width' => $this->width,
                        'height' => $this->height,
-                       'style' => 'border: none',
+                       'border' => 0,
                );
                if ( !empty( $options['valign'] ) ) {
                        $attribs['style'] = "vertical-align: {$options['valign']}";