<?xml version="1.0"?> <api> <help> <module>* list=categorymembers (cm) * List all pages in a given category. https://www.mediawiki.org/wiki/API:Categorymembers This module requires read rights Parameters: cmtitle - Which category to enumerate (required). Must include 'Category:' prefix. Cannot be used together with cmpageid cmpageid - Page ID of the category to enumerate. Cannot be used together with cmtitle cmprop - What pieces of information to include ids - Adds the page ID title - Adds the title and namespace ID of the page sortkey - Adds the sortkey used for sorting in the category (hexadecimal string) sortkeyprefix - Adds the sortkey prefix used for sorting in the category (human-readable part of the sortkey) type - Adds the type that the page has been categorised as (page, subcat or file) timestamp - Adds the timestamp of when the page was included Values (separate with '|'): ids, title, sortkey, sortkeyprefix, type, timestamp Default: ids|title cmnamespace - Only include pages in these namespaces Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 828, 829 Maximum number of values 50 (500 for bots) cmtype - What type of category members to include. Ignored when cmsort=timestamp is set Values (separate with '|'): page, subcat, file Default: page|subcat|file cmcontinue - For large categories, give the value returned from previous query cmlimit - The maximum number of pages to return. No more than 500 (5000 for bots) allowed Default: 10 cmsort - Property to sort by One value: sortkey, timestamp Default: sortkey cmdir - In which direction to sort One value: asc, desc, ascending, descending, newer, older Default: ascending cmstart - Timestamp to start listing from. Can only be used with cmsort=timestamp cmend - Timestamp to end listing at. Can only be used with cmsort=timestamp cmstarthexsortkey - Sortkey to start listing from, as returned by prop=sortkey. Can only be used with cmsort=sortkey cmendhexsortkey - Sortkey to end listing from, as returned by prop=sortkey. Can only be used with cmsort=sortkey cmstartsortkeyprefix - Sortkey prefix to start listing from. Can only be used with cmsort=sortkey. Overrides cmstarthexsortkey cmendsortkeyprefix - Sortkey prefix to end listing BEFORE (not at, if this value occurs it will not be included!). Can only be used with cmsort=sortkey. Overrides cmendhexsortkey cmstartsortkey - DEPRECATED! Use starthexsortkey instead cmendsortkey - DEPRECATED! Use endhexsortkey instead Examples: Get first 10 pages in [[Category:Physics]]: api.php?action=query&list=categorymembers&cmtitle=Category:Physics Get page info about first 10 pages in [[Category:Physics]]: api.php?action=query&generator=categorymembers&gcmtitle=Category:Physics&prop=info </module> </help> <debuginfo mwVersion="1.24.1" phpEngine="PHP" phpVersion="5.6.40" time="0.0812208652496" memory="10.08 MB" memoryPeak="10.86 MB"> <log> <line msg="MWDebug output complete" type="log" caller="MWDebug::appendDebugInfoToApiResult" /> </log> <debugLog> <msg> Start request GET /api.php?action=help&modules=query+categorymembers HTTP HEADERS: 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 HOST: wiki.wilforddesign.com</msg> <msg>[caches] main: EmptyBagOStuff, message: SqlBagOStuff, parser: SqlBagOStuff</msg> <msg>[caches] LocalisationCache: using store LCStoreDB</msg> <msg>Fully initialised</msg> <msg>[gitinfo] Computed cacheFile= for /home/wilfordwiki/public_html</msg> <msg>[gitinfo] Cache incomplete for /home/wilfordwiki/public_html</msg> </debugLog> <queries /> <request method="GET" url="/api.php?action=help&modules=query+categorymembers"> <headers 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" HOST="wiki.wilforddesign.com" /> <params action="help" modules="query categorymembers" /> </request> <includes> <queries name="/home/wilfordwiki/public_html/api.php" size="4 KB" /> <queries name="/home/wilfordwiki/public_html/includes/WebStart.php" size="4 KB" /> <queries name="/home/wilfordwiki/public_html/includes/profiler/Profiler.php" size="13 KB" /> <queries name="/home/wilfordwiki/public_html/includes/AutoLoader.php" size="68 KB" /> <queries name="/home/wilfordwiki/public_html/includes/Defines.php" size="9 KB" /> <queries name="/home/wilfordwiki/public_html/includes/normal/UtfNormalDefines.php" size="3 KB" /> <queries name="/home/wilfordwiki/public_html/includes/profiler/ProfilerStub.php" size="1 KB" /> <queries name="/home/wilfordwiki/public_html/includes/DefaultSettings.php" size="226 KB" /> <queries name="/home/wilfordwiki/public_html/includes/SiteConfiguration.php" size="18 KB" /> <queries name="/home/wilfordwiki/public_html/includes/WebRequest.php" size="39 KB" /> <queries name="/home/wilfordwiki/public_html/includes/utils/IP.php" size="22 KB" /> <queries name="/home/wilfordwiki/public_html/LocalSettings.php" size="5 KB" /> <queries name="/home/wilfordwiki/public_html/skins/CologneBlue/CologneBlue.php" size="2 KB" /> <queries name="/home/wilfordwiki/public_html/skins/Modern/Modern.php" size="2 KB" /> <queries name="/home/wilfordwiki/public_html/skins/MonoBook/MonoBook.php" size="2 KB" /> <queries name="/home/wilfordwiki/public_html/skins/Vector/Vector.php" size="4 KB" /> <queries name="/home/wilfordwiki/public_html/includes/skins/SkinFactory.php" size="7 KB" /> <queries name="/home/wilfordwiki/public_html/extensions/Scribunto/Scribunto.php" size="8 KB" /> <queries name="/home/wilfordwiki/public_html/extensions/geshi/geshi.php" size="200 KB" /> <queries name="/home/wilfordwiki/public_html/extensions/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.php" size="3 KB" /> <queries name="/home/wilfordwiki/public_html/extensions/YouTube/YouTube.class.php" size="16 KB" /> <queries name="/home/wilfordwiki/public_html/includes/OutputHandler.php" size="6 KB" /> <queries name="/home/wilfordwiki/public_html/includes/Setup.php" size="20 KB" /> <queries name="/home/wilfordwiki/public_html/includes/debug/MWDebug.php" size="16 KB" /> <queries name="/home/wilfordwiki/public_html/includes/exception/MWExceptionHandler.php" size="11 KB" /> <queries name="/home/wilfordwiki/public_html/includes/normal/UtfNormalUtil.php" size="4 KB" /> <queries name="/home/wilfordwiki/public_html/includes/GlobalFunctions.php" size="117 KB" /> <queries name="/home/wilfordwiki/public_html/includes/normal/UtfNormal.php" size="23 KB" /> <queries name="/home/wilfordwiki/public_html/includes/objectcache/ObjectCache.php" size="5 KB" /> <queries name="/home/wilfordwiki/public_html/includes/objectcache/EmptyBagOStuff.php" size="2 KB" /> <queries name="/home/wilfordwiki/public_html/includes/objectcache/BagOStuff.php" size="11 KB" /> <queries name="/home/wilfordwiki/public_html/includes/objectcache/SqlBagOStuff.php" size="21 KB" /> <queries name="/home/wilfordwiki/public_html/includes/Hooks.php" size="8 KB" /> <queries name="/home/wilfordwiki/public_html/includes/exception/MWException.php" size="7 KB" /> <queries name="/home/wilfordwiki/public_html/languages/Language.php" size="137 KB" /> <queries name="/home/wilfordwiki/public_html/includes/Title.php" size="141 KB" /> <queries name="/home/wilfordwiki/public_html/languages/FakeConverter.php" size="2 KB" /> <queries name="/home/wilfordwiki/public_html/includes/cache/LocalisationCache.php" size="40 KB" /> <queries name="/home/wilfordwiki/public_html/includes/context/RequestContext.php" size="15 KB" /> <queries name="/home/wilfordwiki/public_html/includes/context/IContextSource.php" size="3 KB" /> <queries name="/home/wilfordwiki/public_html/includes/User.php" size="145 KB" /> <queries name="/home/wilfordwiki/public_html/includes/dao/IDBAccessObject.php" size="3 KB" /> <queries name="/home/wilfordwiki/public_html/includes/StubObject.php" size="6 KB" /> <queries name="/home/wilfordwiki/public_html/includes/OutputPage.php" size="116 KB" /> <queries name="/home/wilfordwiki/public_html/includes/context/ContextSource.php" size="4 KB" /> <queries name="/home/wilfordwiki/public_html/includes/resourceloader/ResourceLoaderModule.php" size="19 KB" /> <queries name="/home/wilfordwiki/public_html/includes/AuthPlugin.php" size="8 KB" /> <queries name="/home/wilfordwiki/public_html/includes/libs/IEUrlExtension.php" size="9 KB" /> <queries name="/home/wilfordwiki/public_html/includes/api/ApiMain.php" size="44 KB" /> <queries name="/home/wilfordwiki/public_html/includes/api/ApiBase.php" size="73 KB" /> <queries name="/home/wilfordwiki/public_html/includes/context/DerivativeContext.php" size="6 KB" /> <queries name="/home/wilfordwiki/public_html/includes/config/ConfigFactory.php" size="3 KB" /> <queries name="/home/wilfordwiki/public_html/includes/config/GlobalVarConfig.php" size="3 KB" /> <queries name="/home/wilfordwiki/public_html/includes/config/Config.php" size="1 KB" /> <queries name="/home/wilfordwiki/public_html/includes/api/ApiModuleManager.php" size="8 KB" /> <queries name="/home/wilfordwiki/public_html/includes/api/ApiResult.php" size="19 KB" /> <queries name="/home/wilfordwiki/public_html/includes/utils/StringUtils.php" size="16 KB" /> <queries name="/home/wilfordwiki/public_html/includes/api/ApiHelp.php" size="5 KB" /> <queries name="/home/wilfordwiki/public_html/includes/api/ApiFormatXml.php" size="7 KB" /> <queries name="/home/wilfordwiki/public_html/includes/api/ApiFormatBase.php" size="10 KB" /> <queries name="/home/wilfordwiki/public_html/includes/api/ApiQuery.php" size="20 KB" /> <queries name="/home/wilfordwiki/public_html/includes/api/ApiPageSet.php" size="34 KB" /> <queries name="/home/wilfordwiki/public_html/includes/api/ApiQueryCategoryMembers.php" size="14 KB" /> <queries name="/home/wilfordwiki/public_html/includes/api/ApiQueryBase.php" size="20 KB" /> <queries name="/home/wilfordwiki/public_html/includes/MWNamespace.php" size="13 KB" /> <queries name="/home/wilfordwiki/public_html/extensions/Scribunto/common/Hooks.php" size="11 KB" /> <queries name="/home/wilfordwiki/public_html/includes/GitInfo.php" size="11 KB" /> <queries name="/home/wilfordwiki/public_html/includes/password/PasswordFactory.php" size="5 KB" /> <queries name="/home/wilfordwiki/public_html/includes/password/InvalidPassword.php" size="1 KB" /> <queries name="/home/wilfordwiki/public_html/includes/password/Password.php" size="7 KB" /> <queries name="/home/wilfordwiki/public_html/includes/MWTimestamp.php" size="12 KB" /> <queries name="/home/wilfordwiki/public_html/languages/LanguageConverter.php" size="31 KB" /> <queries name="/home/wilfordwiki/public_html/includes/search/SearchEngine.php" size="14 KB" /> <queries name="/home/wilfordwiki/public_html/includes/db/LBFactory.php" size="10 KB" /> <queries name="/home/wilfordwiki/public_html/includes/db/ChronologyProtector.php" size="4 KB" /> <queries name="/home/wilfordwiki/public_html/includes/db/LoadBalancer.php" size="33 KB" /> <queries name="/home/wilfordwiki/public_html/includes/db/Database.php" size="124 KB" /> <queries name="/home/wilfordwiki/public_html/includes/db/DatabaseMysqli.php" size="7 KB" /> <queries name="/home/wilfordwiki/public_html/includes/db/DatabaseMysqlBase.php" size="30 KB" /> <queries name="/home/wilfordwiki/public_html/includes/db/DatabaseUtility.php" size="6 KB" /> <queries name="/home/wilfordwiki/public_html/includes/cache/CacheDependency.php" size="6 KB" /> <queries name="/home/wilfordwiki/public_html/includes/skins/Skin.php" size="44 KB" /> <queries name="/home/wilfordwiki/public_html/includes/Message.php" size="27 KB" /> <queries name="/home/wilfordwiki/public_html/includes/cache/MessageCache.php" size="33 KB" /> </includes> <profile /> </debuginfo> </api>