r65784 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65783‎ | r65784 | r65785 >
Date:05:04, 2 May 2010
Author:jeroendedauw
Status:ok
Tags:
Comment:
Normalized indenting
Modified paths:
  • /trunk/extensions/SemanticMaps/Features/QueryPrinters/SM_QueryPrinters.php (modified) (history)
  • /trunk/extensions/SemanticMaps/SemanticMaps.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMaps/SemanticMaps.php
@@ -35,7 +35,7 @@
3636
3737 // Only initialize the extension when all dependencies are present.
3838 if ( defined( 'Maps_VERSION' ) && defined( 'SMW_VERSION' ) ) {
39 - define( 'SM_VERSION', '0.6 a17' );
 39+ define( 'SM_VERSION', '0.6 a19' );
4040
4141 $smgScriptPath = ( isset( $wgExtensionAssetsPath ) && $wgExtensionAssetsPath ? $wgExtensionAssetsPath : $wgScriptPath . '/extensions' ) . '/SemanticMaps';
4242 $smgDir = dirname( __FILE__ ) . '/';
Index: trunk/extensions/SemanticMaps/Features/QueryPrinters/SM_QueryPrinters.php
@@ -62,72 +62,72 @@
6363 'geoservice' => array(
6464 'criteria' => array(
6565 'in_array' => $egMapsAvailableGeoServices
66 - ),
 66+ ),
6767 'default' => $egMapsDefaultGeoService
68 - ),
 68+ ),
6969 'format' => array(
7070 'required' => true,
7171 'default' => $egMapsDefaultServices['qp']
72 - ),
 72+ ),
7373 'centre' => array(
7474 'aliases' => array( 'center' ),
75 - ),
 75+ ),
7676 'forceshow' => array(
7777 'type' => 'boolean',
7878 'aliases' => array( 'force show' ),
7979 'default' => $smgQPForceShow,
8080 'output-type' => 'boolean'
81 - ),
 81+ ),
8282 'template' => array(
8383 'criteria' => array(
8484 'not_empty' => array()
85 - ),
 85+ ),
8686 'default' => $smgQPTemplate,
87 - ),
 87+ ),
8888 'showtitle' => array(
8989 'type' => 'boolean',
9090 'aliases' => array( 'show title' ),
9191 'default' => $smgQPShowTitle,
9292 'output-type' => 'boolean'
93 - ),
 93+ ),
9494 'icon' => array(
9595 'criteria' => array(
9696 'not_empty' => array()
97 - )
98 - ),
 97+ )
 98+ ),
9999 // SMW #Ask: parameters
100100 'limit' => array(
101101 'type' => 'integer',
102102 'criteria' => array(
103103 'in_range' => array( 0 )
104 - )
105 - ),
 104+ )
 105+ ),
106106 'offset' => array(
107107 'type' => 'integer'
108 - ),
 108+ ),
109109 'sort' => array(),
110110 'order' => array(
111111 'criteria' => array(
112112 'in_array' => array( 'ascending', 'asc', 'descending', 'desc', 'reverse' )
113 - )
114 - ),
 113+ )
 114+ ),
115115 'headers' => array(
116116 'criteria' => array(
117117 'in_array' => array( 'show', 'hide' )
118 - )
119 - ),
 118+ )
 119+ ),
120120 'mainlabel' => array(),
121121 'link' => array(
122122 'criteria' => array(
123123 'in_array' => array( 'none', 'subject', 'all' )
124 - )
125 - ),
 124+ )
 125+ ),
126126 'default' => array(),
127127 'intro' => array(),
128128 'outro' => array(),
129129 'searchlabel' => array(),
130130 'distance' => array(),
131 - );
 131+ );
132132 }
133133
134134 /**

Status & tagging log