Index: branches/RL2/extensions/Gadgets/api/ApiQueryGadgetPages.php |
— | — | @@ -140,7 +140,7 @@ |
141 | 141 | ); |
142 | 142 | } |
143 | 143 | |
144 | | - protected function getExamples() { |
| 144 | + public function getExamples() { |
145 | 145 | return array( |
146 | 146 | 'Get a list of .js pages in the MediaWiki namespace:', |
147 | 147 | ' api.php?action=query&list=gadgetpages&gpextension=js&gpnamespace=8', |
Index: branches/RL2/extensions/Gadgets/api/ApiQueryGadgets.php |
— | — | @@ -200,7 +200,7 @@ |
201 | 201 | ); |
202 | 202 | } |
203 | 203 | |
204 | | - protected function getExamples() { |
| 204 | + public function getExamples() { |
205 | 205 | $params = $this->getAllowedParams(); |
206 | 206 | $allProps = implode( '|', $params['prop'][ApiBase::PARAM_TYPE] ); |
207 | 207 | return array( |
Index: branches/RL2/extensions/Gadgets/api/ApiQueryGadgetCategories.php |
— | — | @@ -121,7 +121,7 @@ |
122 | 122 | ); |
123 | 123 | } |
124 | 124 | |
125 | | - protected function getExamples() { |
| 125 | + public function getExamples() { |
126 | 126 | $params = $this->getAllowedParams(); |
127 | 127 | $allProps = implode( '|', $params['prop'][ApiBase::PARAM_TYPE] ); |
128 | 128 | return array( |