Merge "API: Allow generators to return data"
[lhc/web/wiklou.git] / includes / api / ApiQueryCategoryInfo.php
index 8f9b229..5c67ebf 100644 (file)
@@ -109,7 +109,7 @@ class ApiQueryCategoryInfo extends ApiQueryBase {
                );
        }
 
-       public function getExamplesMessages() {
+       protected function getExamplesMessages() {
                return array(
                        'action=query&prop=categoryinfo&titles=Category:Foo|Category:Bar'
                                => 'apihelp-query+categoryinfo-example-simple',