diff options
author | Sam Reed <reedy@users.mediawiki.org> | 2011-08-17 22:24:21 +0000 |
---|---|---|
committer | Sam Reed <reedy@users.mediawiki.org> | 2011-08-17 22:24:21 +0000 |
commit | a5628f573480e84b877d914a4278c89ad7fce9d6 (patch) | |
tree | 1a694fc150f0aafed0e3556ed71add9b9fa417db /includes/api/ApiQueryRandom.php | |
parent | ec1a07889cb379dae0720a0c33eacddbd45c8e37 (diff) | |
download | mediawikicore-a5628f573480e84b877d914a4278c89ad7fce9d6.tar.gz mediawikicore-a5628f573480e84b877d914a4278c89ad7fce9d6.zip |
Based on diff to wikia, set more functions consistently public rather than protected
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/94827
Diffstat (limited to 'includes/api/ApiQueryRandom.php')
-rw-r--r-- | includes/api/ApiQueryRandom.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/api/ApiQueryRandom.php b/includes/api/ApiQueryRandom.php index dea0b0f51de1..0779b35e4173 100644 --- a/includes/api/ApiQueryRandom.php +++ b/includes/api/ApiQueryRandom.php @@ -175,7 +175,7 @@ class ApiQueryRandom extends ApiQueryGeneratorBase { ); } - protected function getExamples() { + public function getExamples() { return 'api.php?action=query&list=random&rnnamespace=0&rnlimit=2'; } |