Համակարգային ուղերձներ

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-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 (including possibly as a temporary user) 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-crossorigin (քննարկում) (Թարգմանել) When accessing the API using a cross-domain AJAX request (CORS) and using a session provider that is safe against cross-site request forgery (CSRF) attacks (such as OAuth), use this instead of <code>origin=*</code> to make the request authenticated (i.e., not logged out). This must be included in any pre-flight request, and therefore must be part of the request URI (not the POST body). Note that most session providers, including standard cookie-based sessions, do not support authenticated CORS and cannot be used with this parameter.
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&siprop=languages]]</kbd> returns a list of language codes. Specify <kbd>content</kbd> to use this wiki's content language or <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&siprop=languages]]</kbd> returns a list of language codes. You can specify <kbd>user</kbd> to use the current user's language preference or <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:
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.
apihelp-managetags-param-tags (քննարկում) (Թարգմանել) Change tags to apply to the entry in the tag management log.
apihelp-managetags-paramvalue-operation-activate (քննարկում) (Թարգմանել) Activate a change tag, allowing users to apply it manually.
apihelp-managetags-paramvalue-operation-create (քննարկում) (Թարգմանել) Create a new change tag for manual use.
apihelp-managetags-paramvalue-operation-deactivate (քննարկում) (Թարգմանել) Deactivate a change tag, preventing users from applying it manually.
apihelp-managetags-paramvalue-operation-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.
apihelp-managetags-summary (քննարկում) (Թարգմանել) Perform management tasks relating to change tags.
apihelp-mergehistory-example-merge (քննարկում) (Թարգմանել) Merge the entire history of <kbd>Oldpage</kbd> into <kbd>Newpage</kbd>.
apihelp-mergehistory-example-merge-timestamp (քննարկում) (Թարգմանել) Merge the page revisions of <kbd>Oldpage</kbd> dating up to <kbd>2015-12-31T04:37:41Z</kbd> into <kbd>Newpage</kbd>.
apihelp-mergehistory-param-from (քննարկում) (Թարգմանել) Title of the page from which history will be merged. Cannot be used together with <var>$1fromid</var>.
apihelp-mergehistory-param-fromid (քննարկում) (Թարգմանել) Page ID of the page from which history will be merged. Cannot be used together with <var>$1from</var>.
apihelp-mergehistory-param-reason (քննարկում) (Թարգմանել) Reason for the history merge.
apihelp-mergehistory-param-timestamp (քննարկում) (Թարգմանել) Timestamp up to which revisions will be moved from the source page's history to the destination page's history. If omitted, the entire page history of the source page will be merged into the destination page.
apihelp-mergehistory-param-to (քննարկում) (Թարգմանել) Title of the page to which history will be merged. Cannot be used together with <var>$1toid</var>.
apihelp-mergehistory-param-toid (քննարկում) (Թարգմանել) Page ID of the page to which history will be merged. Cannot be used together with <var>$1to</var>.
apihelp-mergehistory-summary (քննարկում) (Թարգմանել) Merge page histories.
apihelp-move-example-move (քննարկում) (Թարգմանել) Move <kbd>Badtitle</kbd> to <kbd>Goodtitle</kbd> without leaving a redirect.
Առաջին էջՆախորդ էջՀաջորդ էջՎերջին էջ