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=mobileview
(main | mobileview)
- This module is deprecated.
- This module requires read rights.
- Source: MobileFrontend
- License: GPL-2.0-or-later
Specific parameters:
Other general parameters are available.
- page
- ⧼apihelp-mobileview-param-page⧽
- This parameter is required.
- redirect
- ⧼apihelp-mobileview-param-redirect⧽
- One of the following values: no, yes
- Default: yes
- sections
- ⧼apihelp-mobileview-param-sections⧽
- prop
- ⧼apihelp-mobileview-param-prop⧽
- Values (separate with | or alternative): contentmodel, description, displaytitle, editable, hasvariants, id, image, languagecount, lastmodified, lastmodifiedby, namespace, normalizedtitle, pageprops, protection, revision, sections, text, thumb
- Default: text|sections|normalizedtitle
- sectionprop
- ⧼apihelp-mobileview-param-sectionprop⧽
- Values (separate with | or alternative): anchor, fromtitle, index, level, line, number, toclevel
- Default: toclevel|line
- pageprops
- ⧼apihelp-mobileview-param-pageprops⧽
- Default: notoc|noeditsection|wikibase_item
- variant
- ⧼apihelp-mobileview-param-variant⧽
- Default: (empty)
- noheadings
- ⧼apihelp-mobileview-param-noheadings⧽
- Type: boolean (details)
- notransform
- ⧼apihelp-mobileview-param-notransform⧽
- Type: boolean (details)
- onlyrequestedsections
- ⧼apihelp-mobileview-param-onlyrequestedsections⧽
- Type: boolean (details)
- offset
- ⧼apihelp-mobileview-param-offset⧽
- Type: integer
- The value must be no less than 0.
- Default: 0
- maxlen
- ⧼apihelp-mobileview-param-maxlen⧽
- Type: integer
- The value must be no less than 0.
- Default: 0
- revision
- ⧼apihelp-mobileview-param-revision⧽
- Type: integer
- The value must be no less than 0.
- Default: 0
- thumbheight
- ⧼apihelp-mobileview-param-thumbheight⧽
- Type: integer
- The value must be no less than 0.
- thumbwidth
- ⧼apihelp-mobileview-param-thumbwidth⧽
- Type: integer
- The value must be no less than 0.
- thumbsize
- ⧼apihelp-mobileview-param-thumbsize⧽
- Type: integer
- The value must be no less than 0.
Examples:
- ⧼apihelp-mobileview-example-1⧽
- api.php?action=mobileview&page=Doom_metal§ions=0 [open in sandbox]
- ⧼apihelp-mobileview-example-2⧽
- api.php?action=mobileview&page=Candlemass§ions=0|references [open in sandbox]
- ⧼apihelp-mobileview-example-3⧽
- api.php?action=mobileview&page=Candlemass§ions=1-|references [open in sandbox]