API get functions should be public
authorJohn Du Hart <johnduhart@users.mediawiki.org>
Fri, 26 Aug 2011 22:56:31 +0000 (22:56 +0000)
committerJohn Du Hart <johnduhart@users.mediawiki.org>
Fri, 26 Aug 2011 22:56:31 +0000 (22:56 +0000)
includes/api/ApiEditPage.php

index cf64ede..4cfa343 100644 (file)
@@ -371,7 +371,7 @@ class ApiEditPage extends ApiBase {
                return true;
        }
 
-       protected function getDescription() {
+       public function getDescription() {
                return 'Create and edit pages.';
        }