From: brendajerop Date: Wed, 13 Mar 2019 07:59:19 +0000 (+0300) Subject: Correct API documentation for action=parse&prop=headhtml X-Git-Tag: 1.34.0-rc.0~2433^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=008b638e9372549dbec641f842999c0053c93e51;p=lhc%2Fweb%2Fwiklou.git Correct API documentation for action=parse&prop=headhtml The documentation stated that action=parse&prop=headhtml gives the element of the page, yet it returns the doctype, opening , element, and opening tag. Bug: T139567 Change-Id: I864d53239c8f00a7e524d8ffb659f02dae957b03 --- diff --git a/includes/api/i18n/en.json b/includes/api/i18n/en.json index 25df749465..f5cdddbb09 100644 --- a/includes/api/i18n/en.json +++ b/includes/api/i18n/en.json @@ -371,7 +371,7 @@ "apihelp-parse-paramvalue-prop-revid": "Adds the revision ID of the parsed page.", "apihelp-parse-paramvalue-prop-displaytitle": "Adds the title of the parsed wikitext.", "apihelp-parse-paramvalue-prop-headitems": "Gives items to put in the <head> of the page.", - "apihelp-parse-paramvalue-prop-headhtml": "Gives parsed <head> of the page.", + "apihelp-parse-paramvalue-prop-headhtml": "Gives parsed doctype, opening <html>, <head> element and opening <body> of the page.", "apihelp-parse-paramvalue-prop-modules": "Gives the ResourceLoader modules used on the page. To load, use mw.loader.using(). Either jsconfigvars or encodedjsconfigvars must be requested jointly with modules.", "apihelp-parse-paramvalue-prop-jsconfigvars": "Gives the JavaScript configuration variables specific to the page. To apply, use mw.config.set().", "apihelp-parse-paramvalue-prop-encodedjsconfigvars": "Gives the JavaScript configuration variables specific to the page as a JSON string.",