mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-14 07:21:36 +00:00
3a4822c2fe
Use an API 'parse' call with a sectionid to trigger a full document expansion using replaceSectionAtRev. Then send this off the RESTBase to convert to HTML and statsh. Ensure the etag is passed back to the API response. Bug: T117716 Bug: T223023 Change-Id: I1b35b28e428a1f86d2e34d90ddbe73361ce14818
69 lines
4.6 KiB
JSON
69 lines
4.6 KiB
JSON
{
|
|
"@metadata": {
|
|
"authors": [
|
|
"Alex Monk",
|
|
"Amir E. Aharoni",
|
|
"Anomie",
|
|
"Christian Williams",
|
|
"David Lynch",
|
|
"Ed Sanders",
|
|
"Erik Moeller",
|
|
"James D. Forrester",
|
|
"lokal-profil",
|
|
"Moriel Schottlender",
|
|
"Raimond Spekking",
|
|
"Roan Kattouw",
|
|
"Rob Moen",
|
|
"Siebrand Mazeland",
|
|
"Timo Tijhof",
|
|
"Trevor Parscal",
|
|
"Umherirrender",
|
|
"Yuki Shira"
|
|
]
|
|
},
|
|
"apierror-visualeditor-badcachekey": "No cached serialization found with that key",
|
|
"apierror-visualeditor-difffailed": "Diff failed",
|
|
"apierror-visualeditor-docserver-http-error": "$1",
|
|
"apierror-visualeditor-docserver-http": "HTTP $1",
|
|
"apierror-visualeditor-docserver-unconfigured": "The VirtualRESTService for the document server is not defined; see https://www.mediawiki.org/wiki/Extension:VisualEditor",
|
|
"apierror-visualeditor-docserver": "Error contacting the Parsoid/RESTbase server",
|
|
"apierror-visualeditor-latestnotfound": "Could not find latest revision for title",
|
|
"apihelp-visualeditor-description": "Returns HTML5 for a page from the Parsoid service.",
|
|
"apihelp-visualeditor-param-basetimestamp": "When saving, set this to the timestamp of the revision that was edited. Used to detect edit conflicts.",
|
|
"apihelp-visualeditor-param-cachekey": "For serialize or diff, use the result of a previous serializeforcache request with this key. Overrides $1html.",
|
|
"apihelp-visualeditor-param-editintro": "Edit intro to add to notices.",
|
|
"apihelp-visualeditor-param-etag": "ETag to send.",
|
|
"apihelp-visualeditor-param-format": "The format of the output.",
|
|
"apihelp-visualeditor-param-html": "HTML to send to Parsoid to convert to wikitext.",
|
|
"apihelp-visualeditor-param-oldid": "The revision number to use (defaults to latest revision).",
|
|
"apihelp-visualeditor-param-paction": "Action to perform.",
|
|
"apihelp-visualeditor-param-page": "The page to perform actions on.",
|
|
"apihelp-visualeditor-param-preload": "The page to use content from if the fetched page has no content yet.",
|
|
"apihelp-visualeditor-param-preloadparams": "Parameters to substitute into the preload page, if present.",
|
|
"apihelp-visualeditor-param-pst": "Pre-save transform wikitext before sending it to Parsoid (paction=parsefragment).",
|
|
"apihelp-visualeditor-param-section": "The section on which to act.",
|
|
"apihelp-visualeditor-param-starttimestamp": "When saving, set this to the timestamp of when the page was loaded. Used to detect edit conflicts.",
|
|
"apihelp-visualeditor-param-stash": "When saving, set this true if you want to use the stashing API.",
|
|
"apihelp-visualeditor-param-wikitext": "Wikitext to send to Parsoid to convert to HTML (paction=parsefragment).",
|
|
"apihelp-visualeditor-summary": "Returns HTML5 for a page from the Parsoid service.",
|
|
"apihelp-visualeditoredit-description": "Save an HTML5 page to MediaWiki (converted to wikitext via the Parsoid service).",
|
|
"apihelp-visualeditoredit-param-basetimestamp": "When saving, set this to the timestamp of the revision that was edited. Used to detect edit conflicts.",
|
|
"apihelp-visualeditoredit-param-cachekey": "Use the result of a previous serializeforcache request with this key. Overrides $1html.",
|
|
"apihelp-visualeditoredit-param-captchaid": "Captcha ID (when saving with a captcha response).",
|
|
"apihelp-visualeditoredit-param-captchaword": "Answer to the captcha (when saving with a captcha response).",
|
|
"apihelp-visualeditoredit-param-etag": "ETag to send.",
|
|
"apihelp-visualeditoredit-param-html": "HTML to send to Parsoid in exchange for wikitext.",
|
|
"apihelp-visualeditoredit-param-minor": "Flag for minor edit.",
|
|
"apihelp-visualeditoredit-param-needcheck": "When saving, set this parameter if the revision might have roundtrip problems. This will result in the edit being tagged.",
|
|
"apihelp-visualeditoredit-param-oldid": "The revision number to use. Defaults to latest revision. Use 0 for a new page.",
|
|
"apihelp-visualeditoredit-param-paction": "Action to perform.",
|
|
"apihelp-visualeditoredit-param-page": "The page to perform actions on.",
|
|
"apihelp-visualeditoredit-param-section": "The section on which to act.",
|
|
"apihelp-visualeditoredit-param-sectiontitle": "Title for new section.",
|
|
"apihelp-visualeditoredit-param-starttimestamp": "When saving, set this to the timestamp of when the page was loaded. Used to detect edit conflicts.",
|
|
"apihelp-visualeditoredit-param-summary": "Edit summary.",
|
|
"apihelp-visualeditoredit-param-watch": "Add the page to the current user's watchlist.",
|
|
"apihelp-visualeditoredit-param-wikitext": "The wikitext to act with.",
|
|
"apihelp-visualeditoredit-summary": "Save an HTML5 page to MediaWiki (converted to wikitext via the Parsoid service)."
|
|
}
|