r65946 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65945‎ | r65946 | r65947 >
Date:09:06, 5 May 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Follow up to r65945
Modified paths:
  • /trunk/extensions/Maps/Features/DisplayMap/Maps_BaseMap.php (modified) (history)
  • /trunk/extensions/Maps/Features/DisplayPoint/Maps_BasePointMap.php (modified) (history)
  • /trunk/extensions/Maps/Maps_Mapper.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Maps/Maps_Mapper.php
@@ -270,14 +270,12 @@
271271 'criteria' => array(
272272 'is_map_dimension' => array( 'width' ),
273273 ),
274 - 'default' => $egMapsMapWidth,
275274 'output-type' => array( 'mapdimension', 'width', $egMapsMapWidth )
276275 ),
277276 'height' => array(
278277 'criteria' => array(
279278 'is_map_dimension' => array( 'height' ),
280279 ),
281 - 'default' => $egMapsMapHeight,
282280 'output-type' => array( 'mapdimension', 'height', $egMapsMapHeight )
283281 ),
284282 );
Index: trunk/extensions/Maps/Features/DisplayPoint/Maps_BasePointMap.php
@@ -67,6 +67,12 @@
6868 global $egMapsDefaultServices, $egMapsDefaultTitle, $egMapsDefaultLabel;
6969
7070 return array(
 71+ 'width' => array(
 72+ 'default' => $egMapsMapWidth
 73+ ),
 74+ 'height' => array(
 75+ 'default' => $egMapsMapHeight
 76+ ),
7177 'service' => array(
7278 'default' => $egMapsDefaultServices['display_point']
7379 ),
Index: trunk/extensions/Maps/Features/DisplayMap/Maps_BaseMap.php
@@ -66,6 +66,12 @@
6767 global $egMapsDefaultServices;
6868
6969 return array(
 70+ 'width' => array(
 71+ 'default' => $egMapsMapWidth
 72+ ),
 73+ 'height' => array(
 74+ 'default' => $egMapsMapHeight
 75+ ),
7076 'service' => array(
7177 'default' => $egMapsDefaultServices['display_map']
7278 ),

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r65945Changes for 0.6 - Added seperate settings for maps width and height for maps ...jeroendedauw09:05, 5 May 2010

Status & tagging log