Interface: ApiQueryResult
Defined in: core/query/index.ts:531
Accumulated shape of the query result object.
Framework-level keys live here; per-module list/meta keys are merged in by their own files via declaration merging, keeping this open to extension.
Properties
abusefilters?
optionalabusefilters?:ApiAbuseFilter[]
Defined in: extensions/abusefilters.ts:255
Filters defined on the wiki (list=abusefilters).
abuselog?
optionalabuselog?:ApiAbuseLogEntry[]
Defined in: extensions/abusefilters.ts:258
Events caught by one of the abuse filters (list=abuselog).
additionalsearch?
optionaladditionalsearch?:Record<string,ApiSearchInterwikiResult[]>
Defined in: core/query/search.ts:166
Interwiki hits the backend matched inline (enablerewrites=1), same
shape as interwikisearch.
additionalsearchinfo?
optionaladditionalsearchinfo?:ApiSearchInterwikiInfo
Defined in: core/query/search.ts:169
Total-hit counter for additionalsearch.
allcategories?
optionalallcategories?:ApiAllCategory[]
Defined in: core/query/allcategories.ts:32
Categories listed by list=allcategories.
alldeletedrevisions?
optionalalldeletedrevisions?:ApiAllDeletedRevisions[]
Defined in: core/query/alldeletedrevisions.ts:26
Deleted revisions grouped by page (list=alldeletedrevisions).
allfileusages?
optionalallfileusages?:ApiAllLink[]
Defined in: core/query/allfileusages.ts:14
Used file titles, one row per usage (list=allfileusages).
allimages?
optionalallimages?:ApiAllImage[]
Defined in: core/query/allimages.ts:27
Uploaded files (list=allimages).
alllinks?
optionalalllinks?:ApiAllLink[]
Defined in: core/query/alllinks.ts:36
Titles linked to (list=alllinks), ordered by link target — title, or
target id on the linktarget schema — then by source page id.
allmessages?
optionalallmessages?:ApiAllMessage[]
Defined in: core/query/allmessages.ts:49
Interface messages (meta=allmessages).
allpages?
optionalallpages?:ApiAllPage[]
Defined in: core/query/allpages.ts:16
Enumerated pages (list=allpages).
allredirects?
optionalallredirects?:ApiAllLink[]
Defined in: core/query/allredirects.ts:24
Redirect targets on the wiki (list=allredirects).
allrevisions?
optionalallrevisions?:ApiAllRevisions[]
Defined in: core/query/allrevisions.ts:24
Revisions grouped by page (list=allrevisions).
alltransclusions?
optionalalltransclusions?:ApiAllLink[]
Defined in: core/query/alltransclusions.ts:13
Transcluded titles on the wiki (list=alltransclusions).
allusers?
optionalallusers?:ApiAllusersEntry[]
Defined in: core/query/allusers.ts:51
Users listed by list=allusers.
authmanagerinfo?
optionalauthmanagerinfo?:ApiQueryAuthManagerInfo
Defined in: core/query/authmanagerinfo.ts:126
AuthManager provider introspection requested via meta=authmanagerinfo.
autocreatetempuser?
optionalautocreatetempuser?:ApiAutoCreateTempUser
Defined in: core/query/siteinfo.ts:1013
Temporary-account creation config (siprop=autocreatetempuser).
Since
MediaWiki 1.41
autopromote?
optionalautopromote?:ApiAutopromoteConditions
Defined in: core/query/siteinfo.ts:999
Autopromote conditions per group (siprop=autopromote).
Since
MediaWiki 1.42
autopromoteonce?
optionalautopromoteonce?:ApiAutopromoteOnce
Defined in: core/query/siteinfo.ts:1006
Autopromote-once hooks and their conditions (siprop=autopromoteonce).
Since
MediaWiki 1.42
babel?
optionalbabel?:ApiBabelResult
Defined in: extensions/babel.ts:33
Babel levels of the user named in babuser (meta=babel).
backlinks?
optionalbacklinks?:ApiBacklink[]
Defined in: core/query/backlinks.ts:30
Pages linking to bltitle (list=backlinks).
badrevids?
optionalbadrevids?:Record<string,ApiQueryBadRev>
Defined in: core/query/index.ts:557
Requested revids that do not exist, keyed by revision id. Emitted
instead of a pages entry for that revision.
betafeatures?
optionalbetafeatures?:Record<string,ApiBetaFeature>
Defined in: extensions/betafeatures.ts:41
Beta features registered on this wiki, keyed by feature id
(list=betafeatures). Absent when no features are registered.
blocks?
optionalblocks?:ApiBlock[]
Defined in: core/query/blocks.ts:125
Active blocks (list=blocks).
categorymembers?
optionalcategorymembers?:ApiCategoryMember[]
Defined in: core/query/categorymembers.ts:43
Category members (list=categorymembers).
checkuser?
optionalcheckuser?:ApiQueryCheckUserResult
Defined in: extensions/checkuser.ts:191
Result of the requested curequest mode (list=checkuser).
checkuserformattedblockinfo?
optionalcheckuserformattedblockinfo?:ApiQueryCheckUserFormattedBlockInfoResult
Defined in: extensions/checkuser.ts:197
Block status of the requesting user (meta=checkuserformattedblockinfo).
checkuserlog?
optionalcheckuserlog?:ApiQueryCheckUserLogResult
Defined in: extensions/checkuser.ts:194
Entries from the CheckUser log (list=checkuserlog).
clientlibraries?
optionalclientlibraries?:ApiSoftwareLibrary[]
Defined in: core/query/siteinfo.ts:992
Bundled client-side libraries (siprop=clientlibraries).
Since
MediaWiki 1.42
codexicons?
optionalcodexicons?:unknown[] |Record<string,ApiCodexIcon>
Defined in: core/query/codexicons.ts:46
Codex icon definitions, keyed by icon name (e.g. cdxIconInfo).
list=codexicons&names=… (names is required). Simple icons are raw
SVG markup strings; directionality/language-aware icons are definition
objects.
Since
MediaWiki 1.44
configuredpages?
optionalconfiguredpages?:ApiQueryConfiguredPages
Defined in: extensions/flaggedrevs.ts:227
Pages with custom review configuration (list=configuredpages).
converted?
optionalconverted?:ApiQueryTitlePair[]
Defined in: core/query/index.ts:542
Title conversions applied on a language-variant wiki when the request
allowed them (converttitles), as { from, to } pairs.
copyuploaddomains?
optionalcopyuploaddomains?:string[]
Defined in: core/query/siteinfo.ts:914
Domains copy-uploads may fetch from ($wgCopyUploadsDomains, plus the
on-wiki allowlist page since 1.46). siprop=copyuploaddomains.
Since
MediaWiki 1.45
crosssiteajaxdomains?
optionalcrosssiteajaxdomains?:string[]
Defined in: core/query/siteinfo.ts:897
Domains allowed to send authenticated CORS requests, from
$wgCrossSiteAJAXdomains; always a JSON array (empty when unconfigured).
siprop=crosssiteajaxdomains.
Since
MediaWiki 1.47
dbrepllag?
optionaldbrepllag?:ApiDbReplLag[]
Defined in: core/query/siteinfo.ts:973
Database replica lag (siprop=dbrepllag).
defaultoptions?
optionaldefaultoptions?:Record<string,string|number|boolean|undefined>
Defined in: core/query/siteinfo.ts:1016
Default user options, keyed by option name (siprop=defaultoptions).
deletedrevs?
optionaldeletedrevs?:ApiDeletedRevs[]
Defined in: core/query/deletedrevs.ts:94
Deleted revisions grouped per page (list=deletedrevs).
Deprecated
since MediaWiki 1.25; prefer ApiQueryResult.alldeletedrevisions.
doubleunderscores?
optionaldoubleunderscores?:string[]
Defined in: core/query/siteinfo.ts:922
Behavior-switch magic words (the __NOTOC__ set).
siprop=doubleunderscores.
Since
MediaWiki 1.46
echoarticlereminder?
optionalechoarticlereminder?:ApiQueryEchoArticleReminder
Defined in: extensions/echo.ts:401
Reply to action=echoarticlereminder, returned under query.
echomarkread?
optionalechomarkread?:ApiQueryEchoMarkRead
Defined in: extensions/echo.ts:395
Reply to action=echomarkread, returned under query.
echomarkseen?
optionalechomarkseen?:ApiQueryEchoMarkSeen
Defined in: extensions/echo.ts:398
Reply to action=echomarkseen, returned under query.
embeddedin?
optionalembeddedin?:ApiEmbeddedIn[]
Defined in: core/query/embeddedin.ts:23
Pages embedding eititle (list=embeddedin).
entityusage?
optionalentityusage?:ApiEntityUsageRow[]
Defined in: extensions/wikibase.ts:119
list=wblistentityusage: pages using the requested entities.
export?
optionalexport?:string
Defined in: core/query/index.ts:566
XML dump of the returned pages (export=1).
extensions?
optionalextensions?:ApiSiteExtension[]
Defined in: core/query/siteinfo.ts:949
Installed extensions and skins with credits (siprop=extensions).
extensiontags?
optionalextensiontags?:string[]
Defined in: core/query/siteinfo.ts:958
Parser extension tags such as <gallery> (siprop=extensiontags).
exturlusage?
optionalexturlusage?:ApiExtUrlUsage[]
Defined in: core/query/exturlusage.ts:33
Pages using the URL given to euquery (list=exturlusage).
filearchive?
optionalfilearchive?:ApiFileArchiveEntry[]
Defined in: core/query/filearchive.ts:106
Deleted/overwritten files (list=filearchive).
fileextensions?
optionalfileextensions?:ApiFileExtension[]
Defined in: core/query/siteinfo.ts:946
Uploadable file extensions (siprop=fileextensions).
functionhooks?
optionalfunctionhooks?:string[]
Defined in: core/query/siteinfo.ts:961
Parser function names (siprop=functionhooks).
gadgetcategories?
optionalgadgetcategories?:ApiGadgetCategory[]
Defined in: extensions/gadgets.ts:181
Gadget categories (list=gadgetcategories).
gadgets?
optionalgadgets?:ApiGadget[]
Defined in: extensions/gadgets.ts:178
Gadgets used on this wiki (list=gadgets).
general?
optionalgeneral?:ApiSiteGeneral
Defined in: core/query/siteinfo.ts:882
General site configuration (meta=siteinfo, siprop=general).
globalallusers?
optionalglobalallusers?:ApiGlobalCentralUser[]
Defined in: extensions/centralauth.ts:378
All global accounts of the farm, name-ordered (list=globalallusers).
globalblocks?
optionalglobalblocks?:ApiGlobalBlock[]
Defined in: extensions/globalblocks.ts:185
Farm-wide blocks of IPs, ranges or usernames (list=globalblocks).
globalgroups?
optionalglobalgroups?:ApiGlobalGroup[]
Defined in: extensions/centralauth.ts:381
Global groups defined on the farm (list=globalgroups).
globalpreferences?
optionalglobalpreferences?:ApiGlobalPreferencesResult
Defined in: extensions/globalpreferences.ts:70
The user's farm-wide preferences and their per-wiki overrides (meta=globalpreferences).
globaluserinfo?
optionalglobaluserinfo?:ApiGlobalUserInfo
Defined in: extensions/globaluserinfo.ts:123
Global account of the queried user (meta=globaluserinfo).
globalusers?
optionalglobalusers?:ApiGlobalUserRow[]
Defined in: extensions/centralauth.ts:387
Per-name/per-id global account lookup (list=globalusers).
Since
MediaWiki 1.47
imageusage?
optionalimageusage?:ApiImageUsage[]
Defined in: core/query/imageusage.ts:32
Pages using the file given to iutitle (list=imageusage).
interwiki?
optionalinterwiki?:ApiQueryInterwikiTitle[]
Defined in: core/query/index.ts:548
Titles that resolved to an interwiki prefix; the framework does not process them further.
interwikimap?
optionalinterwikimap?:ApiInterwikiMapEntry[]
Defined in: core/query/siteinfo.ts:976
Interwiki prefixes and their URL templates (siprop=interwikimap).
interwikisearch?
optionalinterwikisearch?:Record<string,ApiSearchInterwikiResult[]>
Defined in: core/query/search.ts:157
Interwiki search hits keyed by interwiki prefix (srinterwiki=1).
interwikisearchinfo?
optionalinterwikisearchinfo?:ApiSearchInterwikiInfo
Defined in: core/query/search.ts:160
Total-hit counter for interwikisearch.
iwbacklinks?
optionaliwbacklinks?:ApiIwbacklink[]
Defined in: core/query/iwbacklinks.ts:25
Pages linking to iwblprefix:iwbltitle (list=iwbacklinks).
langbacklinks?
optionallangbacklinks?:ApiLangbacklink[]
Defined in: core/query/langbacklinks.ts:25
Pages linking to lbllang:lbltitle (list=langbacklinks).
languageinfo?
optionallanguageinfo?:Record<string,ApiLanguageInfo>
Defined in: core/query/languageinfo.ts:82
Language information keyed by language code (meta=languageinfo).
languages?
optionallanguages?:ApiSiteLanguage[]
Defined in: core/query/siteinfo.ts:979
Known language codes (siprop=languages).
languagestats?
optionallanguagestats?:ApiLanguageStatsRow[]
Defined in: extensions/translate.ts:626
Per-group completeness of one language (meta=languagestats).
languagevariants?
optionallanguagevariants?:Record<string,Record<string,ApiLanguageVariant|undefined> |undefined>
Defined in: core/query/siteinfo.ts:982
Variant fallbacks, keyed by language then variant (siprop=languagevariants).
libraries?
optionallibraries?:ApiSoftwareLibrary[]
Defined in: core/query/siteinfo.ts:985
Composer packages (siprop=libraries).
linterrors?
optionallinterrors?:ApiLintError[]
Defined in: extensions/linter.ts:86
Lint error rows matching the requested categories (list=linterrors).
linterstats?
optionallinterstats?:ApiQueryLinterStats
Defined in: extensions/linter.ts:89
Lint-error statistics for this wiki (meta=linterstats).
logevents?
optionallogevents?:ApiLogEvent[]
Defined in: core/query/logevents.ts:90
Log events (list=logevents).
magicwords?
optionalmagicwords?:ApiMagicWord[]
Defined in: core/query/siteinfo.ts:967
Magic words and their aliases (siprop=magicwords).
messagecollection?
optionalmessagecollection?:ApiMessageCollectionRow[]
Defined in: extensions/translate.ts:638
Messages of one group and language (list=messagecollection).
messagegroups?
optionalmessagegroups?:ApiTranslateMessageGroup[]
Defined in: extensions/translate.ts:620
Message groups of this wiki (meta=messagegroups).
messagegroupstats?
optionalmessagegroupstats?:ApiMessageGroupStatsRow[]
Defined in: extensions/translate.ts:623
Per-language completeness of one group (meta=messagegroupstats).
messagetranslations?
optionalmessagetranslations?:ApiMessageTranslation[]
Defined in: extensions/translate.ts:629
Existing translations of one message (meta=messagetranslations).
metadata?
optionalmetadata?:ApiMessageCollectionMetadata
Defined in: extensions/translate.ts:635
Workflow/report metadata of the message collection slice
(list=messagecollection).
mostviewed?
optionalmostviewed?:ApiMostViewedPage[]
Defined in: extensions/pageviews.ts:62
list=mostviewed: the site's most-viewed pages.
mystashedfiles?
optionalmystashedfiles?:ApiStashedFile[]
Defined in: core/query/mystashedfiles.ts:46
Files the caller has stashed but not published (list=mystashedfiles).
namespacealiases?
optionalnamespacealiases?:ApiNamespaceAlias[]
Defined in: core/query/siteinfo.ts:940
Localized namespace aliases (siprop=namespacealiases).
namespaces?
optionalnamespaces?:ApiNamespaces
Defined in: core/query/siteinfo.ts:925
Namespace definitions (meta=siteinfo, siprop=namespaces).
normalized?
optionalnormalized?:ApiQueryNormalized[]
Defined in: core/query/index.ts:533
Title normalizations applied to the request.
notifications?
optionalnotifications?:ApiQueryEchoNotifications
Defined in: extensions/echo.ts:389
Notifications waiting for the user, with unread counts (meta=notifications).
oath?
optionaloath?:ApiOATHStatus
Defined in: extensions/oathauth.ts:102
Whether OATH two-factor authentication is enabled for the queried user
(meta=oath).
Deprecated
since MediaWiki 1.46; the reported TOTP status has no replacement in the new API.
oldreviewedpages?
optionaloldreviewedpages?:ApiQueryOldReviewedPages
Defined in: extensions/flaggedrevs.ts:224
Pages with changes pending review (list=oldreviewedpages).
pageids?
optionalpageids?:string[]
Defined in: core/query/index.ts:563
Page ids of the returned pages (indexpageids=1). JSON map keys are
strings, so ids are strings here even under formatversion=2.
pagepropnames?
optionalpagepropnames?:ApiPagePropName[]
Defined in: core/query/pagepropnames.ts:18
Distinct page property names (list=pagepropnames).
pages?
optionalpages?:ApiPage[]
Defined in: core/query/index.ts:536
Page entries, present for title/pageid/generator-based queries.
pageswithprop?
optionalpageswithprop?:ApiPagesWithProp[]
Defined in: core/query/pageswithprop.ts:31
Pages defining pwppropname (list=pageswithprop).
prefixsearch?
optionalprefixsearch?:ApiPrefixSearchResult[]
Defined in: core/query/prefixsearch.ts:30
Prefix-search results (list=prefixsearch).
protectedtitles?
optionalprotectedtitles?:ApiProtectedTitle[]
Defined in: core/query/protectedtitles.ts:52
Titles protected against creation (list=protectedtitles).
protocols?
optionalprotocols?:string[]
Defined in: core/query/siteinfo.ts:952
Recognised URL protocols (siprop=protocols).
querypage?
optionalquerypage?:ApiQueryPage
Defined in: core/query/querypage.ts:69
The requested special-page report (list=querypage).
random?
optionalrandom?:ApiRandomPage[]
Defined in: core/query/random.ts:33
Randomly selected pages (list=random).
readinglistentries?
optionalreadinglistentries?:ApiReadingListEntry[]
Defined in: extensions/readinglists.ts:247
Pages saved in the requested list(s). list=readinglistentries (or
generator=readinglistentries, where the entries feed pages and this
array comes back empty).
readinglists?
optionalreadinglists?:ApiReadingListItem[]
Defined in: extensions/readinglists.ts:233
The current user's reading lists. meta=readinglists.
readinglists-synctimestamp?
optionalreadinglists-synctimestamp?:string
Defined in: extensions/readinglists.ts:240
A sync watermark: querying with this timestamp as changedsince
guarantees no intervening change is skipped. Sibling of readinglists,
meta=readinglists; omitted on continuation requests.
recentchanges?
optionalrecentchanges?:ApiRecentChange[]
Defined in: core/query/recentchanges.ts:129
Recent changes (list=recentchanges).
redirects?
optionalredirects?:ApiQueryResolvedRedirect[]
Defined in: core/query/index.ts:551
Redirects resolved when the request set redirects=1.
repos?
optionalrepos?:ApiFileRepoInfo[]
Defined in: core/query/filerepoinfo.ts:65
File repositories (meta=filerepoinfo).
restrictions?
optionalrestrictions?:ApiSiteRestrictions
Defined in: core/query/siteinfo.ts:934
Protection types and levels (siprop=restrictions).
rightsinfo?
optionalrightsinfo?:ApiRightsInfo
Defined in: core/query/siteinfo.ts:937
Where the site points for its content-rights statement (siprop=rightsinfo).
sbom?
optionalsbom?:ApiSbom
Defined in: core/query/siteinfo.ts:906
Software Bill of Materials in CycloneDX 1.6 form. siprop=sbom;
requires a named (logged-in, non-temporary) account, so anonymous
requests error out.
Since
MediaWiki 1.46
search?
optionalsearch?:ApiSearchHit[]
Defined in: core/query/search.ts:145
Search results (list=search).
searchinfo?
optionalsearchinfo?:ApiSearchInfo
Defined in: core/query/search.ts:152
Search summary metadata. Emitted by list=search, or by
generator=search when the request passes gsrinfo — the generator
form defaults to no searchinfo at all.
showhooks?
optionalshowhooks?:ApiShowHook[]
Defined in: core/query/siteinfo.ts:970
Subscriber list per hook (siprop=showhooks).
siteviews?
optionalsiteviews?:ApiViewCounts
Defined in: extensions/pageviews.ts:59
meta=siteviews: per-day view counts for the whole site.
skins?
optionalskins?:ApiSiteSkin[]
Defined in: core/query/siteinfo.ts:955
Installed skins (siprop=skins).
specialpagealiases?
optionalspecialpagealiases?:ApiSpecialPageAlias[]
Defined in: core/query/siteinfo.ts:943
Localized special-page aliases (siprop=specialpagealiases).
stashimageinfo?
optionalstashimageinfo?:ApiStashImageInfo[]
Defined in: core/query/stashimageinfo.ts:122
Stashed files named by siifilekey (prop=stashimageinfo).
statistics?
optionalstatistics?:ApiSiteStatistics
Defined in: core/query/siteinfo.ts:928
Site counters (siprop=statistics).
tags?
optionaltags?:ApiTag[]
Defined in: core/query/tags.ts:42
Change-tag definitions (list=tags).
tokens?
optionaltokens?:ApiQueryTokens
Defined in: core/query/tokens.ts:41
Tokens requested via meta=tokens.
trackingcategories?
optionaltrackingcategories?:ApiTrackingCategory[]
Defined in: core/query/trackingcategories.ts:25
Tracking categories listed by list=trackingcategories. Entries share
the list=allcategories shape plus catid; size/hidden only
with the matching tcprop values.
Since
MediaWiki 1.45
unreadnotificationpages?
optionalunreadnotificationpages?:ApiQueryEchoUnreadPages
Defined in: extensions/echo.ts:392
Unread-notification pages grouped per wiki (meta=unreadnotificationpages).
unreviewedpages?
optionalunreviewedpages?:ApiQueryUnreviewedPages
Defined in: extensions/flaggedrevs.ts:221
Pages not reviewed to the requested quality level (list=unreviewedpages).
uploaddialog?
optionaluploaddialog?:unknown[] |ApiUploadDialog
Defined in: core/query/siteinfo.ts:888
Upload-dialog config (siprop=uploaddialog), mirroring $wgUploadDialog
verbatim; an empty configuration serializes as [].
usercontribs?
optionalusercontribs?:ApiUserContrib[]
Defined in: core/query/usercontribs.ts:85
A user's contributions (list=usercontribs).
usergroups?
optionalusergroups?:ApiUserGroup[]
Defined in: core/query/siteinfo.ts:931
User groups and their rights (siprop=usergroups).
userinfo?
optionaluserinfo?:ApiUserInfo
Defined in: core/query/userinfo.ts:156
The current effective user (meta=userinfo).
users?
optionalusers?:ApiUser[]
Defined in: core/query/users.ts:206
User records (list=users).
variables?
optionalvariables?:string[]
Defined in: core/query/siteinfo.ts:964
Parser variable ids (siprop=variables).
watchlist?
optionalwatchlist?:ApiWatchlistEntry[]
Defined in: core/query/watchlist.ts:141
Watchlist changes (list=watchlist).
wikibase?
optionalwikibase?:ApiWikibaseInfo
Defined in: extensions/wikibase.ts:116
meta=wikibase: info about the associated repo.
wikisets?
optionalwikisets?:ApiWikiSet[]
Defined in: extensions/centralauth.ts:390
Wiki sets defined on the farm (list=wikisets).