Sistēmas pawakīsenei
Jump to navigation
Jump to search
Sta ast listi wisēisan waīstin preiēiminan en MediaWikis tītelin plattibin.
Madli kāimalukeis MediaWiki Localisation be translatewiki.net ik tu kwaitēi delīkan īmtun en MediaWikis prōgraminin tulkausnai.
| Emmens | Auprestamins teksts |
|---|---|
| Bigānts teksts | |
| apihelp-json-param-ascii (diskusiōni) (Translate) | If specified, encodes all non-ASCII using hexadecimal escape sequences. Default when <var>formatversion</var> is <kbd>1</kbd>. |
| apihelp-json-param-callback (diskusiōni) (Translate) | If specified, wraps the output into a given function call. For safety, all user-specific data will be restricted. |
| apihelp-json-param-formatversion (diskusiōni) (Translate) | Output formatting |
| apihelp-json-param-utf8 (diskusiōni) (Translate) | If specified, encodes most (but not all) non-ASCII characters as UTF-8 instead of replacing them with hexadecimal escape sequences. Default when <var>formatversion</var> is not <kbd>1</kbd>. |
| apihelp-json-paramvalue-formatversion-1 (diskusiōni) (Translate) | Backwards-compatible format (XML-style booleans, <samp>*</samp> keys for content nodes, etc.). |
| apihelp-json-paramvalue-formatversion-2 (diskusiōni) (Translate) | Modern format. |
| apihelp-json-paramvalue-formatversion-latest (diskusiōni) (Translate) | Use the latest format (currently <kbd>2</kbd>), may change without warning. |
| apihelp-json-summary (diskusiōni) (Translate) | Output data in JSON format. |
| apihelp-jsonfm-summary (diskusiōni) (Translate) | Output data in JSON format (pretty-print in HTML). |
| apihelp-link (diskusiōni) (Translate) | [[Special:ApiHelp/$1|$2]] |
| apihelp-linkaccount-example-link (diskusiōni) (Translate) | Start the process of linking to an account from <kbd>Example</kbd>. |
| apihelp-linkaccount-summary (diskusiōni) (Translate) | Link an account from a third-party provider to the current user. |
| apihelp-login-example-login (diskusiōni) (Translate) | Log in. |
| apihelp-login-extended-description (diskusiōni) (Translate) | This action should only be used in combination with [[Special:BotPasswords]]; use for main-account login is deprecated and may fail without warning. To safely log in to the main account, use <kbd>[[Special:ApiHelp/clientlogin|action=clientlogin]]</kbd>. |
| apihelp-login-extended-description-nobotpasswords (diskusiōni) (Translate) | This action is deprecated and may fail without warning. To safely log in, use <kbd>[[Special:ApiHelp/clientlogin|action=clientlogin]]</kbd>. |
| apihelp-login-param-domain (diskusiōni) (Translate) | Domain (optional). |
| apihelp-login-param-name (diskusiōni) (Translate) | Username. |
| apihelp-login-param-password (diskusiōni) (Translate) | Password. |
| apihelp-login-param-token (diskusiōni) (Translate) | Login token obtained in first request. |
| apihelp-login-summary (diskusiōni) (Translate) | Log in and get authentication cookies. |
| apihelp-logout-example-logout (diskusiōni) (Translate) | Log the current user out. |
| apihelp-logout-summary (diskusiōni) (Translate) | Log out and clear session data. |
| apihelp-main-extended-description (diskusiōni) (Translate) | <div class="hlist plainlinks api-main-links"> * [[mw:Special:MyLanguage/API:Main_page|Documentation]] * [[mw:Special:MyLanguage/API:Etiquette|Etiquette & usage guidelines]] * [[mw:Special:MyLanguage/API:FAQ|FAQ]] * [https://lists.wikimedia.org/postorius/lists/mediawiki-api.lists.wikimedia.org/ Mailing list] * [https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/ API Announcements] * [https://phabricator.wikimedia.org/maniphest/query/GebfyV4uCaLd/#R Bugs & requests] </div> <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/hyperkitty/list/mediawiki-api-announce@lists.wikimedia.org/ the mediawiki-api-announce mailing list] for notice of updates. <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]]. <p class="mw-apisandbox-link"><strong>Testing:</strong> For ease of testing API requests, see [[Special:ApiSandbox]].</p> |
| apihelp-main-param-action (diskusiōni) (Translate) | Which action to perform. |
| apihelp-main-param-assert (diskusiōni) (Translate) | 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-main-param-assertuser (diskusiōni) (Translate) | Verify the current user is the named user. |
| apihelp-main-param-curtimestamp (diskusiōni) (Translate) | Include the current timestamp in the result. |
| apihelp-main-param-errorformat (diskusiōni) (Translate) | Format to use for warning and error text output |
| apihelp-main-param-errorlang (diskusiōni) (Translate) | Language to use for warnings and errors. <kbd>[[Special:ApiHelp/query+siteinfo|action=query&meta=siteinfo&siprop=languages]]</kbd> returns a list of language codes, or specify <kbd>content</kbd> to use this wiki's content language, or specify <kbd>uselang</kbd> to use the same value as the <var>uselang</var> parameter. |
| apihelp-main-param-errorsuselocal (diskusiōni) (Translate) | If given, error texts will use locally-customized messages from the {{ns:MediaWiki}} namespace. |
| apihelp-main-param-format (diskusiōni) (Translate) | The format of the output. |
| apihelp-main-param-maxage (diskusiōni) (Translate) | Set the <code>max-age</code> HTTP cache control header to this many seconds. Errors are never cached. |
| apihelp-main-param-maxlag (diskusiōni) (Translate) | Maximum lag can be used when MediaWiki is installed on a database replicated cluster. To save actions causing any more site replication lag, this parameter can make the client wait until the replication lag is less than the specified value. In case of excessive lag, error code <samp>maxlag</samp> is returned with a message like <samp>Waiting for $host: $lag seconds lagged</samp>.<br />See [[mw:Special:MyLanguage/Manual:Maxlag_parameter|Manual: Maxlag parameter]] for more information. |
| apihelp-main-param-origin (diskusiōni) (Translate) | When accessing the API using a cross-domain AJAX request (CORS), set this to the originating domain. This must be included in any pre-flight request, and therefore must be part of the request URI (not the POST body). For authenticated requests, this must match one of the origins in the <code>Origin</code> header exactly, so it has to be set to something like <kbd>https://en.wikipedia.org</kbd> or <kbd>https://meta.wikimedia.org</kbd>. If this parameter does not match the <code>Origin</code> header, a 403 response will be returned. If this parameter matches the <code>Origin</code> header and the origin is allowed, the <code>Access-Control-Allow-Origin</code> and <code>Access-Control-Allow-Credentials</code> headers will be set. For non-authenticated requests, specify the value <kbd>*</kbd>. This will cause the <code>Access-Control-Allow-Origin</code> header to be set, but <code>Access-Control-Allow-Credentials</code> will be <code>false</code> and all user-specific data will be restricted. |
| apihelp-main-param-requestid (diskusiōni) (Translate) | Any value given here will be included in the response. May be used to distinguish requests. |
| apihelp-main-param-responselanginfo (diskusiōni) (Translate) | Include the languages used for <var>uselang</var> and <var>errorlang</var> in the result. |
| apihelp-main-param-servedby (diskusiōni) (Translate) | Include the hostname that served the request in the results. |
| apihelp-main-param-smaxage (diskusiōni) (Translate) | Set the <code>s-maxage</code> HTTP cache control header to this many seconds. Errors are never cached. |
| apihelp-main-param-uselang (diskusiōni) (Translate) | Language to use for message translations. <kbd>[[Special:ApiHelp/query+siteinfo|action=query&meta=siteinfo&siprop=languages]]</kbd> returns a list of language codes, or specify <kbd>user</kbd> to use the current user's language preference, or specify <kbd>content</kbd> to use this wiki's content language. |
| apihelp-main-param-variant (diskusiōni) (Translate) | Variant of the language. Only works if the base language supports variant conversion. |
| apihelp-main-paramvalue-errorformat-bc (diskusiōni) (Translate) | Format used prior to MediaWiki 1.29. <var>errorlang</var> and <var>errorsuselocal</var> are ignored. |
| apihelp-main-paramvalue-errorformat-html (diskusiōni) (Translate) | HTML |
| apihelp-main-paramvalue-errorformat-none (diskusiōni) (Translate) | No text output, only the error codes. |
| apihelp-main-paramvalue-errorformat-plaintext (diskusiōni) (Translate) | Wikitext with HTML tags removed and entities replaced. |
| apihelp-main-paramvalue-errorformat-raw (diskusiōni) (Translate) | Message key and parameters. |
| apihelp-main-paramvalue-errorformat-wikitext (diskusiōni) (Translate) | Unparsed wikitext. |
| apihelp-main-summary (diskusiōni) (Translate) | |
| apihelp-managetags-example-activate (diskusiōni) (Translate) | Activate a tag named <kbd>spam</kbd> with the reason <kbd>For use in edit patrolling</kbd> |
| apihelp-managetags-example-create (diskusiōni) (Translate) | Create a tag named <kbd>spam</kbd> with the reason <kbd>For use in edit patrolling</kbd> |
| apihelp-managetags-example-deactivate (diskusiōni) (Translate) | Deactivate a tag named <kbd>spam</kbd> with the reason <kbd>No longer required</kbd> |