MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=mobileview
(main | mobileview)
- This module requires read rights.
- Source: MobileFrontend
- License: GPL-2.0-or-later
Parameters:
- page
- ⧼apihelp-mobileview-param-page⧽
- This parameter is required.
- redirect
- ⧼apihelp-mobileview-param-redirect⧽
- One of the following values: yes, no
- Default: yes
- sections
- ⧼apihelp-mobileview-param-sections⧽
- prop
- ⧼apihelp-mobileview-param-prop⧽
- Values (separate with | or alternative): id, text, sections, normalizedtitle, lastmodified, lastmodifiedby, revision, protection, editable, languagecount, hasvariants, displaytitle, pageprops, description, contentmodel, namespace
- Default: text|sections|normalizedtitle
- sectionprop
- ⧼apihelp-mobileview-param-sectionprop⧽
- Values (separate with | or alternative): toclevel, level, line, number, index, fromtitle, anchor
- Default: toclevel|line
- pageprops
- ⧼apihelp-mobileview-param-pageprops⧽
- Default: notoc|noeditsection|wikibase_item
- variant
- ⧼apihelp-mobileview-param-variant⧽
- Default: (empty)
- noimages
- ⧼apihelp-mobileview-param-noimages⧽
- Type: boolean (details)
- 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⧽
- The value must be no less than 0.
- Type: integer
- Default: 0
- maxlen
- ⧼apihelp-mobileview-param-maxlen⧽
- The value must be no less than 0.
- Type: integer
- Default: 0
- revision
- ⧼apihelp-mobileview-param-revision⧽
- The value must be no less than 0.
- Type: integer
- Default: 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]