r109816 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r109815‎ | r109816 | r109817 >
Date:11:15, 23 January 2012
Author:maxsem
Status:ok
Tags:
Comment:
Help urls, added dim to geosearch props, too
Modified paths:
  • /trunk/extensions/GeoData/ApiQueryCoordinates.php (modified) (history)
  • /trunk/extensions/GeoData/ApiQueryGeoSearch.php (modified) (history)

Diff [purge]

Index: trunk/extensions/GeoData/ApiQueryCoordinates.php
@@ -125,6 +125,10 @@
126126 }
127127
128128
 129+ public function getHelpUrls() {
 130+ return 'https://www.mediawiki.org/wiki/Extension:GeoData#prop.3Dcoordinates';
 131+ }
 132+
129133 public function getVersion() {
130134 return __CLASS__ . ': $Id$';
131135 }
Index: trunk/extensions/GeoData/ApiQueryGeoSearch.php
@@ -165,7 +165,7 @@
166166 ApiBase::PARAM_ISMULTI => true,
167167 ),
168168 'prop' => array(
169 - ApiBase::PARAM_TYPE => array( 'type', 'name', 'country', 'region' ),
 169+ ApiBase::PARAM_TYPE => array( 'type', 'name', 'dim', 'country', 'region' ),
170170 ApiBase::PARAM_DFLT => '',
171171 ApiBase::PARAM_ISMULTI => true,
172172 ),
@@ -211,6 +211,10 @@
212212 );
213213 }
214214
 215+ public function getHelpUrls() {
 216+ return 'https://www.mediawiki.org/wiki/Extension:GeoData#list.3Dgeosearch';
 217+ }
 218+
215219 public function getVersion() {
216220 return __CLASS__ . ': $Id$';
217221 }

Status & tagging log