Системийн мэдэгдлүүд
Дусал нэвтэрхий толь-с
Энэ бол МедиаВики дахь системийн мэдэгдлүүдийн жагсаалт юм. МедиаВикиг орчуулах тухай мэдээллийг МедиаВикигийн орчуулга, мөн translatewiki.net-с авна уу.
Нэр | Анхны |
---|---|
Одоогийн | |
apihelp-import-param-fullhistory (Яриа) (Translate) | For interwiki imports: import the full history, not just the current version. |
apihelp-import-param-interwikipage (Яриа) (Translate) | For interwiki imports: page to import. |
apihelp-import-param-interwikisource (Яриа) (Translate) | For interwiki imports: wiki to import from. |
apihelp-import-param-namespace (Яриа) (Translate) | Import to this namespace. Cannot be used together with <var>$1rootpage</var>. |
apihelp-import-param-rootpage (Яриа) (Translate) | Import as subpage of this page. Cannot be used together with <var>$1namespace</var>. |
apihelp-import-param-summary (Яриа) (Translate) | Log entry import summary. |
apihelp-import-param-tags (Яриа) (Translate) | Change tags to apply to the entry in the import log and to the null revision on the imported pages. |
apihelp-import-param-templates (Яриа) (Translate) | For interwiki imports: import all included templates as well. |
apihelp-import-param-xml (Яриа) (Translate) | Uploaded XML file. |
apihelp-import-summary (Яриа) (Translate) | Import a page from another wiki, or from an XML file. |
apihelp-json-param-ascii (Яриа) (Translate) | If specified, encodes all non-ASCII using hexadecimal escape sequences. Default when <var>formatversion</var> is <kbd>1</kbd>. |
apihelp-json-param-callback (Яриа) (Translate) | If specified, wraps the output into a given function call. For safety, all user-specific data will be restricted. |
apihelp-json-param-formatversion (Яриа) (Translate) | Output formatting: ;1:Backwards-compatible format (XML-style booleans, <samp>*</samp> keys for content nodes, etc.). ;2:Experimental modern format. Details may change! ;latest:Use the latest format (currently <kbd>2</kbd>), may change without warning. |
apihelp-json-param-utf8 (Яриа) (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-summary (Яриа) (Translate) | Output data in JSON format. |
apihelp-jsonfm-summary (Яриа) (Translate) | Output data in JSON format (pretty-print in HTML). |
apihelp-link (Яриа) (Translate) | [[Special:ApiHelp/$1|$2]] |
apihelp-linkaccount-example-link (Яриа) (Translate) | Start the process of linking to an account from <kbd>Example</kbd>. |
apihelp-linkaccount-summary (Яриа) (Translate) | Link an account from a third-party provider to the current user. |
apihelp-login-example-gettoken (Яриа) (Translate) | Retrieve a login token. |
apihelp-login-example-login (Яриа) (Translate) | Log in. |
apihelp-login-extended-description (Яриа) (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 (Яриа) (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 (Яриа) (Translate) | Domain (optional). |
apihelp-login-param-name (Яриа) (Translate) | User name. |
apihelp-login-param-password (Яриа) (Translate) | Password. |
apihelp-login-param-token (Яриа) (Translate) | Login token obtained in first request. |
apihelp-login-summary (Яриа) (Translate) | Log in and get authentication cookies. |
apihelp-logout-example-logout (Яриа) (Translate) | Log the current user out. |
apihelp-logout-summary (Яриа) (Translate) | Log out and clear session data. |
apihelp-main-extended-description (Яриа) (Translate) | <div class="hlist plainlinks api-main-links"> * [[mw:Special:MyLanguage/API:Main_page|Documentation]] * [[mw:Special:MyLanguage/API:FAQ|FAQ]] * [https://lists.wikimedia.org/mailman/listinfo/mediawiki-api Mailing list] * [https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce API Announcements] * [https://phabricator.wikimedia.org/maniphest/query/GebfyV4uCaLd/#R Bugs & requests] </div> <strong>Status:</strong> All features shown on this page should be working, but the API is still in active development, and may change at any time. Subscribe to [https://lists.wikimedia.org/pipermail/mediawiki-api-announce/ 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]]. <strong>Testing:</strong> For ease of testing API requests, see [[Special:ApiSandbox]]. |
apihelp-main-param-action (Яриа) (Translate) | Which action to perform. |
apihelp-main-param-assert (Яриа) (Translate) | Verify the user is logged in if set to <kbd>user</kbd>, or has the bot user right if <kbd>bot</kbd>. |
apihelp-main-param-assertuser (Яриа) (Translate) | Verify the current user is the named user. |
apihelp-main-param-curtimestamp (Яриа) (Translate) | Include the current timestamp in the result. |
apihelp-main-param-errorformat (Яриа) (Translate) | Format to use for warning and error text output. ; plaintext: Wikitext with HTML tags removed and entities replaced. ; wikitext: Unparsed wikitext. ; html: HTML. ; raw: Message key and parameters. ; none: No text output, only the error codes. ; bc: Format used prior to MediaWiki 1.29. <var>errorlang</var> and <var>errorsuselocal</var> are ignored. |
apihelp-main-param-errorlang (Яриа) (Translate) | 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 (Яриа) (Translate) | If given, error texts will use locally-customized messages from the {{ns:MediaWiki}} namespace. |
apihelp-main-param-format (Яриа) (Translate) | The format of the output. |
apihelp-main-param-maxage (Яриа) (Translate) | Set the <code>max-age</code> HTTP cache control header to this many seconds. Errors are never cached. |
apihelp-main-param-maxlag (Яриа) (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 (Яриа) (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 whitelisted, 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 (Яриа) (Translate) | Any value given here will be included in the response. May be used to distinguish requests. |
apihelp-main-param-responselanginfo (Яриа) (Translate) | Include the languages used for <var>uselang</var> and <var>errorlang</var> in the result. |
apihelp-main-param-servedby (Яриа) (Translate) | Include the hostname that served the request in the results. |
apihelp-main-param-smaxage (Яриа) (Translate) | Set the <code>s-maxage</code> HTTP cache control header to this many seconds. Errors are never cached. |
apihelp-main-param-uselang (Яриа) (Translate) | 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-summary (Яриа) (Translate) | |
apihelp-managetags-example-activate (Яриа) (Translate) | Activate a tag named <kbd>spam</kbd> with the reason <kbd>For use in edit patrolling</kbd> |
apihelp-managetags-example-create (Яриа) (Translate) | Create a tag named <kbd>spam</kbd> with the reason <kbd>For use in edit patrolling</kbd> |