Index: trunk/extensions/Wikidata/includes/api/ApiWikiDataFormatXml.php |
— | — | @@ -204,7 +204,7 @@ |
205 | 205 | |
206 | 206 | } |
207 | 207 | |
208 | | - protected function getDescription() { |
| 208 | + public function getDescription() { |
209 | 209 | return 'Output WikiData defined meaning in XML format' . parent :: getDescription(); |
210 | 210 | } |
211 | 211 | |
Index: trunk/extensions/Wikidata/includes/api/ApiWikiData.php |
— | — | @@ -319,7 +319,7 @@ |
320 | 320 | return $this->printer; |
321 | 321 | } |
322 | 322 | |
323 | | - protected function getAllowedParams() { |
| 323 | + public function getAllowedParams() { |
324 | 324 | return array ( |
325 | 325 | 'type' => array ( |
326 | 326 | ApiBase :: PARAM_DFLT => 'expression', |
— | — | @@ -371,7 +371,7 @@ |
372 | 372 | ); |
373 | 373 | } |
374 | 374 | |
375 | | - protected function getParamDescription() { |
| 375 | + public function getParamDescription() { |
376 | 376 | return array ( |
377 | 377 | 'type' => array ( |
378 | 378 | 'Query type.', |
— | — | @@ -417,7 +417,7 @@ |
418 | 418 | ); |
419 | 419 | } |
420 | 420 | |
421 | | - protected function getDescription() { |
| 421 | + public function getDescription() { |
422 | 422 | return array ( |
423 | 423 | 'This module provides an API to WikiData.' |
424 | 424 | ); |