Spage has uploaded a new change for review. https://gerrit.wikimedia.org/r/251190
Change subject: Add example of help for all query submodules ...................................................................... Add example of help for all query submodules It's useful and shows difference from recursivesubmodules. Change-Id: I85cb5c89fde0063bbd9dfc86d00c14553035f053 --- M includes/api/ApiHelp.php M includes/api/i18n/en.json M includes/api/i18n/qqq.json 3 files changed, 4 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/90/251190/1 diff --git a/includes/api/ApiHelp.php b/includes/api/ApiHelp.php index c33b27b..db7c149 100644 --- a/includes/api/ApiHelp.php +++ b/includes/api/ApiHelp.php @@ -759,6 +759,8 @@ return array( 'action=help' => 'apihelp-help-example-main', + 'action=help&modules=query&submodules=1' + => 'apihelp-help-example-submodules', 'action=help&recursivesubmodules=1' => 'apihelp-help-example-recursive', 'action=help&modules=help' diff --git a/includes/api/i18n/en.json b/includes/api/i18n/en.json index 450d83a..d4e5303 100644 --- a/includes/api/i18n/en.json +++ b/includes/api/i18n/en.json @@ -191,6 +191,7 @@ "apihelp-help-param-wrap": "Wrap the output in a standard API response structure.", "apihelp-help-param-toc": "Include a table of contents in the HTML output.", "apihelp-help-example-main": "Help for the main module.", + "apihelp-help-example-submodules": "Help for <kbd>action=query</kbd> and all its submodules.", "apihelp-help-example-recursive": "All help in one page.", "apihelp-help-example-help": "Help for the help module itself.", "apihelp-help-example-query": "Help for two query submodules.", diff --git a/includes/api/i18n/qqq.json b/includes/api/i18n/qqq.json index 947c89b..05b19f1 100644 --- a/includes/api/i18n/qqq.json +++ b/includes/api/i18n/qqq.json @@ -184,6 +184,7 @@ "apihelp-help-param-wrap": "{{doc-apihelp-param|help|wrap}}", "apihelp-help-param-toc": "{{doc-apihelp-param|help|toc}}", "apihelp-help-example-main": "{{doc-apihelp-example|help}}", + "apihelp-help-example-submodules": "{{doc-apihelp-example|help}}", "apihelp-help-example-recursive": "{{doc-apihelp-example|help}}", "apihelp-help-example-help": "{{doc-apihelp-example|help}}", "apihelp-help-example-query": "{{doc-apihelp-example|help}}", -- To view, visit https://gerrit.wikimedia.org/r/251190 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I85cb5c89fde0063bbd9dfc86d00c14553035f053 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Spage <sp...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits