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
action=sitematrix (sm)
(main | sitematrix)
- This module requires read rights.
- Source: SiteMatrix
- License: GPL-2.0-or-later
Get Wikimedia sites list.
The code (technically dbname/wikiid) is either the language code + project code for content projects or the subdomain + main domain for all the others.
Specific parameters:
Other general parameters are available.
- smtype
Filter the Site Matrix by type:
- special
- One off and multilingual Wikimedia projects.
- language
- Wikimedia projects under this language code.
- Values (separate with | or alternative): language, special
- Default: special|language
- smstate
Filter the Site Matrix by wiki state.
- Values (separate with | or alternative): all, closed, fishbowl, nonglobal, private
- Default: all
- smlangprop
Which information about a language to return.
- Values (separate with | or alternative): code, dir, localname, name, site
- Default: code|name|site|dir|localname
- smsiteprop
Which information about a site to return.
- Values (separate with | or alternative): code, dbname, lang, sitename, url
- Default: url|dbname|code|sitename
- smlimit
परिणाम दिखाने की अधिकतम सीमा।
- Type: integer or max
- The value must be between १ and ५,०००.
- Default: 5000
- smcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
Example:
- साइट आव्यूह दिखाएँ
- api.php?action=sitematrix [open in sandbox]