رہنمائے میڈیاویکی اےپیآئی
ذیل میں میڈیاویکی اےپیآئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔
دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=linterrors (lnt)
- اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
- ماخذ: Linter
- اجازت نامہ: GPL-2.0-or-later
Get a list of lint errors
مخصوص پیرامیٹر:
دیگر عمومی پیرامیٹر دستیاب ہیں۔
- lntcategories
لنٹ خطاؤں کے لیے زمرہ
- قدریں (| سے امتیاز کیا گیا ہے یا متبادل): bogus-image-options، deletable-table-tag، fostered، html5-misnesting، large-tables، misc-tidy-replacement-issues، misnested-tag، missing-end-tag، missing-end-tag-in-heading، missing-image-alt-text، multi-colon-escape، multiline-html-table-in-list، multiple-unclosed-formatting-tags، night-mode-unaware-background-color، obsolete-tag، pwrap-bug-workaround، self-closed-tag، stripped-tag، tidy-font-bug، tidy-whitespace-bug، unclosed-quotes-in-heading، wikilink-in-extlink
- طے شدہ: deletable-table-tag|html5-misnesting|misc-tidy-replacement-issues|multiline-html-table-in-list|multiple-unclosed-formatting-tags|pwrap-bug-workaround|self-closed-tag|tidy-font-bug|tidy-whitespace-bug|unclosed-quotes-in-heading|bogus-image-options|fostered|misnested-tag|multi-colon-escape|wikilink-in-extlink|missing-end-tag|missing-end-tag-in-heading|obsolete-tag|stripped-tag
- lntlimit
کیوری سے تعداد نتائج
- طرز: عدد صحیح یا max
- The value must be between 1 and 500.
- طے شدہ: 10
- lntnamespace
Only include lint errors from the specified namespaces
- قدریں (| سے امتیاز کیا گیا ہے یا متبادل): 0، 1، 2، 3، 4، 5، 6، 7، 8، 9، 10، 11، 12، 13، 14، 15، 100، 101، 102، 103، 118، 119، 710، 711، 828، 829، 2600
- To specify all values, use *.
- lntpageid
Only include lint errors from the specified page IDs
- Type: list of integers
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- lnttitle
Only include lint errors from the specified page title
- lntfrom
Lint ID to start querying from
- Type: integer
مثال
- Get all lint errors of the obsolete-tag category
- api.php?action=query&list=linterrors&lntcategories=obsolete-tag [تختۂ مشق میں کھولیں]