MediaWiki API result
This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.
See the complete documentation, or the API help for more information.
{ "query": { "pages": { "-1": { "ns": 0, "title": "Main Page", "missing": "" } } }, "debuginfo": { "mwVersion": "1.25.5", "phpEngine": "PHP", "phpVersion": "5.5.9-1ubuntu4.29", "time": 0.025537014007568, "log": [ { "msg": "MWDebug output complete", "type": "log", "caller": "MWDebug::appendDebugInfoToApiResult" } ], "debugLog": [ "Start request GET /wiki_/api.php?action=query&prop=templates&titles=Main+Page\nHTTP HEADERS:\nHOST: ais-site.dgtserv.ru\nX-REAL-IP: 18.225.92.251\nX-FORWARDED-FOR: 18.225.92.251\nACCEPT: */*\nUSER-AGENT: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)\nACCEPT-ENCODING: gzip, br, zstd, deflate", "[caches] main: EmptyBagOStuff, message: SqlBagOStuff, parser: SqlBagOStuff", "[caches] LocalisationCache: using store LCStoreDB", "Fully initialised", "Connected to database 0 at 127.0.0.1", "Query ant_wiki (1) (slave): BEGIN /* DatabaseBase::query (LCStoreDB::get) */", "Query ant_wiki (2) (slave): SELECT /* LCStoreDB::get */ lc_value FROM `wiki_l10n_cache` WHERE lc_lang = 'ru' AND lc_key = 'deps' LIMIT 1", "Query ant_wiki (3) (slave): SELECT /* LCStoreDB::get */ lc_value FROM `wiki_l10n_cache` WHERE lc_lang = 'ru' AND lc_key = 'list' LIMIT 1", "Query ant_wiki (4) (slave): SELECT /* LCStoreDB::get */ lc_value FROM `wiki_l10n_cache` WHERE lc_lang = 'ru' AND lc_key = 'preload' LIMIT 1", "Query ant_wiki (5) (slave): SELECT /* LCStoreDB::get */ lc_value FROM `wiki_l10n_cache` WHERE lc_lang = 'ru' AND lc_key = 'preload' LIMIT 1", "Connected to database 0 at 127.0.0.1", "Query ant_wiki (6) (slave): SELECT /* SqlBagOStuff::getMulti */ keyname,value,exptime FROM `wiki_objectcache` WHERE keyname = 'ant_wiki-wiki_:messages:ru'", "[MessageCache] MessageCache::load: Loading ru... got from global cache", "Query ant_wiki (7) (slave): SELECT /* LCStoreDB::get */ lc_value FROM `wiki_l10n_cache` WHERE lc_lang = 'ru' AND lc_key = 'messages:gadgets-definition' LIMIT 1", "Query ant_wiki (8) (slave): SELECT /* ApiPageSet::initFromTitles */ page_namespace,page_title,page_id,page_content_model FROM `wiki_page` WHERE (page_namespace = '0' AND page_title = 'Main_Page')", "ApiMain::setCacheMode: downgrading cache mode 'public' to 'anon-public-user-private' due to uselang=user", "ApiMain::setCacheMode: setting cache mode anon-public-user-private", "[gitinfo] Computed cacheFile= for /var/www/html/wiki_", "[gitinfo] Cache incomplete for /var/www/html/wiki_" ], "queries": [ { "sql": "BEGIN", "function": "DatabaseBase::query (LCStoreDB::get)", "time": 0.00013303756713867 }, { "sql": "SELECT lc_value FROM `wiki_l10n_cache` WHERE lc_lang = 'ru' AND lc_key = 'deps' LIMIT 1 ", "function": "LCStoreDB::get", "time": 0.00020003318786621 }, { "sql": "SELECT lc_value FROM `wiki_l10n_cache` WHERE lc_lang = 'ru' AND lc_key = 'list' LIMIT 1 ", "function": "LCStoreDB::get", "time": 0.00032496452331543 }, { "sql": "SELECT lc_value FROM `wiki_l10n_cache` WHERE lc_lang = 'ru' AND lc_key = 'preload' LIMIT 1 ", "function": "LCStoreDB::get", "time": 0.00016212463378906 }, { "sql": "SELECT lc_value FROM `wiki_l10n_cache` WHERE lc_lang = 'ru' AND lc_key = 'preload' LIMIT 1 ", "function": "LCStoreDB::get", "time": 0.00023317337036133 }, { "sql": "SELECT keyname,value,exptime FROM `wiki_objectcache` WHERE keyname = 'ant_wiki-wiki_:messages:ru' ", "function": "SqlBagOStuff::getMulti", "time": 0.00017309188842773 }, { "sql": "SELECT lc_value FROM `wiki_l10n_cache` WHERE lc_lang = 'ru' AND lc_key = 'messages:gadgets-definition' LIMIT 1 ", "function": "LCStoreDB::get", "time": 0.00022506713867188 }, { "sql": "SELECT page_namespace,page_title,page_id,page_content_model FROM `wiki_page` WHERE (page_namespace = '0' AND page_title = 'Main_Page') ", "function": "ApiPageSet::initFromTitles", "time": 0.00025796890258789 } ], "request": { "method": "GET", "url": "/wiki_/api.php?action=query&prop=templates&titles=Main+Page", "headers": { "HOST": "ais-site.dgtserv.ru", "X-REAL-IP": "18.225.92.251", "X-FORWARDED-FOR": "18.225.92.251", "ACCEPT": "*/*", "USER-AGENT": "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "ACCEPT-ENCODING": "gzip, br, zstd, deflate" }, "params": { "action": "query", "prop": "templates", "titles": "Main Page" } }, "memory": "3,78 \u041c\u0411", "memoryPeak": "5 \u041c\u0411", "includes": [ { "name": "/var/www/html/wiki_/api.php", "size": "5 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/PHPVersionCheck.php", "size": "5 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/WebStart.php", "size": "5 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/profiler/ProfilerFunctions.php", "size": "2 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/AutoLoader.php", "size": "4 \u041a\u0411" }, { "name": "/var/www/html/wiki_/autoload.php", "size": "95 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/Defines.php", "size": "9 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/libs/normal/UtfNormalDefines.php", "size": "6 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/DefaultSettings.php", "size": "231 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/SiteConfiguration.php", "size": "19 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/WebRequest.php", "size": "40 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/utils/IP.php", "size": "23 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/GlobalFunctions.php", "size": "121 \u041a\u0411" }, { "name": "/var/www/html/wiki_/vendor/autoload.php", "size": "168 \u0431\u0430\u0439\u0442" }, { "name": "/var/www/html/wiki_/vendor/composer/autoload_real.php", "size": "1 \u041a\u0411" }, { "name": "/var/www/html/wiki_/vendor/composer/ClassLoader.php", "size": "12 \u041a\u0411" }, { "name": "/var/www/html/wiki_/vendor/composer/autoload_namespaces.php", "size": "454 \u0431\u0430\u0439\u0442" }, { "name": "/var/www/html/wiki_/vendor/composer/autoload_psr4.php", "size": "296 \u0431\u0430\u0439\u0442" }, { "name": "/var/www/html/wiki_/vendor/composer/autoload_classmap.php", "size": "34 \u041a\u0411" }, { "name": "/var/www/html/wiki_/LocalSettings.php", "size": "7 \u041a\u0411" }, { "name": "/var/www/html/wiki_/skins/Vector/Vector.php", "size": "463 \u0431\u0430\u0439\u0442" }, { "name": "/var/www/html/wiki_/includes/registration/ExtensionRegistry.php", "size": "8 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/objectcache/ObjectCache.php", "size": "5 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/debug/logger/LoggerFactory.php", "size": "4 \u041a\u0411" }, { "name": "/var/www/html/wiki_/vendor/psr/log/Psr/Log/LoggerInterface.php", "size": "3 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/libs/ObjectFactory.php", "size": "3 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/debug/logger/LegacySpi.php", "size": "2 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/debug/logger/Spi.php", "size": "2 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/debug/logger/LegacyLogger.php", "size": "11 \u041a\u0411" }, { "name": "/var/www/html/wiki_/vendor/psr/log/Psr/Log/AbstractLogger.php", "size": "3 \u041a\u0411" }, { "name": "/var/www/html/wiki_/vendor/psr/log/Psr/Log/LogLevel.php", "size": "312 \u0431\u0430\u0439\u0442" }, { "name": "/var/www/html/wiki_/includes/libs/objectcache/APCBagOStuff.php", "size": "2 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/libs/objectcache/BagOStuff.php", "size": "12 \u041a\u0411" }, { "name": "/var/www/html/wiki_/vendor/psr/log/Psr/Log/LoggerAwareInterface.php", "size": "288 \u0431\u0430\u0439\u0442" }, { "name": "/var/www/html/wiki_/extensions/ConfirmEdit/ConfirmEdit.php", "size": "8 \u041a\u0411" }, { "name": "/var/www/html/wiki_/extensions/Gadgets/Gadgets.php", "size": "570 \u0431\u0430\u0439\u0442" }, { "name": "/var/www/html/wiki_/extensions/WikiEditor/WikiEditor.php", "size": "504 \u0431\u0430\u0439\u0442" }, { "name": "/var/www/html/wiki_/extensions/ParserFunctions/ParserFunctions.php", "size": "623 \u0431\u0430\u0439\u0442" }, { "name": "/var/www/html/wiki_/extensions/Cite/Cite.php", "size": "481 \u0431\u0430\u0439\u0442" }, { "name": "/var/www/html/wiki_/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.php", "size": "543 \u0431\u0430\u0439\u0442" }, { "name": "/var/www/html/wiki_/extensions/InputBox/InputBox.php", "size": "491 \u0431\u0430\u0439\u0442" }, { "name": "/var/www/html/wiki_/includes/Setup.php", "size": "22 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/profiler/Profiler.php", "size": "8 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/profiler/ProfilerStub.php", "size": "1 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/profiler/TransactionProfiler.php", "size": "8 \u041a\u0411" }, { "name": "/var/www/html/wiki_/vendor/psr/log/Psr/Log/NullLogger.php", "size": "641 \u0431\u0430\u0439\u0442" }, { "name": "/var/www/html/wiki_/extensions/WikiEditor/WikiEditor.hooks.php", "size": "14 \u041a\u0411" }, { "name": "/var/www/html/wiki_/extensions/ParserFunctions/ParserFunctions.hooks.php", "size": "3 \u041a\u0411" }, { "name": "/var/www/html/wiki_/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.class.php", "size": "16 \u041a\u0411" }, { "name": "/var/www/html/wiki_/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.langs.php", "size": "3 \u041a\u0411" }, { "name": "/var/www/html/wiki_/extensions/SyntaxHighlight_GeSHi/geshi/geshi.php", "size": "200 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/skins/SkinFactory.php", "size": "3 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/debug/MWDebug.php", "size": "16 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/exception/MWExceptionHandler.php", "size": "15 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/libs/normal/UtfNormalUtil.php", "size": "3 \u041a\u0411" }, { "name": "/var/www/html/wiki_/vendor/wikimedia/utfnormal/src/Validator.php", "size": "22 \u041a\u0411" }, { "name": "/var/www/html/wiki_/vendor/wikimedia/utfnormal/src/Constants.php", "size": "3 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/libs/objectcache/EmptyBagOStuff.php", "size": "1 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/objectcache/SqlBagOStuff.php", "size": "22 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/Hooks.php", "size": "7 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/exception/MWException.php", "size": "7 \u041a\u0411" }, { "name": "/var/www/html/wiki_/languages/Language.php", "size": "139 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/title/MediaWikiTitleCodec.php", "size": "14 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/title/TitleFormatter.php", "size": "3 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/title/TitleParser.php", "size": "2 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/Title.php", "size": "139 \u041a\u0411" }, { "name": "/var/www/html/wiki_/languages/classes/LanguageRu.php", "size": "5 \u041a\u0411" }, { "name": "/var/www/html/wiki_/languages/FakeConverter.php", "size": "2 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/cache/LocalisationCache.php", "size": "40 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/context/RequestContext.php", "size": "16 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/context/IContextSource.php", "size": "4 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/User.php", "size": "150 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/dao/IDBAccessObject.php", "size": "3 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/StubObject.php", "size": "6 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/OutputPage.php", "size": "117 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/context/ContextSource.php", "size": "4 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/resourceloader/ResourceLoaderModule.php", "size": "19 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/AuthPlugin.php", "size": "8 \u041a\u0411" }, { "name": "/var/www/html/wiki_/extensions/ConfirmEdit/includes/ConfirmEditHooks.php", "size": "5 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/libs/IEUrlExtension.php", "size": "9 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/api/ApiMain.php", "size": "47 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/api/ApiBase.php", "size": "83 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/context/DerivativeContext.php", "size": "6 \u041a\u0411" }, { "name": "/var/www/html/wiki_/extensions/ConfirmEdit/SimpleCaptcha/Captcha.php", "size": "27 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/config/ConfigFactory.php", "size": "3 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/config/GlobalVarConfig.php", "size": "2 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/config/Config.php", "size": "1 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/api/ApiModuleManager.php", "size": "8 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/api/ApiResult.php", "size": "43 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/api/ApiSerializable.php", "size": "2 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/api/ApiErrorFormatter.php", "size": "9 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/libs/StringUtils.php", "size": "11 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/api/ApiQuery.php", "size": "20 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/api/ApiPageSet.php", "size": "40 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/libs/DeferredStringifier.php", "size": "2 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/api/ApiFormatJson.php", "size": "4 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/api/ApiFormatBase.php", "size": "11 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/api/ApiQueryLinks.php", "size": "7 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/api/ApiQueryBase.php", "size": "21 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/api/ApiContinuationManager.php", "size": "7 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/cache/LinkBatch.php", "size": "6 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/libs/MapCacheLRU.php", "size": "3 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/Sanitizer.php", "size": "54 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/cache/GenderCache.php", "size": "5 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/MWNamespace.php", "size": "13 \u041a\u0411" }, { "name": "/var/www/html/wiki_/languages/LanguageConverter.php", "size": "31 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/search/SearchEngine.php", "size": "15 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/db/LBFactory.php", "size": "10 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/db/ChronologyProtector.php", "size": "4 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/db/LoadBalancer.php", "size": "36 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/db/Database.php", "size": "127 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/libs/ProcessCacheLRU.php", "size": "4 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/db/DatabaseMysqli.php", "size": "7 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/db/DatabaseMysqlBase.php", "size": "32 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/db/DatabaseUtility.php", "size": "6 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/cache/CacheDependency.php", "size": "6 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/skins/Skin.php", "size": "45 \u041a\u0411" }, { "name": "/var/www/html/wiki_/extensions/Gadgets/GadgetHooks.php", "size": "6 \u041a\u0411" }, { "name": "/var/www/html/wiki_/extensions/Gadgets/Gadgets_body.php", "size": "12 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/resourceloader/ResourceLoaderWikiModule.php", "size": "9 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/Message.php", "size": "29 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/libs/MessageSpecifier.php", "size": "1 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/cache/MessageCache.php", "size": "32 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/MWTimestamp.php", "size": "12 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/GitInfo.php", "size": "11 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/password/PasswordFactory.php", "size": "5 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/password/InvalidPassword.php", "size": "1 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/password/Password.php", "size": "7 \u041a\u0411" }, { "name": "/var/www/html/wiki_/includes/libs/IPSet.php", "size": "8 \u041a\u0411" } ] } }