r73477 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73476‎ | r73477 | r73478 >
Date:19:59, 21 September 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Changes for 0.7 - matching new Validator structure
Modified paths:
  • /trunk/extensions/Maps/includes/parserHooks/Maps_DisplayPoint.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Maps/includes/parserHooks/Maps_DisplayPoint.php
@@ -126,6 +126,8 @@
127127 $egMapsDefaultTitle
128128 );
129129
 130+ $params['title']->lowerCaseValue = false;
 131+
130132 $params['label'] = new Parameter(
131133 'label',
132134 Parameter::TYPE_STRING,
@@ -133,6 +135,8 @@
134136 array( 'text' )
135137 );
136138
 139+ $params['label']->lowerCaseValue = false;
 140+
137141 $params['icon'] = new Parameter(
138142 'icon',
139143 Parameter::TYPE_STRING,
@@ -141,7 +145,9 @@
142146 array(
143147 New CriterionNotEmpty()
144148 )
145 - );
 149+ );
 150+
 151+ $params['icon']->lowerCaseValue = false;
146152
147153 return $params;
148154 }

Status & tagging log