沙盒

来自尘月维基
Admin​(留言 | 贡献)2026年10月31日 (六) 18:40的版本 (恢复:撤销误清空(脚本管道错误))
跳转到导航 跳转到搜索

<!DOCTYPE html> <html class="client-nojs skin-theme-clientpref-thumb-standard" lang="zh" dir="ltr"> <head> <meta charset="UTF-8"> <title>MediaWiki API 结果 - 尘月维基</title> <script>document.documentElement.className="client-js skin-theme-clientpref-thumb-standard";RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"zh","wgMonthNames":["","1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],"wgRequestId":"d0d39641dd89a369750989a1","wgCanonicalNamespace":"Special","wgCanonicalSpecialPageName":"ApiHelp","wgNamespaceNumber":-1,"wgPageName":"Special:ApiHelp","wgTitle":"ApiHelp","wgCurRevisionId":0,"wgRevisionId":0,"wgArticleId":0,"wgIsArticle":false,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":[],"wgPageViewLanguage":"zh","wgPageContentLanguage":"zh","wgPageContentModel":"wikitext","wgRelevantPageName":"Special:ApiHelp","wgRelevantArticleId":0,"wgUserVariant":"zh","wgIsProbablyEditable":false,"wgRelevantPageIsProbablyEditable":false,"wgVisualEditor":{"pageLanguageCode":"zh","pageLanguageDir":"ltr","pageVariantFallbacks":["zh-hans","zh-hant","zh-cn","zh-tw","zh-hk","zh-sg","zh-mo","zh-my"]},"wgEditSubmitButtonLabelPublish":false,"wgVisualEditorPageIsDisambiguation":false}; RLSTATE={"mediawiki.apipretty":"ready","mediawiki.skinning.interface":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready"};</script> <link rel="stylesheet" href="/load.php?lang=zh&modules=ext.visualEditor.desktopArticleTarget.noscript%7Cmediawiki.apipretty%7Cmediawiki.skinning.interface&only=styles&skin=apioutput"> <script async="" src="/load.php?lang=zh&modules=startup&only=scripts&raw=1&safemode=1&skin=apioutput"></script> <meta name="generator" content="MediaWiki 1.46.2"> <meta name="robots" content="noindex,nofollow,max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <link rel="search" type="application/opensearchdescription+xml" href="/rest.php/v1/search" title="尘月维基 (zh)"> <link rel="EditURI" type="application/rsd+xml" href="https://chenyue.wiki/api.php?action=rsd"> <link rel="alternate" hreflang="zh" href="https://chenyue.wiki/Special:ApiHelp"> <link rel="alternate" hreflang="zh-Hans" href="https://chenyue.wiki/index.php?title=Special:ApiHelp&variant=zh-hans"> <link rel="alternate" hreflang="zh-Hans-CN" href="https://chenyue.wiki/index.php?title=Special:ApiHelp&variant=zh-cn"> <link rel="alternate" hreflang="zh-Hans-MY" href="https://chenyue.wiki/index.php?title=Special:ApiHelp&variant=zh-my"> <link rel="alternate" hreflang="zh-Hans-SG" href="https://chenyue.wiki/index.php?title=Special:ApiHelp&variant=zh-sg"> <link rel="alternate" hreflang="zh-Hant" href="https://chenyue.wiki/index.php?title=Special:ApiHelp&variant=zh-hant"> <link rel="alternate" hreflang="zh-Hant-HK" href="https://chenyue.wiki/index.php?title=Special:ApiHelp&variant=zh-hk"> <link rel="alternate" hreflang="zh-Hant-MO" href="https://chenyue.wiki/index.php?title=Special:ApiHelp&variant=zh-mo"> <link rel="alternate" hreflang="zh-Hant-TW" href="https://chenyue.wiki/index.php?title=Special:ApiHelp&variant=zh-tw"> <link rel="alternate" hreflang="x-default" href="https://chenyue.wiki/Special:ApiHelp"> <link rel="alternate" type="application/atom+xml" title="尘月维基的Atom订阅" href="/index.php?title=Special:RecentChanges&feed=atom"> </head> <body class="mediawiki ltr sitedir-ltr mw-hide-empty-elt ns--1 ns-special mw-special-ApiHelp page-Special_ApiHelp rootpage-Special_ApiHelp skin-apioutput action-view">

MediaWiki API 结果

这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。

指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置<a rel="nofollow" class="external text" href="https://chenyue.wiki/api.php?action=raw&oldid=123&format=json">format=json</a>。

参见<a href="https://www.mediawiki.org/wiki/API" class="extiw" title="mw:API">完整文档</a>,或<a href="/api.php?action=help&modules=main">API帮助</a>以获取更多信息。

{
    "error": {
        "code": "badvalue",
        "info": "Unrecognized value for parameter \"action\": raw.",
        "*": "See https://chenyue.wiki/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at &lt;https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/&gt; for notice of API deprecations and breaking changes."
    }
}

<script>(RLQ=window.RLQ||[]).push(function(){mw.log.warn("This page is using the deprecated ResourceLoader module \"mediawiki.skinning.interface\".\n[1.43] The use of the `interface-message-box` feature with SkinModule is deprecated in favor of CodexModule. Please remove this feature.More information can be found at mw:Manual:ResourceLoaderSkinModule. ");mw.config.set({"wgBackendResponseTime":442});});</script> </body> </html>

导航菜单