Համակարգային ուղերձներ
Jump to navigation
Jump to search
Ստորև բերված է «MediaWiki» անվանատարածքի բոլոր համակարգային ուղերձների ցանկը։
Please visit MediaWiki Localisation and translatewiki.net if you wish to contribute to the generic MediaWiki localisation.
| Անուն | Ուղերձի լռելյայն տեքստ |
|---|---|
| Ընթացիկ տեքստ | |
| apihelp-json-paramvalue-formatversion-2 (Քննարկում) (Թարգմանել) | Modern format. |
| apihelp-json-paramvalue-formatversion-latest (Քննարկում) (Թարգմանել) | Use the latest format (currently <kbd>2</kbd>), may change without warning. |
| apihelp-json-summary (Քննարկում) (Թարգմանել) | Output data in JSON format. |
| apihelp-jsonfm-summary (Քննարկում) (Թարգմանել) | Output data in JSON format (pretty-print in HTML). |
| apihelp-link (Քննարկում) (Թարգմանել) | [[Special:ApiHelp/$1|$2]] |
| apihelp-linkaccount-example-link (Քննարկում) (Թարգմանել) | Start the process of linking to an account from <kbd>Example</kbd>. |
| apihelp-linkaccount-summary (Քննարկում) (Թարգմանել) | Link an account from a third-party provider to the current user. |
| apihelp-login-example-login (Քննարկում) (Թարգմանել) | Log in. |
| apihelp-login-extended-description (Քննարկում) (Թարգմանել) | 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 (Քննարկում) (Թարգմանել) | 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 (Քննարկում) (Թարգմանել) | Domain (optional). |
| apihelp-login-param-name (Քննարկում) (Թարգմանել) | Username. |
| apihelp-login-param-password (Քննարկում) (Թարգմանել) | Password. |
| apihelp-login-param-token (Քննարկում) (Թարգմանել) | Login token obtained in first request. |
| apihelp-login-summary (Քննարկում) (Թարգմանել) | Log in and get authentication cookies. |
| apihelp-logout-example-logout (Քննարկում) (Թարգմանել) | Log the current user out. |
| apihelp-logout-summary (Քննարկում) (Թարգմանել) | Log out and clear session data. |
| apihelp-main-extended-description (Քննարկում) (Թարգմանել) | <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 (Քննարկում) (Թարգմանել) | Which action to perform. |
| 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-main-param-assertuser (Քննարկում) (Թարգմանել) | Verify the current user is the named user. |
| apihelp-main-param-curtimestamp (Քննարկում) (Թարգմանել) | Include the current timestamp in the result. |
| apihelp-main-param-errorformat (Քննարկում) (Թարգմանել) | Format to use for warning and error text output |
| apihelp-main-param-errorlang (Քննարկում) (Թարգմանել) | Language to use for warnings and errors. <kbd>[[Special:ApiHelp/query+siteinfo|action=query&meta=siteinfo]]</kbd> with <kbd>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 (Քննարկում) (Թարգմանել) | If given, error texts will use locally-customized messages from the {{ns:MediaWiki}} namespace. |
| apihelp-main-param-format (Քննարկում) (Թարգմանել) | The format of the output. |
| apihelp-main-param-maxage (Քննարկում) (Թարգմանել) | Set the <code>max-age</code> HTTP cache control header to this many seconds. Errors are never cached. |
| apihelp-main-param-maxlag (Քննարկում) (Թարգմանել) | 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 (Քննարկում) (Թարգմանել) | 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 (Քննարկում) (Թարգմանել) | Any value given here will be included in the response. May be used to distinguish requests. |
| apihelp-main-param-responselanginfo (Քննարկում) (Թարգմանել) | Include the languages used for <var>uselang</var> and <var>errorlang</var> in the result. |
| apihelp-main-param-servedby (Քննարկում) (Թարգմանել) | Include the hostname that served the request in the results. |
| apihelp-main-param-smaxage (Քննարկում) (Թարգմանել) | Set the <code>s-maxage</code> HTTP cache control header to this many seconds. Errors are never cached. |
| apihelp-main-param-uselang (Քննարկում) (Թարգմանել) | Language to use for message translations. <kbd>[[Special:ApiHelp/query+siteinfo|action=query&meta=siteinfo]]</kbd> with <kbd>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 (Քննարկում) (Թարգմանել) | Variant of the language. Only works if the base language supports variant conversion. |
| apihelp-main-paramvalue-errorformat-bc (Քննարկում) (Թարգմանել) | Format used prior to MediaWiki 1.29. <var>errorlang</var> and <var>errorsuselocal</var> are ignored. |
| apihelp-main-paramvalue-errorformat-html (Քննարկում) (Թարգմանել) | HTML |
| apihelp-main-paramvalue-errorformat-none (Քննարկում) (Թարգմանել) | No text output, only the error codes. |
| apihelp-main-paramvalue-errorformat-plaintext (Քննարկում) (Թարգմանել) | Wikitext with HTML tags removed and entities replaced. |
| apihelp-main-paramvalue-errorformat-raw (Քննարկում) (Թարգմանել) | Message key and parameters. |
| apihelp-main-paramvalue-errorformat-wikitext (Քննարկում) (Թարգմանել) | Unparsed wikitext. |
| apihelp-main-summary (Քննարկում) (Թարգմանել) | |
| apihelp-managetags-example-activate (Քննարկում) (Թարգմանել) | Activate a tag named <kbd>spam</kbd> with the reason <kbd>For use in edit patrolling</kbd> |
| apihelp-managetags-example-create (Քննարկում) (Թարգմանել) | Create a tag named <kbd>spam</kbd> with the reason <kbd>For use in edit patrolling</kbd> |
| apihelp-managetags-example-deactivate (Քննարկում) (Թարգմանել) | Deactivate a tag named <kbd>spam</kbd> with the reason <kbd>No longer required</kbd> |
| apihelp-managetags-example-delete (Քննարկում) (Թարգմանել) | Delete the <kbd>vandlaism</kbd> tag with the reason <kbd>Misspelt</kbd> |
| apihelp-managetags-param-ignorewarnings (Քննարկում) (Թարգմանել) | Whether to ignore any warnings that are issued during the operation. |
| apihelp-managetags-param-operation (Քննարկում) (Թարգմանել) | Which operation to perform: ;create:Create a new change tag for manual use. ;delete:Remove a change tag from the database, including removing the tag from all revisions, recent change entries and log entries on which it is used. ;activate:Activate a change tag, allowing users to apply it manually. ;deactivate:Deactivate a change tag, preventing users from applying it manually. |
| apihelp-managetags-param-reason (Քննարկում) (Թարգմանել) | An optional reason for creating, deleting, activating or deactivating the tag. |
| apihelp-managetags-param-tag (Քննարկում) (Թարգմանել) | Tag to create, delete, activate or deactivate. For tag creation, the tag must not exist. For tag deletion, the tag must exist. For tag activation, the tag must exist and not be in use by an extension. For tag deactivation, the tag must be currently active and manually defined. |