r49159 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49158‎ | r49159 | r49160 >
Date:19:23, 3 April 2009
Author:ialex
Status:ok
Tags:
Comment:
Moved "successbox", "errorbox" and related CSS classes from monobook/main.css to common/shared.css so that they are available in all skins
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/DefaultSettings.php (modified) (history)
  • /trunk/phase3/skins/common/shared.css (modified) (history)
  • /trunk/phase3/skins/monobook/main.css (modified) (history)

Diff [purge]

Index: trunk/phase3/skins/monobook/main.css
@@ -287,37 +287,6 @@
288288 margin: 0;
289289 padding: 0;
290290 }
291 -.success {
292 - color: green;
293 - font-size: larger;
294 -}
295 -.error {
296 - color: red;
297 - font-size: larger;
298 -}
299 -.errorbox, .successbox {
300 - font-size: larger;
301 - border: 2px solid;
302 - padding: .5em 1em;
303 - float: left;
304 - margin-bottom: 2em;
305 - color: #000;
306 -}
307 -.errorbox {
308 - border-color: red;
309 - background-color: #fff2f2;
310 -}
311 -.successbox {
312 - border-color: green;
313 - background-color: #dfd;
314 -}
315 -.errorbox h2, .successbox h2 {
316 - font-size: 1em;
317 - font-weight: bold;
318 - display: inline;
319 - margin: 0 .5em 0 0;
320 - border: none;
321 -}
322291
323292 .catlinks {
324293 border: 1px solid #aaa;
Index: trunk/phase3/skins/common/shared.css
@@ -359,3 +359,35 @@
360360 font-weight: bold;
361361 }
362362
 363+/* success and error messages */
 364+.success {
 365+ color: green;
 366+ font-size: larger;
 367+}
 368+.error {
 369+ color: red;
 370+ font-size: larger;
 371+}
 372+.errorbox, .successbox {
 373+ font-size: larger;
 374+ border: 2px solid;
 375+ padding: .5em 1em;
 376+ float: left;
 377+ margin-bottom: 2em;
 378+ color: #000;
 379+}
 380+.errorbox {
 381+ border-color: red;
 382+ background-color: #fff2f2;
 383+}
 384+.successbox {
 385+ border-color: green;
 386+ background-color: #dfd;
 387+}
 388+.errorbox h2, .successbox h2 {
 389+ font-size: 1em;
 390+ font-weight: bold;
 391+ display: inline;
 392+ margin: 0 .5em 0 0;
 393+ border: none;
 394+}
Index: trunk/phase3/includes/DefaultSettings.php
@@ -1471,7 +1471,7 @@
14721472 * to ensure that client-side caches don't keep obsolete copies of global
14731473 * styles.
14741474 */
1475 -$wgStyleVersion = '208';
 1475+$wgStyleVersion = '209';
14761476
14771477
14781478 # Server-side caching:
Index: trunk/phase3/RELEASE-NOTES
@@ -319,6 +319,8 @@
320320 * (bug 18304) rebuildrecentchanges.php got size changes wrong
321321 * (bug 18170) Fixed a PHP warning in Parser::preSaveTransform() in PHP 5.3
322322 * (bug 18289) Database connection error page now returns correct HTML
 323+* "successbox", "errorbox" and related CSS classes are now available in all
 324+ skins
323325
324326 == API changes in 1.15 ==
325327 * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions

Status & tagging log