From 008b638e9372549dbec641f842999c0053c93e51 Mon Sep 17 00:00:00 2001 From: brendajerop Date: Wed, 13 Mar 2019 10:59:19 +0300 Subject: [PATCH] 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 --- includes/api/i18n/en.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.", -- 2.20.1