Index: trunk/extensions/GeoData/CoordinatesParserFunction.php |
— | — | @@ -108,7 +108,10 @@ |
109 | 109 | return Status::newFatal( '' ); |
110 | 110 | } |
111 | 111 | $geoData->limitExceeded = true; |
112 | | - return Status::newFatal( 'geodata-limit-exceeded', $wgContLang->formatNum( $wgMaxCoordinatesPerPage ) ); |
| 112 | + return Status::newFatal( 'geodata-limit-exceeded', |
| 113 | + $wgContLang->formatNum( $wgMaxCoordinatesPerPage ), |
| 114 | + $wgMaxCoordinatesPerPage |
| 115 | + ); |
113 | 116 | } |
114 | 117 | if ( $coord->primary ) { |
115 | 118 | if ( $geoData->getPrimary() ) { |
Index: trunk/extensions/GeoData/GeoData.i18n.php |
— | — | @@ -15,7 +15,7 @@ |
16 | 16 | 'geodata-bad-longitude' => '<nowiki>{{#coordinates:}}</nowiki>: invalid longitude', |
17 | 17 | 'geodata-bad-region' => '<nowiki>{{#coordinates:}}</nowiki>: invalid region code format', |
18 | 18 | 'geodata-multiple-primary' => '<nowiki>{{#coordinates:}}</nowiki>: cannot have more than one primary tag per page', |
19 | | - 'geodata-limit-exceeded' => 'The limit of $1 <nowiki>{{#coordinates:}}</nowiki> tags per page has been exceeded', |
| 19 | + 'geodata-limit-exceeded' => 'The limit of $1 <nowiki>{{#coordinates:}}</nowiki> {{PLURAL:$2|tag|tags}} per page has been exceeded', |
20 | 20 | 'geodata-broken-tags-category' => 'Pages with malformed coordinate tags', |
21 | 21 | 'geodata-primary-coordinate' => 'primary', |
22 | 22 | ); |