43 lines
5.7 KiB
JSON
43 lines
5.7 KiB
JSON
{
|
|
"@metadata": {
|
|
"authors": [
|
|
"Bjh21",
|
|
"Chase me ladies, I'm the Cavalry",
|
|
"Macofe",
|
|
"Reedy"
|
|
]
|
|
},
|
|
"apihelp-main-extended-description": "<div class=\"hlist plainlinks api-main-links\">\n* [[mw:Special:MyLanguage/API:Main_page|Documentation]]\n* [[mw:Special:MyLanguage/API:FAQ|FAQ]]\n* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-api Mailing list]\n* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce API Announcements]\n* [https://phabricator.wikimedia.org/maniphest/query/GebfyV4uCaLd/#R Bugs & requests]\n</div>\n<strong>Status:</strong> The MediaWiki API is a mature and stable interface that is actively supported and improved. While we try to avoid it, we may occasionally need to make breaking changes; subscribe to [https://lists.wikimedia.org/pipermail/mediawiki-api-announce/ the mediawiki-api-announce mailing list] for notice of updates.\n\n<strong>Erroneous requests:</strong> When erroneous requests are sent to the API, an HTTP header will be sent with the key \"MediaWiki-API-Error\" and then both the value of the header and the error code sent back will be set to the same value. For more information see [[mw:Special:MyLanguage/API:Errors_and_warnings|API: Errors and warnings]].\n\n<p class=\"mw-apisandbox-link\"><strong>Testing:</strong> For ease of testing API requests, see [[Special:ApiSandbox]].</p>",
|
|
"apihelp-main-param-assert": "Verify that the user is logged in if set to <kbd>user</kbd>, <em>not</em> logged in if set to <kbd>anon</kbd>, or has the bot user right if <kbd>bot</kbd>.",
|
|
"apihelp-block-param-user": "User to block.",
|
|
"apihelp-block-param-allowusertalk": "Allow the user to edit their own talk page (depends on <var>[[mw:Special:MyLanguage/Manual:$wgBlockAllowsUTEdit|$wgBlockAllowsUTEdit]]</var>).",
|
|
"apihelp-block-param-watchuser": "Watch the user and talk pages of the user or IP address.",
|
|
"apihelp-block-example-ip-simple": "Block IP address <kbd>192.0.2.5</kbd> for three days with a reason.",
|
|
"apihelp-compare-summary": "Get the difference between 2 pages.",
|
|
"apihelp-compare-extended-description": "A revision number, a page title, or a page ID for both \"from\" and \"to\" must be passed.",
|
|
"apihelp-delete-example-simple": "Delete <kbd>Main Page</kbd>.",
|
|
"apihelp-delete-example-reason": "Delete <kbd>Main Page</kbd> with the reason <kbd>Preparing for move</kbd>.",
|
|
"apihelp-edit-param-contentformat": "Content serialisation format used for the input text.",
|
|
"apihelp-import-summary": "Import a page from another wiki, or an XML file.",
|
|
"apihelp-options-param-optionvalue": "The value for the option specified by <var>$1optionname</var>.",
|
|
"apihelp-parse-param-contentformat": "Content serialisation format used for the input text. Only valid when used with $1text.",
|
|
"apihelp-protect-param-protections": "List of protection levels, formatted <kbd>action=level</kbd> (e.g. <kbd>edit=sysop</kbd>). A level of <kbd>all</kbd> means everyone is allowed to take the action, i.e. no restriction.\n\n<strong>Note:</strong> Any actions not listed will have restrictions removed.",
|
|
"apihelp-protect-param-expiry": "Expiry timestamps. If only one timestamp is set, it will be used for all protections. Use <kbd>infinite</kbd>, <kbd>indefinite</kbd>, <kbd>infinity</kbd>, or <kbd>never</kbd>, for a never-expiring protection.",
|
|
"apihelp-query+allcategories-example-generator": "Retrieve information about the category page for categories beginning <kbd>List</kbd>.",
|
|
"apihelp-query+backlinks-param-limit": "How many total pages to return. If <var>$1redirect</var> is enabled, limit applies to each level separately (which means up to 2 * <var>$1limit</var> results may be returned).",
|
|
"apihelp-query+blocks-param-ip": "Get all blocks applying to this IP or CIDR range, including range blocks.\nThis cannot be used together with <var>$3users</var>. CIDR ranges broader than IPv4/$1 or IPv6/$2 will not be not accepted.",
|
|
"apihelp-query+categorymembers-param-endhexsortkey": "Sortkey to end listing from, as returned by <kbd>$1prop=sortkey</kbd>. Can only be used with <kbd>$1sort=sortkey</kbd>.",
|
|
"apihelp-query+exturlusage-param-protocol": "Protocol of the URL. If empty and <var>$1query</var> set, the protocol is <kbd>http</kbd>. Leave both this and <var>$1query</var> empty to list all external links.",
|
|
"apihelp-query+pageswithprop-example-generator": "Get additional information about the first 10 pages using <code>__NOTOC__</code>.",
|
|
"apihelp-query+revisions+base-param-difftotext": "Use <kbd>[[Special:ApiHelp/compare|action=compare]]</kbd> instead. Text to diff each revision to. Only diffs a limited number of revisions. Overrides <var>$1diffto</var>. If <var>$1section</var> is set, only that section will be diffed against this text.",
|
|
"apihelp-query+revisions+base-param-contentformat": "Serialisation format used for <var>$1difftotext</var> and expected for output of content.",
|
|
"apihelp-query+search-example-generator": "Get page information about the pages returned for a search for <kbd>meaning</kbd>.",
|
|
"apihelp-query+siteinfo-paramvalue-prop-rightsinfo": "Returns wiki rights (licence) information if available.",
|
|
"apihelp-query+watchlist-example-simple": "List the top revision for recently changed pages on the watchlist of the current user.",
|
|
"apihelp-query+watchlistraw-example-simple": "List pages on the watchlist of the current user.",
|
|
"apihelp-php-summary": "Output data in serialised PHP format.",
|
|
"apihelp-phpfm-summary": "Output data in serialised PHP format (pretty-print in HTML).",
|
|
"api-help-license": "Licence: [[$1|$2]]",
|
|
"api-help-license-unknown": "Licence: <span class=\"apihelp-unknown\">unknown</span>",
|
|
"api-help-param-multi-separate": "Separate values with <kbd>|</kbd> or [[Special:ApiHelp/main#main/datatypes|alternative]]."
|
|
}
|