Add i18n messages for ApiStashEdit
authorBrad Jorsch <bjorsch@wikimedia.org>
Mon, 21 Sep 2015 14:31:01 +0000 (10:31 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Mon, 21 Sep 2015 14:31:01 +0000 (10:31 -0400)
Bug: T113189
Change-Id: Iee7b2fbb7b9cd4e7255c87d78be9396073f41236

includes/api/ApiStashEdit.php
includes/api/i18n/en.json
includes/api/i18n/qqq.json

index a66b356..e87fc97 100644 (file)
@@ -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
index 173598f..78f0568 100644 (file)
        "apihelp-setnotificationtimestamp-example-pagetimestamp": "Set the notification timestamp for <kbd>Main page</kbd> so all edits since 1 January 2012 are unviewed.",
        "apihelp-setnotificationtimestamp-example-allpages": "Reset the notification status for pages in the <kbd>{{ns:user}}</kbd> 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. <kbd>0</kbd> for the top section, <kbd>new</kbd> 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.",
index b851152..9859835 100644 (file)
        "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}}",