* (bug 31417) New ID mw-content-text around the actual page text, without categories,
contentSub, ... The same div often also contains the class mw-content-ltr/rtl.
* (bug 34475) Add support for IP/CIDR notation to tablesorter
+* (bug 27619) Remove preference option to display broken links as link?
=== Bug fixes in 1.20 ===
* (bug 30245) Use the correct way to construct a log page title.
'gender' => 'unknown',
'hideminor' => 0,
'hidepatrolled' => 0,
- 'highlightbroken' => 1,
'imagesize' => 2,
'justify' => 0,
'math' => 1,
);
if ( $wgAllowUserCssPrefs ) {
- $defaultPreferences['highlightbroken'] = array(
- 'type' => 'toggle',
- 'section' => 'rendering/advancedrendering',
- 'label' => $context->msg( 'tog-highlightbroken' )->text(), // Raw HTML
- );
$defaultPreferences['showtoc'] = array(
'type' => 'toggle',
'section' => 'rendering/advancedrendering',
$rules[] = 'a:lang(ar), a:lang(ckb), a:lang(fa),a:lang(kk-arab), ' .
'a:lang(mzn), a:lang(ps), a:lang(ur) { text-decoration: none; }';
}
- if ( $options['highlightbroken'] ) {
- $rules[] = "a.new, #quickbar a.new { color: #ba0000; }\n";
- } else {
- $rules[] = "a.new, #quickbar a.new, a.stub, #quickbar a.stub { color: inherit; }";
- $rules[] = "a.new:after, #quickbar a.new:after { content: '?'; color: #ba0000; }";
- $rules[] = "a.stub:after, #quickbar a.stub:after { content: '!'; color: #772233; }";
- }
if ( $options['justify'] ) {
$rules[] = "#article, #bodyContent, #mw_content { text-align: justify; }\n";
}
if ( $this->getUser()->getOption( 'underline' ) < 2 ) {
$underline = "text-decoration: " . $this->getUser()->getOption( 'underline' ) ? 'underline !important' : 'none' . ";";
}
-
- /* Also inherits from resourceloader */
- if( !$this->getUser()->getOption( 'highlightbroken' ) ) {
- $rules[] = "a.new, a.stub { color: inherit; text-decoration: inherit;}";
- $rules[] = "a.new:after { color: #CC2200; $underline;}";
- $rules[] = "a.stub:after { $underline; }";
- }
$style = implode( "\n", $rules );
$out->addInlineStyle( $style, 'flip' );
padding: 2px;
}
+a.new {
+ color: #ba0000;
+}
+
a.interwiki,
a.external {
color: #3366BB;
}
a.new,
#p-personal a.new {
+ color: #BA0000;
text-decoration: line-through;
}
li.new {