Index: trunk/phase3/includes/api/ApiMain.php |
— | — | @@ -867,6 +867,12 @@ |
868 | 868 | return $msg; |
869 | 869 | } |
870 | 870 | |
| 871 | + /** |
| 872 | + * @static |
| 873 | + * @param $module ApiBase |
| 874 | + * @param $paramName String What type of request is this? e.g. action, query, list, prop, meta, format |
| 875 | + * @return string |
| 876 | + */ |
871 | 877 | public static function makeHelpMsgHeader( $module, $paramName ) { |
872 | 878 | $modulePrefix = $module->getModulePrefix(); |
873 | 879 | if ( strval( $modulePrefix ) !== '' ) { |
Index: trunk/phase3/includes/api/ApiHelp.php |
— | — | @@ -93,6 +93,11 @@ |
94 | 94 | $result->addValue( null, $this->getModuleName(), $r ); |
95 | 95 | } |
96 | 96 | |
| 97 | + /** |
| 98 | + * @param $module ApiBase |
| 99 | + * @param $type String What type of request is this? e.g. action, query, list, prop, meta, format |
| 100 | + * @return string |
| 101 | + */ |
97 | 102 | private function buildModuleHelp( $module, $type ) { |
98 | 103 | $msg = ApiMain::makeHelpMsgHeader( $module, $type ); |
99 | 104 | |