From ca32f08966f1b51fcb19460f0996bb0c4048e6fe Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 3 Dec 2011 13:29:22 +0100 Subject: Update to MediaWiki 1.18.0 * also update ArchLinux skin to chagnes in MonoBook * Use only css to hide our menu bar when printing --- includes/api/ApiHelp.php | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'includes/api/ApiHelp.php') diff --git a/includes/api/ApiHelp.php b/includes/api/ApiHelp.php index eedbde13..4b2ced7e 100644 --- a/includes/api/ApiHelp.php +++ b/includes/api/ApiHelp.php @@ -1,6 +1,6 @@ addValue( null, $this->getModuleName(), $r ); } + /** + * @param $module ApiBase + * @param $type String What type of request is this? e.g. action, query, list, prop, meta, format + * @return string + */ private function buildModuleHelp( $module, $type ) { $msg = ApiMain::makeHelpMsgHeader( $module, $type ); @@ -149,7 +154,15 @@ class ApiHelp extends ApiBase { ); } + public function getHelpUrls() { + return array( + 'https://www.mediawiki.org/wiki/API:Main_page', + 'https://www.mediawiki.org/wiki/API:FAQ', + 'https://www.mediawiki.org/wiki/API:Quick_start_guide', + ); + } + public function getVersion() { - return __CLASS__ . ': $Id: ApiHelp.php 73863 2010-09-28 02:33:43Z brion $'; + return __CLASS__ . ': $Id: ApiHelp.php 104439 2011-11-28 15:22:23Z reedy $'; } } -- cgit v1.2.3-54-g00ecf