Index: trunk/extensions/GeoData/CoordinatesParserFunction.php |
— | — | @@ -103,7 +103,7 @@ |
104 | 104 | private function applyCoord( Coord $coord ) { |
105 | 105 | global $wgMaxCoordinatesPerPage, $wgContLang; |
106 | 106 | $geoData = $this->output->geoData; |
107 | | - if ( $geoData->getCount() >= $wgMaxCoordinatesPerPage ) { |
| 107 | + if ( $wgMaxCoordinatesPerPage >= 0 && $geoData->getCount() >= $wgMaxCoordinatesPerPage ) { |
108 | 108 | if ( $geoData->limitExceeded ) { |
109 | 109 | return Status::newFatal( '' ); |
110 | 110 | } |
Index: trunk/extensions/GeoData/GeoData.php |
— | — | @@ -48,6 +48,6 @@ |
49 | 49 | $wgDefaultGlobe = 'earth'; |
50 | 50 | |
51 | 51 | /** |
52 | | - * Maximum number of coordinates per page |
| 52 | + * Maximum number of coordinates per page, -1 means no limit |
53 | 53 | */ |
54 | | -$wgMaxCoordinatesPerPage = 50; |
| 54 | +$wgMaxCoordinatesPerPage = 500; |