Index: trunk/extensions/GeoData/ApiQueryCoordinates.php |
— | — | @@ -103,7 +103,7 @@ |
104 | 104 | 'limit' => 'How many coordinates to return', |
105 | 105 | 'continue' => 'When more results are available, use this to continue', |
106 | 106 | 'prop' => 'What additional coordinate properties to return', |
107 | | - 'primary' => "Whether to return only primary coordinates (`yes'), secondary (`no') or both (`yes|no')", |
| 107 | + 'primary' => "Whether to return only primary coordinates (``yes''), secondary (``no'') or both (``yes|no'')", |
108 | 108 | ); |
109 | 109 | } |
110 | 110 | |
Index: trunk/extensions/GeoData/ApiQueryGeoSearch.php |
— | — | @@ -38,10 +38,10 @@ |
39 | 39 | } elseif ( isset( $params['page'] ) ) { |
40 | 40 | $t = Title::newFromText( $params['page'] ); |
41 | 41 | if ( !$t || !$t->canExist() ) { |
42 | | - $this->dieUsage( "Invalid page title `{$params['page']}' provided", '_invalid-page' ); |
| 42 | + $this->dieUsage( "Invalid page title ``{$params['page']}'' provided", '_invalid-page' ); |
43 | 43 | } |
44 | 44 | if ( !$t->exists() ) { |
45 | | - $this->dieUsage( "Page `{$params['page']}' does not exist", '_nonexistent-page' ); |
| 45 | + $this->dieUsage( "Page ``{$params['page']}'' does not exist", '_nonexistent-page' ); |
46 | 46 | } |
47 | 47 | $coord = GeoData::getPageCoordinates( $t ); |
48 | 48 | if ( !$coord ) { |
— | — | @@ -181,10 +181,10 @@ |
182 | 182 | 'radius' => 'Search radius in meters', |
183 | 183 | 'maxdim' => 'Restrict search to objects no larger than this, in meters', |
184 | 184 | 'limit' => 'Maximum number of pages to return', |
185 | | - 'globe' => "Globe to search on (by default `{$wgDefaultGlobe}')", |
| 185 | + 'globe' => "Globe to search on (by default ``{$wgDefaultGlobe}'')", |
186 | 186 | 'namespace' => 'Namespace(s) to search', |
187 | 187 | 'prop' => 'What additional coordinate properties to return', |
188 | | - 'primary' => "Whether to return only primary coordinates (`yes'), secondary (`no') or both (`yes|no')", |
| 188 | + 'primary' => "Whether to return only primary coordinates (``yes''), secondary (``no'') or both (``yes|no'')", |
189 | 189 | ); |
190 | 190 | } |
191 | 191 | |