X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2Fi18n%2Fen.json;h=ae2ffd3ddbe5e432a0b449be8c11939de23763bb;hb=ebaf9d11e6eda561447513f2c90deb01c3ed4cfc;hp=74efd820caab37d0420c475157d4342ef11b1115;hpb=9d914bed085df2ef681762c5c476c49fc495d4aa;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/i18n/en.json b/includes/api/i18n/en.json index 74efd820ca..ae2ffd3ddb 100644 --- a/includes/api/i18n/en.json +++ b/includes/api/i18n/en.json @@ -64,20 +64,30 @@ "apihelp-compare-param-fromtitle": "First title to compare.", "apihelp-compare-param-fromid": "First page ID to compare.", "apihelp-compare-param-fromrev": "First revision to compare.", - "apihelp-compare-param-fromtext": "Use this text instead of the content of the revision specified by fromtitle, fromid or fromrev.", + "apihelp-compare-param-frompst": "Do a pre-save transform on fromtext-{slot}.", + "apihelp-compare-param-fromslots": "Override content of the revision specified by fromtitle, fromid or fromrev.\n\nThis parameter specifies the slots that are to be modified. Use fromtext-{slot}, fromcontentmodel-{slot}, and fromcontentformat-{slot} to specify content for each slot.", + "apihelp-compare-param-fromtext-{slot}": "Text of the specified slot. If omitted, the slot is removed from the revision.", + "apihelp-compare-param-fromsection-{slot}": "When fromtext-{slot} is the content of a single section, this is the section number. It will be merged into the revision specified by fromtitle, fromid or fromrev as if for a section edit.", + "apihelp-compare-param-fromcontentmodel-{slot}": "Content model of fromtext-{slot}. If not supplied, it will be guessed based on the other parameters.", + "apihelp-compare-param-fromcontentformat-{slot}": "Content serialization format of fromtext-{slot}.", + "apihelp-compare-param-fromtext": "Specify fromslots=main and use fromtext-main instead.", + "apihelp-compare-param-fromcontentmodel": "Specify fromslots=main and use fromcontentmodel-main instead.", + "apihelp-compare-param-fromcontentformat": "Specify fromslots=main and use fromcontentformat-main instead.", "apihelp-compare-param-fromsection": "Only use the specified section of the specified 'from' content.", - "apihelp-compare-param-frompst": "Do a pre-save transform on fromtext.", - "apihelp-compare-param-fromcontentmodel": "Content model of fromtext. If not supplied, it will be guessed based on the other parameters.", - "apihelp-compare-param-fromcontentformat": "Content serialization format of fromtext.", "apihelp-compare-param-totitle": "Second title to compare.", "apihelp-compare-param-toid": "Second page ID to compare.", "apihelp-compare-param-torev": "Second revision to compare.", "apihelp-compare-param-torelative": "Use a revision relative to the revision determined from fromtitle, fromid or fromrev. All of the other 'to' options will be ignored.", - "apihelp-compare-param-totext": "Use this text instead of the content of the revision specified by totitle, toid or torev.", - "apihelp-compare-param-tosection": "Only use the specified section of the specified 'to' content.", "apihelp-compare-param-topst": "Do a pre-save transform on totext.", - "apihelp-compare-param-tocontentmodel": "Content model of totext. If not supplied, it will be guessed based on the other parameters.", - "apihelp-compare-param-tocontentformat": "Content serialization format of totext.", + "apihelp-compare-param-toslots": "Override content of the revision specified by totitle, toid or torev.\n\nThis parameter specifies the slots that are to be modified. Use totext-{slot}, tocontentmodel-{slot}, and tocontentformat-{slot} to specify content for each slot.", + "apihelp-compare-param-totext-{slot}": "Text of the specified slot. If omitted, the slot is removed from the revision.", + "apihelp-compare-param-tosection-{slot}": "When totext-{slot} is the content of a single section, this is the section number. It will be merged into the revision specified by totitle, toid or torev as if for a section edit.", + "apihelp-compare-param-tocontentmodel-{slot}": "Content model of totext-{slot}. If not supplied, it will be guessed based on the other parameters.", + "apihelp-compare-param-tocontentformat-{slot}": "Content serialization format of totext-{slot}.", + "apihelp-compare-param-totext": "Specify toslots=main and use totext-main instead.", + "apihelp-compare-param-tocontentmodel": "Specify toslots=main and use tocontentmodel-main instead.", + "apihelp-compare-param-tocontentformat": "Specify toslots=main and use tocontentformat-main instead.", + "apihelp-compare-param-tosection": "Only use the specified section of the specified 'to' content.", "apihelp-compare-param-prop": "Which pieces of information to get.", "apihelp-compare-paramvalue-prop-diff": "The diff HTML.", "apihelp-compare-paramvalue-prop-diffsize": "The size of the diff HTML, in bytes.", @@ -88,6 +98,7 @@ "apihelp-compare-paramvalue-prop-comment": "The comment on the 'from' and 'to' revisions.", "apihelp-compare-paramvalue-prop-parsedcomment": "The parsed comment on the 'from' and 'to' revisions.", "apihelp-compare-paramvalue-prop-size": "The size of the 'from' and 'to' revisions.", + "apihelp-compare-param-slots": "Return individual diffs for these slots, rather than one combined diff for all slots.", "apihelp-compare-example-1": "Create a diff between revision 1 and 2.", "apihelp-createaccount-summary": "Create a new user account.", @@ -1137,13 +1148,17 @@ "apihelp-query+revisions+base-paramvalue-prop-user": "User that made the revision.", "apihelp-query+revisions+base-paramvalue-prop-userid": "User ID of the revision creator.", "apihelp-query+revisions+base-paramvalue-prop-size": "Length (bytes) of the revision.", + "apihelp-query+revisions+base-paramvalue-prop-slotsize": "Length (bytes) of each revision slot.", "apihelp-query+revisions+base-paramvalue-prop-sha1": "SHA-1 (base 16) of the revision.", - "apihelp-query+revisions+base-paramvalue-prop-contentmodel": "Content model ID of the revision.", + "apihelp-query+revisions+base-paramvalue-prop-slotsha1": "SHA-1 (base 16) of each revision slot.", + "apihelp-query+revisions+base-paramvalue-prop-contentmodel": "Content model ID of each revision slot.", "apihelp-query+revisions+base-paramvalue-prop-comment": "Comment by the user for the revision.", "apihelp-query+revisions+base-paramvalue-prop-parsedcomment": "Parsed comment by the user for the revision.", - "apihelp-query+revisions+base-paramvalue-prop-content": "Text of the revision.", + "apihelp-query+revisions+base-paramvalue-prop-content": "Content of each revision slot.", "apihelp-query+revisions+base-paramvalue-prop-tags": "Tags for the revision.", - "apihelp-query+revisions+base-paramvalue-prop-parsetree": "Deprecated. Use [[Special:ApiHelp/expandtemplates|action=expandtemplates]] or [[Special:ApiHelp/parse|action=parse]] instead. The XML parse tree of revision content (requires content model $1).", + "apihelp-query+revisions+base-paramvalue-prop-roles": "List content slot roles that exist in the revision.", + "apihelp-query+revisions+base-paramvalue-prop-parsetree": "Use [[Special:ApiHelp/expandtemplates|action=expandtemplates]] or [[Special:ApiHelp/parse|action=parse]] instead. The XML parse tree of revision content (requires content model $1).", + "apihelp-query+revisions+base-param-slots": "Which revision slots to return data for, when slot-related properties are included in $1props. If omitted, data from the main slot will be returned in a backwards-compatible format.", "apihelp-query+revisions+base-param-limit": "Limit how many revisions will be returned.", "apihelp-query+revisions+base-param-expandtemplates": "Use [[Special:ApiHelp/expandtemplates|action=expandtemplates]] instead. Expand templates in revision content (requires $1prop=content).", "apihelp-query+revisions+base-param-generatexml": "Use [[Special:ApiHelp/expandtemplates|action=expandtemplates]] or [[Special:ApiHelp/parse|action=parse]] instead. Generate XML parse tree for revision content (requires $1prop=content).", @@ -1705,6 +1720,8 @@ "apierror-compare-no-title": "Cannot pre-save transform without a title. Try specifying fromtitle or totitle.", "apierror-compare-nosuchfromsection": "There is no section $1 in the 'from' content.", "apierror-compare-nosuchtosection": "There is no section $1 in the 'to' content.", + "apierror-compare-nofromrevision": "No 'from' revision. Specify fromrev, fromtitle, or fromid.", + "apierror-compare-notorevision": "No 'to' revision. Specify torev, totitle, or toid.", "apierror-compare-relative-to-nothing": "No 'from' revision for torelative to be relative to.", "apierror-contentserializationexception": "Content serialization failed: $1", "apierror-contenttoobig": "The content you supplied exceeds the article size limit of $1 {{PLURAL:$1|kilobyte|kilobytes}}.", @@ -1712,12 +1729,12 @@ "apierror-copyuploadbadurl": "Upload not allowed from this URL.", "apierror-create-titleexists": "Existing titles can't be protected with create.", "apierror-csp-report": "Error processing CSP report: $1.", - "apierror-databaseerror": "[$1] Database query error.", "apierror-deletedrevs-param-not-1-2": "The $1 parameter cannot be used in modes 1 or 2.", "apierror-deletedrevs-param-not-3": "The $1 parameter cannot be used in mode 3.", "apierror-emptynewsection": "Creating empty new sections is not possible.", "apierror-emptypage": "Creating new, empty pages is not allowed.", "apierror-exceptioncaught": "[$1] Exception caught: $2", + "apierror-exceptioncaughttype": "[$1] Caught exception of type $2", "apierror-filedoesnotexist": "File does not exist.", "apierror-fileexists-sharedrepo-perm": "The target file exists on a shared repository. Use the ignorewarnings parameter to override it.", "apierror-filenopath": "Cannot get local file path.", @@ -1752,6 +1769,7 @@ "apierror-mimesearchdisabled": "MIME search is disabled in Miser Mode.", "apierror-missingcontent-pageid": "Missing content for page ID $1.", "apierror-missingcontent-revid": "Missing content for revision ID $1.", + "apierror-missingcontent-revid-role": "Missing content for revision ID $1 for role $2.", "apierror-missingparam-at-least-one-of": "{{PLURAL:$2|The parameter|At least one of the parameters}} $1 is required.", "apierror-missingparam-one-of": "{{PLURAL:$2|The parameter|One of the parameters}} $1 is required.", "apierror-missingparam": "The $1 parameter must be set.", @@ -1823,7 +1841,7 @@ "apierror-sectionsnotsupported": "Sections are not supported for content model $1.", "apierror-sectionsnotsupported-what": "Sections are not supported by $1.", "apierror-show": "Incorrect parameter - mutually exclusive values may not be supplied.", - "apierror-siteinfo-includealldenied": "Cannot view all servers' info unless $wgShowHostNames is true.", + "apierror-siteinfo-includealldenied": "Cannot view all servers' info unless $wgShowHostnames is true.", "apierror-sizediffdisabled": "Size difference is disabled in Miser Mode.", "apierror-spamdetected": "Your edit was refused because it contained a spam fragment: $1.", "apierror-specialpage-cantexecute": "You don't have permission to view the results of this special page.", @@ -1864,11 +1882,11 @@ "apiwarn-checktoken-percentencoding": "Check that symbols such as \"+\" in the token are properly percent-encoded in the URL.", "apiwarn-compare-nocontentmodel": "No content model could be determined, assuming $1.", "apiwarn-deprecation-deletedrevs": "list=deletedrevs has been deprecated. Please use prop=deletedrevisions or list=alldeletedrevisions instead.", - "apiwarn-deprecation-expandtemplates-prop": "Because no values have been specified for the prop parameter, a legacy format has been used for the output. This format is deprecated, and in the future, a default value will be set for the prop parameter, causing the new format to always be used.", "apiwarn-deprecation-httpsexpected": "HTTP used when HTTPS was expected.", "apiwarn-deprecation-login-botpw": "Main-account login via action=login is deprecated and may stop working without warning. To continue login with action=login, see [[Special:BotPasswords]]. To safely continue using main-account login, see action=clientlogin.", "apiwarn-deprecation-login-nobotpw": "Main-account login via action=login is deprecated and may stop working without warning. To safely log in, see action=clientlogin.", "apiwarn-deprecation-login-token": "Fetching a token via action=login is deprecated. Use action=query&meta=tokens&type=login instead.", + "apiwarn-deprecation-missingparam": "Because $1 was not specified, a legacy format has been used for the output. This format is deprecated, and in the future the new format will always be used.", "apiwarn-deprecation-parameter": "The parameter $1 has been deprecated.", "apiwarn-deprecation-parse-headitems": "prop=headitems is deprecated since MediaWiki 1.28. Use prop=headhtml when creating new HTML documents, or prop=modules|jsconfigvars when updating a document client-side.", "apiwarn-deprecation-purge-get": "Use of action=purge via GET is deprecated. Use POST instead.",