MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

prop=info (in)

Get basic page information.

Specific parameters:
Other general parameters are available.
inprop

Which additional properties to get:

protection
List the protection level of each page.
talkid
The page ID of the talk page for each non-talk page.
watched
List the watched status of each page.
watchers
The number of watchers, if allowed.
visitingwatchers
The number of watchers of each page who have visited recent edits to that page, if allowed.
notificationtimestamp
The watchlist notification timestamp of each page.
subjectid
The page ID of the parent page for each talk page.
associatedpage
The prefixed title of the associated subject or talk page.
url
Gives a full URL, an edit URL, and the canonical URL for each page.
readable
Deprecated. Whether the user can read this page. Use intestactions=read instead.
preload
Deprecated. Gives the text returned by EditFormPreloadText. Use preloadcontent instead, which supports other kinds of preloaded text too.
preloadcontent
Gives the content to be shown in the editor when the page does not exist or while adding a new section.
editintro
Gives the intro messages that should be shown to the user while editing this page or revision, as HTML.
displaytitle
Gives the manner in which the page title is actually displayed.
varianttitles
Gives the display title in all variants of the site content language.
linkclasses
Gives the additional CSS classes (e.g. link colors) used for links to this page if they were to appear on the page named by inlinkcontext.
Values (separate with | or alternative): associatedpage, displaytitle, editintro, linkclasses, notificationtimestamp, preloadcontent, protection, subjectid, talkid, url, varianttitles, visitingwatchers, watched, watchers, preload, readable
inlinkcontext

The context title to use when determining extra CSS classes (e.g. link colors) when inprop contains linkclasses.

Type: page title
Accepts non-existent pages.
Default: Main Page
intestactions

Test whether the current user can perform certain actions on the page.

Separate values with | or alternative.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
intestactionsdetail

Detail level for intestactions. Use the main module's errorformat and errorlang parameters to control the format of the messages returned.

boolean
Return a boolean value for each action.
full
Return messages describing why the action is disallowed, or an empty array if it is allowed.
quick
Like full but skipping expensive checks.
One of the following values: boolean, full, quick
Default: boolean
intestactionsautocreate

Test whether performing intestactions would automatically create a temporary account.

Type: boolean (details)
inpreloadcustom

Title of a custom page to use as preloaded content.

Only used when inprop contains preloadcontent.
inpreloadparams

Parameters for the custom page being used as preloaded content.

Only used when inprop contains preloadcontent.
Separate values with | or alternative.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
inpreloadnewsection

Return preloaded content for a new section on the page, rather than a new page.

Only used when inprop contains preloadcontent.
Type: boolean (details)
ineditintrostyle

Some intro messages come with optional wrapper frames. Use moreframes to include them or lessframes to omit them.

Only used when inprop contains editintro.
One of the following values: lessframes, moreframes
Default: moreframes
ineditintroskip

List of intro messages to remove from the response. Use this if a specific message is not relevant to your tool, or if the information is conveyed in a different way.

Only used when inprop contains editintro.
Separate values with | or alternative.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
ineditintrocustom

Title of a custom page to use as an additional intro message.

Only used when inprop contains editintro.
incontinue

When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.

Examples:

Get information about the page [[

This is a community-edited encyclopedia for the open source roguelike game Dungeon Crawl, focusing on the new fork Dungeon Crawl Chili started in June 2026.

To create an account, see How to help since the normal account creation method is disabled.

Dungeon Crawl Chili may seem easier than many other roguelikes at first glance, but dig a little deeper and you'll find it's just as challenging as some of the most difficult variations out there and a good deal harder than the rest. A strong set of design philosophies makes it much friendlier (and generally fairer) to the player - deaths are a learning experience instead of an exercise in frustration.

Dungeon Crawl Chili, being part of the Dungeon Crawl forks, also sports a number of systems and mechanics that diverge from more traditional roguelikes. For example, there's less emphasis on character classes (or backgrounds in Dungeon Crawl parlance); your character is defined more by their skills, species and choice of deity than their background.

While all Dungeon Crawl forks include an in-game tutorial and manual in the name of providing something playable without the aid of a guide or wiki, the finer details and nuances are left open to discovery by the player. Since there is so much to find, we need your help to maintain this site.

If you find something interesting that's missing, spot an error, or just want to help, please sign up. For those of you who have never added to or edited a wiki before, don't worry! It's not very challenging and there's a very useful help section explaining how to get started. Head over to the Community discussion page to see what is going on at the moment, or take a look at some of the projects we're working on.

The following is from the snapshot of the DCSS Wiki when this website was created in June 2026.

We still don't know if we should keep any of that to link to. If you have any ideas as to how we should structure this Chili Wiki, please let RoGGa know.

This wiki contains massive spoilers. If you do not wish to have your game experience spoiled, stop reading now!


The Crawl Wiki is kept up to date with the latest stable release: 0.34

Character Attributes

North America Servers

South America Server

  • CBRG - Located in São Paulo, Brazil. Hosts all versions from 0.30 to 0.34, and trunk.

European Servers

Asian Servers

  • CNC - Located in South Korea. Hosts all versions from 0.11 to 0.34, and trunk.
  • LLD - Located in Japan. Hosts only the latest stable version: 0.34 (WebTiles only).

Australian Server

  • CPO - Located in Sydney. Hosts all versions from 0.16 to 0.34, and trunk (WebTiles only).
News

]].

