MediaWiki API ヘルプ
このページは自動生成された MediaWiki API の説明文書ページです。
説明文書と例: https://www.mediawiki.org/wiki/API
list=linterrors (lnt)
- このモジュールは読み取りの権限を必要とします。
- Source: Linter
- License: GPL-2.0+
Get a list of lint errors
パラメーター:
- lntcategories
Categories of lint errors
- 値 (|もしくは別の文字列で区切る): deletable-table-tag、pwrap-bug-workaround、self-closed-tag、tidy-whitespace-bug、bogus-image-options、fostered、misnested-tag、missing-end-tag、obsolete-tag、stripped-tag
- 既定値: deletable-table-tag|pwrap-bug-workaround|self-closed-tag|tidy-whitespace-bug|bogus-image-options|fostered|misnested-tag|missing-end-tag|obsolete-tag|stripped-tag
- lntlimit
Number of results to query
- No more than 500 (5,000 for bots) allowed.
- Type: integer or max
- 既定値: 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、828、829、2300、2301、2302、2303
- To specify all values, use *.
- 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 [サンドボックスで開く]