Index: trunk/phase3/skins/Simple.php |
— | — | @@ -36,13 +36,6 @@ |
37 | 37 | if ( $this->getUser()->getOption( 'underline' ) < 2 ) { |
38 | 38 | $underline = "text-decoration: " . $this->getUser()->getOption( 'underline' ) ? 'underline !important' : 'none' . ";"; |
39 | 39 | } |
40 | | - |
41 | | - /* Also inherits from resourceloader */ |
42 | | - if( !$this->getUser()->getOption( 'highlightbroken' ) ) { |
43 | | - $rules[] = "a.new, a.stub { color: inherit; text-decoration: inherit;}"; |
44 | | - $rules[] = "a.new:after { color: #CC2200; $underline;}"; |
45 | | - $rules[] = "a.stub:after { $underline; }"; |
46 | | - } |
47 | 40 | $style = implode( "\n", $rules ); |
48 | 41 | $out->addInlineStyle( $style, 'flip' ); |
49 | 42 | |
Index: trunk/phase3/skins/nostalgia/screen.css |
— | — | @@ -14,6 +14,10 @@ |
15 | 15 | padding: 2px; |
16 | 16 | } |
17 | 17 | |
| 18 | +a.new { |
| 19 | + color: #ba0000; |
| 20 | +} |
| 21 | + |
18 | 22 | a.interwiki, |
19 | 23 | a.external { |
20 | 24 | color: #3366BB; |
Index: trunk/phase3/skins/simple/main.css |
— | — | @@ -345,6 +345,7 @@ |
346 | 346 | } |
347 | 347 | a.new, |
348 | 348 | #p-personal a.new { |
| 349 | + color: #BA0000; |
349 | 350 | text-decoration: line-through; |
350 | 351 | } |
351 | 352 | li.new { |
Index: trunk/phase3/includes/resourceloader/ResourceLoaderUserCSSPrefsModule.php |
— | — | @@ -92,13 +92,6 @@ |
93 | 93 | $rules[] = 'a:lang(ar), a:lang(ckb), a:lang(fa),a:lang(kk-arab), ' . |
94 | 94 | 'a:lang(mzn), a:lang(ps), a:lang(ur) { text-decoration: none; }'; |
95 | 95 | } |
96 | | - if ( $options['highlightbroken'] ) { |
97 | | - $rules[] = "a.new, #quickbar a.new { color: #ba0000; }\n"; |
98 | | - } else { |
99 | | - $rules[] = "a.new, #quickbar a.new, a.stub, #quickbar a.stub { color: inherit; }"; |
100 | | - $rules[] = "a.new:after, #quickbar a.new:after { content: '?'; color: #ba0000; }"; |
101 | | - $rules[] = "a.stub:after, #quickbar a.stub:after { content: '!'; color: #772233; }"; |
102 | | - } |
103 | 96 | if ( $options['justify'] ) { |
104 | 97 | $rules[] = "#article, #bodyContent, #mw_content { text-align: justify; }\n"; |
105 | 98 | } |
Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -3231,7 +3231,6 @@ |
3232 | 3232 | 'gender' => 'unknown', |
3233 | 3233 | 'hideminor' => 0, |
3234 | 3234 | 'hidepatrolled' => 0, |
3235 | | - 'highlightbroken' => 1, |
3236 | 3235 | 'imagesize' => 2, |
3237 | 3236 | 'justify' => 0, |
3238 | 3237 | 'math' => 1, |
Index: trunk/phase3/includes/Preferences.php |
— | — | @@ -638,11 +638,6 @@ |
639 | 639 | ); |
640 | 640 | |
641 | 641 | if ( $wgAllowUserCssPrefs ) { |
642 | | - $defaultPreferences['highlightbroken'] = array( |
643 | | - 'type' => 'toggle', |
644 | | - 'section' => 'rendering/advancedrendering', |
645 | | - 'label' => $context->msg( 'tog-highlightbroken' )->text(), // Raw HTML |
646 | | - ); |
647 | 642 | $defaultPreferences['showtoc'] = array( |
648 | 643 | 'type' => 'toggle', |
649 | 644 | 'section' => 'rendering/advancedrendering', |
Index: trunk/phase3/RELEASE-NOTES-1.20 |
— | — | @@ -20,6 +20,7 @@ |
21 | 21 | * (bug 31417) New ID mw-content-text around the actual page text, without categories, |
22 | 22 | contentSub, ... The same div often also contains the class mw-content-ltr/rtl. |
23 | 23 | * (bug 34475) Add support for IP/CIDR notation to tablesorter |
| 24 | +* (bug 27619) Remove preference option to display broken links as link? |
24 | 25 | |
25 | 26 | === Bug fixes in 1.20 === |
26 | 27 | * (bug 30245) Use the correct way to construct a log page title. |