MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=mobileview
- This module requires read rights.
- منبع: MobileFrontend
- License: GPL-2.0-or-later
دادههای مورد نیاز برای نماهای گوشی همراه را فعال میکند.
- page
- عنوان صفحه برای پردازش. 
- This parameter is required.
- redirect
- اگر نیاز به پیگیری تغییر مسیرها نیست. 
- One of the following values: yes، no
- پیشفرض: yes
- sections
- Pipe-separated list of section numbers for which to return text. "all" can be used to return for all. Ranges in format "1-4" mean get sections 1,2,3,4. Ranges without second number, e.g. "1-" means get all until the end. "references" can be used to specify that all sections containing references should be returned. 
- prop
- Which information to get: - text
- HTML of selected sections.
- sections
- Information about all sections on the page.
- normalizedtitle
- Normalized page title.
- lastmodified
- ISO 8601 timestamp for when the page was last modified, e.g. "2014-04-13T22:42:14Z".
- lastmodifiedby
- Information about the user who modified the page last.
- revision
- Return the current revision ID of the page.
- protection
- Information about protection level.
- editable
- Whether the current user can edit this page. This includes all factors for logged-in users but not blocked status for anons.
- languagecount
- Number of languages that the page is available in.
- hasvariants
- Whether or not the page is available in other language variants.
- displaytitle
- The rendered title of the page, with {{DISPLAYTITLE}} and such applied.
- pageprops
- Page properties.
 
- Values (separate with | or alternative): id، text، sections، normalizedtitle، lastmodified، lastmodifiedby، revision، protection، editable، languagecount، hasvariants، displaytitle، pageprops، description، contentmodel، namespace، image، thumb
- پیشفرض: text|sections|normalizedtitle
- sectionprop
- چه اطلاعاتی دربارهٔ عناوین بگیرد. 
- Values (separate with | or alternative): toclevel، level، line، number، index، fromtitle، anchor
- پیشفرض: toclevel|line
- pageprops
- چه مشخصاتی از صفحه را برگردان، یک فهرست جداسازی شده با لوله ("|") یا "*" برای همهٔ مشخصات. 
- پیشفرض: notoc|noeditsection|wikibase_item
- variant
- تبدیل محتوا به این نوع زبان. 
- Default: (empty)
- noimages
- بازگردانی اچتیامال بدون نگارهها. 
- Type: boolean (details)
- noheadings
- عناوین را در خروجی قرار نده. 
- Type: boolean (details)
- notransform
- اچتیامال را به نسخهٔ خاص همراه تبدیل نکن. 
- Type: boolean (details)
- onlyrequestedsections
- فقط عناوین درخواست را حتی با prop=sections برگردان. 
- Type: boolean (details)
- offset
- در نظر بگیر همهٔ متن پاسخ یک رشته است و زیررشتهای که از این شروع میشود را برگردان. 
- The value must be no less than ۰.
- Type: integer
- پیشفرض: 0
- maxlen
- Pretend all text result is one string, and limit result to this length. 
- The value must be no less than ۰.
- Type: integer
- پیشفرض: 0
- revision
- درخواست نسخهای خاص. 
- The value must be no less than ۰.
- Type: integer
- پیشفرض: 0
- thumbheight
- حداکثر ارتفاع تصویر بندانگشتی 
- The value must be no less than ۰.
- Type: integer
- thumbwidth
- حداکثر عرض تصویر بندانگشتی 
- The value must be no less than ۰.
- Type: integer
- thumbsize
- حداکثر ابعاد تصویر بندانگشتی. 
- The value must be no less than ۰.
- Type: integer
- Get information about section 0 of Doom metal
- api.php?action=mobileview&page=Doom_metal§ions=0 [open in sandbox]
- Get information about section 0 and sections containing references of Candlemass
- api.php?action=mobileview&page=Candlemass§ions=0|references [open in sandbox]
- Get information about sections 1 and later and sections containing references of Candlemass
- api.php?action=mobileview&page=Candlemass§ions=1-|references [open in sandbox]