From: Brad Jorsch Date: Mon, 21 Sep 2015 14:31:01 +0000 (-0400) Subject: Add i18n messages for ApiStashEdit X-Git-Tag: 1.31.0-rc.0~9937^2 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=ec658adad5d78aa4b2ba6fd451deb66b33215f55;p=lhc%2Fweb%2Fwiklou.git Add i18n messages for ApiStashEdit Bug: T113189 Change-Id: Iee7b2fbb7b9cd4e7255c87d78be9396073f41236 --- diff --git a/includes/api/ApiStashEdit.php b/includes/api/ApiStashEdit.php index a66b356f56..e87fc97a19 100644 --- a/includes/api/ApiStashEdit.php +++ b/includes/api/ApiStashEdit.php @@ -20,7 +20,7 @@ */ /** - * Prepare and edit in shared cache so that it can be reused on edit + * Prepare an edit in shared cache so that it can be reused on edit * * This endpoint can be called via AJAX as the user focuses on the edit * summary box. By the time of submission, the parse may have already diff --git a/includes/api/i18n/en.json b/includes/api/i18n/en.json index 173598f589..78f0568597 100644 --- a/includes/api/i18n/en.json +++ b/includes/api/i18n/en.json @@ -1256,6 +1256,15 @@ "apihelp-setnotificationtimestamp-example-pagetimestamp": "Set the notification timestamp for Main page so all edits since 1 January 2012 are unviewed.", "apihelp-setnotificationtimestamp-example-allpages": "Reset the notification status for pages in the {{ns:user}} namespace.", + "apihelp-stashedit-description": "Prepare an edit in shared cache.\n\nThis is intended to be used via AJAX from the edit form to improve the performance of the page save.", + "apihelp-stashedit-param-title": "Title of the page being edited.", + "apihelp-stashedit-param-section": "Section number. 0 for the top section, new for a new section.", + "apihelp-stashedit-param-sectiontitle": "The title for a new section.", + "apihelp-stashedit-param-text": "Page content.", + "apihelp-stashedit-param-contentmodel": "Content model of the new content.", + "apihelp-stashedit-param-contentformat": "Content serialization format used for the input text.", + "apihelp-stashedit-param-baserevid": "Revision ID of the base revision.", + "apihelp-tag-description": "Add or remove change tags from individual revisions or log entries.", "apihelp-tag-param-rcid": "One or more recent changes IDs from which to add or remove the tag.", "apihelp-tag-param-revid": "One or more revision IDs from which to add or remove the tag.", diff --git a/includes/api/i18n/qqq.json b/includes/api/i18n/qqq.json index b851152830..985983515e 100644 --- a/includes/api/i18n/qqq.json +++ b/includes/api/i18n/qqq.json @@ -1170,6 +1170,14 @@ "apihelp-setnotificationtimestamp-example-page": "{{doc-apihelp-example|setnotificationtimestamp}}", "apihelp-setnotificationtimestamp-example-pagetimestamp": "{{doc-apihelp-example|setnotificationtimestamp}}", "apihelp-setnotificationtimestamp-example-allpages": "{{doc-apihelp-example|setnotificationtimestamp}}", + "apihelp-stashedit-description": "{{apihelp-description|stashedit}}", + "apihelp-stashedit-param-baserevid": "{{apihelp-param|stashedit|baserevid}}", + "apihelp-stashedit-param-contentformat": "{{apihelp-param|stashedit|contentformat}}", + "apihelp-stashedit-param-contentmodel": "{{apihelp-param|stashedit|contentmodel}}", + "apihelp-stashedit-param-section": "{{apihelp-param|stashedit|section}}", + "apihelp-stashedit-param-sectiontitle": "{{apihelp-param|stashedit|sectiontitle}}", + "apihelp-stashedit-param-text": "{{apihelp-param|stashedit|text}}", + "apihelp-stashedit-param-title": "{{apihelp-param|stashedit|title}}", "apihelp-tag-description": "{{doc-apihelp-description|tag}}", "apihelp-tag-param-rcid": "{{doc-apihelp-param|tag|rcid}}", "apihelp-tag-param-revid": "{{doc-apihelp-param|tag|revid}}",