r95675 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95674‎ | r95675 | r95676 >
Date:16:12, 29 August 2011
Author:krinkle
Status:ok
Tags:
Comment:
ResourceLoaderUserOptionsModule.php: Add comment about options['underline']
Modified paths:
  • /trunk/phase3/includes/resourceloader/ResourceLoaderUserOptionsModule.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/resourceloader/ResourceLoaderUserOptionsModule.php
@@ -93,6 +93,8 @@
9494
9595 // Build CSS rules
9696 $rules = array();
 97+
 98+ // Underline: 2 = browser default, 1 = always, 0 = never
9799 if ( $options['underline'] < 2 ) {
98100 $rules[] = "a { text-decoration: " .
99101 ( $options['underline'] ? 'underline' : 'none' ) . "; }";

Status & tagging log