MediaWiki API ヘルプ

このページは自動生成された MediaWiki API の説明文書ページです。

説明文書と例: https://www.mediawiki.org/wiki/API

action=mobileview

(main | mobileview)
  • このモジュールは読み取りの権限を必要とします。
  • Source: MobileFrontend
  • License: unknown

Returns data needed for mobile views

パラメーター:
page

Title of page to process

このパラメーターは必須です。
redirect

Whether redirects should be followed

値 (次の値のいずれか1つ): yes、no
既定値: yes
sections

Pipe-separated list of section numbers for which to return text or `all' to return for all. `references' can be used to specify that all sections containing references should be returned.

prop

Which information to get

text
HTML of selected section(s)
sections
information about all sections on page
normalizedtitle
normalized page title
lastmodified
MW timestamp for when the page was last modified, e.g. "20130730174438"
値 (|で区切る): text、sections、normalizedtitle、lastmodified
既定値: text|sections|normalizedtitle
sectionprop

What information about sections to get

値 (|で区切る): toclevel、level、line、number、index、fromtitle、anchor
既定値: toclevel|line
variant

Convert content into this language variant

noimages

Return HTML without images

Type: boolean (details)
noheadings

Don't include headings in output

Type: boolean (details)
notransform

Don't transform HTML into mobile-specific version

Type: boolean (details)
offset

Pretend all text result is one string, and return the substring starting at this point

値は 0 以上にしてください。
Type: integer
既定値: 0
maxlen

Pretend all text result is one string, and limit result to this length

値は 0 以上にしてください。
Type: integer
既定値: 0