https://www.mediawiki.org/wiki/Special:Code/MediaWiki/108279

Revision: 108279
Author:   maxsem
Date:     2012-01-06 20:25:19 +0000 (Fri, 06 Jan 2012)
Log Message:
-----------
Doubleplusplusdoubled backticks

Modified Paths:
--------------
    trunk/extensions/GeoData/ApiQueryCoordinates.php
    trunk/extensions/GeoData/ApiQueryGeoSearch.php

Modified: trunk/extensions/GeoData/ApiQueryCoordinates.php
===================================================================
--- trunk/extensions/GeoData/ApiQueryCoordinates.php    2012-01-06 20:21:21 UTC 
(rev 108278)
+++ trunk/extensions/GeoData/ApiQueryCoordinates.php    2012-01-06 20:25:19 UTC 
(rev 108279)
@@ -103,7 +103,7 @@
                        'limit' => 'How many coordinates to return',
                        'continue' => 'When more results are available, use 
this to continue',
                        'prop' => 'What additional coordinate properties to 
return',
-                       'primary' => "Whether to return only primary 
coordinates (`yes'), secondary (`no') or both (`yes|no')",
+                       'primary' => "Whether to return only primary 
coordinates (``yes''), secondary (``no'') or both (``yes|no'')",
                );
        }
 

Modified: trunk/extensions/GeoData/ApiQueryGeoSearch.php
===================================================================
--- trunk/extensions/GeoData/ApiQueryGeoSearch.php      2012-01-06 20:21:21 UTC 
(rev 108278)
+++ trunk/extensions/GeoData/ApiQueryGeoSearch.php      2012-01-06 20:25:19 UTC 
(rev 108279)
@@ -38,10 +38,10 @@
                } elseif ( isset( $params['page'] ) ) {
                        $t = Title::newFromText( $params['page'] );
                        if ( !$t || !$t->canExist() ) {
-                               $this->dieUsage( "Invalid page title 
`{$params['page']}' provided", '_invalid-page' );
+                               $this->dieUsage( "Invalid page title 
``{$params['page']}'' provided", '_invalid-page' );
                        }
                        if ( !$t->exists() ) {
-                               $this->dieUsage( "Page `{$params['page']}' does 
not exist", '_nonexistent-page' );
+                               $this->dieUsage( "Page ``{$params['page']}'' 
does not exist", '_nonexistent-page' );
                        }
                        $coord = GeoData::getPageCoordinates( $t );
                        if ( !$coord ) {
@@ -181,10 +181,10 @@
                        'radius' => 'Search radius in meters',
                        'maxdim' => 'Restrict search to objects no larger than 
this, in meters',
                        'limit' => 'Maximum number of pages to return',
-                       'globe' => "Globe to search on (by default 
`{$wgDefaultGlobe}')",
+                       'globe' => "Globe to search on (by default 
``{$wgDefaultGlobe}'')",
                        'namespace' => 'Namespace(s) to search',
                        'prop' => 'What additional coordinate properties to 
return',
-                       'primary' => "Whether to return only primary 
coordinates (`yes'), secondary (`no') or both (`yes|no')",
+                       'primary' => "Whether to return only primary 
coordinates (``yes''), secondary (``no'') or both (``yes|no'')",
                );
        }
 


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to