r60955 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60954‎ | r60955 | r60956 >
Date:00:55, 12 January 2010
Author:tparscal
Status:ok
Tags:
Comment:
Moved an inline style into a CSS rule.
Modified paths:
  • /trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.html (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.html
@@ -4,18 +4,19 @@
55 <title>WikiEditor</title>
66 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
77 <style>
8 - /* CSS for highlight module. Note that this CSS is loaded in the iframe,
9 - * not in the main document. For that reason, it's also not in the combined and
10 - * minified files.
11 - *
12 - * When you edit this please update the style version in js/plugins/jquery.wikiEditor.highlight.js
13 - */
14 -
 8+ body {
 9+ margin: 0;
 10+ padding: 0;
 11+ width: 100%;
 12+ height: 100%;
 13+ font-family: monospace;
 14+ white-space: pre-wrap;
 15+ font-size: 9.5pt;
 16+ }
1517 /* Wikitext that's folded away and shouldn't be displayed */
1618 .wikiEditor-nodisplay {
1719 display: none !important;
1820 }
19 -
2021 /* A collapsed template */
2122 .wikiEditor-template-collapsed {
2223 background-color:#DDEEFF;
@@ -53,7 +54,6 @@
5455 margin:3px;
5556 padding:0 0.25em;
5657 }
57 -
5858 /* == Header == */
5959 .wikiEditor-toc-header { /* TODO: move parsing to highlight module and rename this */
6060 display: inline;
@@ -61,6 +61,7 @@
6262 }
6363 </style>
6464 <script type="text/javascript">
 65+
6566 parent.inherit( window )( function() {
6667 function get( name ) {
6768 // Extracts the value of a given URL parameter from the current window location
@@ -79,5 +80,5 @@
8081 } );
8182 </script>
8283 </head>
83 -<body style="margin:0;padding:0;width:100%;height:100%;white-space:pre-wrap;font-family:monospace;font-size:9.5pt;"></body>
 84+<body></body>
8485 </html>
\ No newline at end of file

Status & tagging log