api.php?action=query&prop=info&titles=Main%20Page [open in sandbox]

Get general and protection information about the page [[

This is a community-edited encyclopedia for the open source roguelike game Dungeon Crawl, focusing on the new fork Dungeon Crawl Chili started in June 2026.

To create an account, see How to help since the normal account creation method is disabled.

Dungeon Crawl Chili may seem easier than many other roguelikes at first glance, but dig a little deeper and you'll find it's just as challenging as some of the most difficult variations out there and a good deal harder than the rest. A strong set of design philosophies makes it much friendlier (and generally fairer) to the player - deaths are a learning experience instead of an exercise in frustration.

Dungeon Crawl Chili, being part of the Dungeon Crawl forks, also sports a number of systems and mechanics that diverge from more traditional roguelikes. For example, there's less emphasis on character classes (or backgrounds in Dungeon Crawl parlance); your character is defined more by their skills, species and choice of deity than their background.

While all Dungeon Crawl forks include an in-game tutorial and manual in the name of providing something playable without the aid of a guide or wiki, the finer details and nuances are left open to discovery by the player. Since there is so much to find, we need your help to maintain this site.

If you find something interesting that's missing, spot an error, or just want to help, please sign up. For those of you who have never added to or edited a wiki before, don't worry! It's not very challenging and there's a very useful help section explaining how to get started. Head over to the Community discussion page to see what is going on at the moment, or take a look at some of the projects we're working on.

The following is from the snapshot of the DCSS Wiki when this website was created in June 2026.

We still don't know if we should keep any of that to link to. If you have any ideas as to how we should structure this Chili Wiki, please let RoGGa know.

This wiki contains massive spoilers. If you do not wish to have your game experience spoiled, stop reading now!


The Crawl Wiki is kept up to date with the latest stable release: 0.34

Character Attributes

North America Servers

South America Server

  • CBRG - Located in São Paulo, Brazil. Hosts all versions from 0.30 to 0.34, and trunk.

European Servers

Asian Servers

  • CNC - Located in South Korea. Hosts all versions from 0.11 to 0.34, and trunk.
  • LLD - Located in Japan. Hosts only the latest stable version: 0.34 (WebTiles only).

Australian Server

  • CPO - Located in Sydney. Hosts all versions from 0.16 to 0.34, and trunk (WebTiles only).
News

]].

api.php?action=query&prop=info&inprop=protection&titles=Main%20Page [open in sandbox]

list=categorymembers (cm)

  • This module requires read rights.
  • This module can be used as a generator.
  • Source: MediaWiki
  • License: GPL-2.0-or-later

List all pages in a given category.

Specific parameters:
Other general parameters are available.
cmtitle

Which category to enumerate (required). Must include the Category: prefix. Cannot be used together with cmpageid.

cmpageid

Page ID of the category to enumerate. Cannot be used together with cmtitle.

Type: integer
cmprop

Which 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 | or alternative): ids, sortkey, sortkeyprefix, timestamp, title, type
Default: ids|title
cmnamespace

Only include pages in these namespaces. Note that cmtype=subcat or cmtype=file may be used instead of cmnamespace=14 or 6.

Values (separate with | or alternative): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 102, 103, 108, 109, 112, 113, 114, 115, 828, 829
To specify all values, use *.
cmtype

Which type of category members to include. Ignored when cmsort=timestamp is set.

Values (separate with | or alternative): file, page, subcat
Default: page|subcat|file
cmcontinue

When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.

cmlimit

The maximum number of pages to return.

Type: integer or max
The value must be between 1 and 500.
Default: 10
cmsort

Property to sort by.

One of the following values: sortkey, timestamp
Default: sortkey
cmdir

In which direction to sort.

One of the following values: asc, ascending, desc, descending, newer, older
Default: ascending
cmstart

Timestamp to start listing from. Can only be used with cmsort=timestamp.

Type: timestamp (allowed formats)
cmend

Timestamp to end listing at. Can only be used with cmsort=timestamp.

Type: timestamp (allowed formats)
cmstarthexsortkey

Sortkey to start listing from, as returned by cmprop=sortkey. Can only be used with cmsort=sortkey.

cmendhexsortkey

Sortkey to end listing at, as returned by cmprop=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 cmstarthexsortkey instead.

cmendsortkey
Deprecated.

Use cmendhexsortkey instead.