| 1 | { |
| 2 | "@metadata": { |
| 3 | "authors": [ |
| 4 | "Bill Pirkle", |
| 5 | "Tim Starling" |
| 6 | ] |
| 7 | }, |
| 8 | "rest-prefix-mismatch": "The requested path ($1) was not inside the REST API base path ($2)", |
| 9 | "rest-bad-prefix": "The endpoint path ($1) does not contain a valid module prefix", |
| 10 | "rest-wrong-method": "The request method ($1) was not {{PLURAL:$3|the allowed method for this path|one of the allowed methods for this path}} ($2)", |
| 11 | "rest-no-match": "The requested relative path ($1) did not match any known handler", |
| 12 | "rest-unknown-module": "The requested module name ($1) is not known", |
| 13 | "rest-nonexistent-title": "The specified page ($1) does not exist", |
| 14 | "rest-nonexistent-title-revision": "The specified revision ($1) does not exist for the specified page ($2)", |
| 15 | "rest-nonexistent-revision": "The specified revision ($1) does not exist", |
| 16 | "rest-nonexistent-user": "The specified user ($1) does not exist", |
| 17 | "rest-invalid-user": "The specified username ($1) is invalid", |
| 18 | "rest-invalid-ip": "The specified IP ($1) is invalid", |
| 19 | "rest-invalid-title": "The specified title ($1) does not refer to a wiki page.", |
| 20 | "rest-unsupported-content-type": "Unsupported Content-Type: $1", |
| 21 | "rest-permission-error": "Permission denied: $1", |
| 22 | "rest-permission-denied-anon": "Not accessible by anonymous user", |
| 23 | "rest-permission-denied-title": "The user does not have rights to read title ($1)", |
| 24 | "rest-permission-denied-revision": "User doesn't have access to the requested revision ($1).", |
| 25 | "rest-rate-limit-exceeded": "A rate limit was exceeded. Please try again later.", |
| 26 | "rest-resource-limit-exceeded": "Resources limits exceeded processing the request.", |
| 27 | "rest-pagehistory-incompatible-params": "Parameters \"older_than\" and \"newer_than\" cannot both be specified", |
| 28 | "rest-pagehistory-param-range-error": "Revision id must be greater than 0", |
| 29 | "rest-pagehistory-timestamp-error": "Unable to retrieve timestamp for the specified revision ($1)", |
| 30 | "rest-pagehistorycount-type-unrecognized": "The specified count type ($1) is not valid", |
| 31 | "rest-pagehistorycount-parameters-invalid": "The specified combination of parameters is not supported.", |
| 32 | "rest-compare-page-mismatch": "The specified revisions belong to different pages; refusing to compare them.", |
| 33 | "rest-compare-permission-denied": "User doesn't have access to the requested revisions", |
| 34 | "rest-compare-nonexistent": "The revision specified by the $1 parameter does not exist.", |
| 35 | "rest-compare-inaccessible": "The revision specified by the $1 parameter is not publicly accessible.", |
| 36 | "rest-compare-wrong-content": "The $1 slot of the revision specified by the $2 parameter has a content type which cannot be converted to text.", |
| 37 | "rest-compare-wikidiff2": "This endpoint requires wikidiff2 1.9.0 or later.", |
| 38 | "rest-pagehistorycount-too-many-revisions": "The specified title contains too many revisions to retrieve this count.", |
| 39 | "rest-search-error": "Error when returning search results: $1", |
| 40 | "rest-page-source-type-error": "The content type of the page source requested is unsupported", |
| 41 | "rest-no-revision": "Unable to retrieve revision for title $1", |
| 42 | "rest-media-too-many-links": "Too many media links found on title $1 ($2 allowed)", |
| 43 | "rest-html-backend-error": "Unable to fetch Parsoid HTML: $1", |
| 44 | "rest-html-stash-failure": "Unable to stash Parsoid HTML.", |
| 45 | "rest-bad-json-body": "Bad request body, must be a JSON object.", |
| 46 | "rest-json-body-parse-error": "Parsing request body as JSON failed: $1", |
| 47 | "rest-missing-body-field": "Mandatory field \"$1\" missing from request body.", |
| 48 | "rest-body-validation-error": "Invalid request body: $1", |
| 49 | "rest-extraneous-body-fields": "Extraneous fields found in request body: $1", |
| 50 | "rest-bad-content-model": "Bad content model: $1", |
| 51 | "rest-update-cannot-create-page": "The page \"$1\" cannot be created since it already exists. To update the existing page, provide the base revision ID in the structure under \"latest\" key in the request body.", |
| 52 | "rest-extraneous-csrf-token": "Extraneous CSRF token found. CSRF tokens must not be used when using authentication mechanisms such as OAuth that are safe against CSRF attacks.", |
| 53 | "rest-cannot-load-file": "The file for title \"$1\" cannot be loaded.", |
| 54 | "rest-cross-origin-anon-write": "Anonymous cross-origin write requests are not allowed", |
| 55 | "rest-requires-safe-against-csrf": "This endpoint requires a CSRF-safe session provider.", |
| 56 | "rest-badtoken": "The CSRF token provided is invalid.", |
| 57 | "rest-badtoken-missing": "The <var>token</var> parameter is required unless using a CSRF-safe authentication method.", |
| 58 | "rest-badtoken-nosession": "CSRF error - no session.", |
| 59 | "rest-mock-error": "Mock error.", |
| 60 | "rest-specified-revision-unavailable": "The specified revision is deleted or suppressed.", |
| 61 | "rest-previous-revision-unavailable": "Could not find previous revision. Has the page been locked or deleted?", |
| 62 | "rest-requires-content-type-header": "A Content-Type header must be supplied with a request payload.", |
| 63 | "rest-transform-missing-html": "No html was supplied.", |
| 64 | "rest-transform-missing-title": "No title or wikitext was provided.", |
| 65 | "rest-unsupported-target-format": "The requested target format is not supported.", |
| 66 | "rest-parsoid-resource-exceeded": "Resource limit exceeded", |
| 67 | "rest-parsoid-error": "Parsoid error.", |
| 68 | "rest-parsoid-bad-render-id": "Bad Parsoid render ID: $1", |
| 69 | "rest-bad-stash-key": "Bad stash key.", |
| 70 | "rest-html-key-expected": "Expected <var>html</var> key in body", |
| 71 | "rest-invalid-transform": "Invalid transform: $1 to $2", |
| 72 | "rest-request-body-expected": "The $1 request method expects a request body", |
| 73 | "rest-request-body-unaccepted": "The $1 request method does not accept a request body", |
| 74 | "rest-unmapped-action-error": "Unmapped action module error: $1", |
| 75 | "rest-unsupported-transform-input": "Unsupported input: $1", |
| 76 | "rest-bad-etag": "Bad ETag: $1", |
| 77 | "rest-no-stashed-content": "No stashed content found for $1", |
| 78 | "rest-unsupported-profile-version": "Unsupported profile version: $1", |
| 79 | "rest-no-json-decode": "Payload does not JSON decode to an array", |
| 80 | "rest-parsoid-unsupported-media": "Unsupported Media Type", |
| 81 | "rest-missing-revision-html": "Missing revision html", |
| 82 | "rest-missing-revision-html-content-type": "Content-type of revision html is missing.", |
| 83 | "rest-unsupported-profile-conversion": "We do not know how to do this conversion.", |
| 84 | "rest-edit-conflict": "Edit conflict ($1)", |
| 85 | "rest-unknown-parsoid-transformation": "Unknown transformation.", |
| 86 | "rest-target-variant-required": "Target variant is required.", |
| 87 | "rest-unsupported-language-conversion": "Unsupported language conversion: $1 to $2", |
| 88 | "rest-unknown-content-model": "Unknown content model: $1", |
| 89 | "rest-page-bundle-validation-error": "PageBundle does not match contentVersion: $1", |
| 90 | "rest-param-desc-revision-id": "Revision id" |
| 91 | } |