Extension:MobileFrontend/MobileViewAPI/ja

このAPIは、MobileFrontend拡張機能が提供していますが、 そうでなく私たちはMobile Content Serviceを優遇しています. これらのAPIは自己責任で使用してください. いずれ廃止予定とされ消される可能性があります（とはいえ十分にお知らせしてからです）. 使用している場合は、トークページであなたの懸念事項をお知らせください.

廃止計画
プロパティは近々廃止されるでしょう. See T99009 and please let us know about any concerns you may have.

API
Delivers content optimized for mobile devices for use by mobile apps and dynamic section views. Almost like a restricted-functionality, but more flexible and returns separate sections that are always obtained from full-page parse.

パラメーター:
 * : Title of page to process.
 * : Pipe-separated list of section numbers for which to return text or  for all sections.
 * : Whether redirects should be followed,  (default) or  . This parameter is intentionally made similar to.
 * : Which information to get:
 * : HTML of selected section(s)
 * : Information about all sections on page
 * : Normalized page title, will be returned only if it differs from the specified one.
 * : What information about sections to get: pipe-separated list of value types defined by parser. It's the same as in action=parse: toclevel, level, line, number, index, fromtitle, anchor. "byteoffset" has been excluded as it makes no sense for this action.
 * : Return HTML without images.
 * : Return HTML without headings.

Returned section information also includes the  for every section - its zero-based number; and for sections that contains references added by, there's also   data member.

例:

XML での同じリクエスト:

[//www.mediawiki.org/w/api.php?action=mobileview&page=Extension:MobileFrontend/Example&sections=0&prop=text%7Csections&format=xmlfm api.php?action=mobileview&page=Extension:MobileFrontend/Example&sections=0&prop=text|sections&format=xml]