MediaWiki API ヘルプ

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

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

list=allpages (ap)

(main | query | allpages)
  • このモジュールは読み取りの権限を必要とします。
  • このモジュールはジェネレーターとして使用できます。
  • ソース: MediaWiki
  • ライセンス: GPL-2.0-or-later

Enumerate all pages sequentially in a given namespace.

パラメーター:
apfrom

列挙を開始するページ名。

apcontinue

When more results are available, use this to continue.

apto

列挙を終了するページ名。

apprefix

この値で始まるすべてのページ名を検索します。

apnamespace

列挙する名前空間。

値 (次の値のいずれか1つ): 0、1、2、3、4、5、6、7、8、9、10、11、12、13、14、15、460、461
Default: 0
apfilterredir

リストするページ

値 (次の値のいずれか1つ): all、nonredirects、redirects
Default: all
apminsize

ページの最低バイト数を制限する。

型: 整数
apmaxsize

ページの最大バイト数を制限する。

型: 整数
apprtype

保護されているページに絞り込む。

値 (|もしくは別の文字列で区切る): edit、move、upload
apprlevel

保護レベルで絞り込む (aptype= パラメーターと同時に使用しなければなりません)。

値 (|もしくは別の文字列で区切る): Can be empty, or autoconfirmed、sysop
apprfiltercascade

Filter protections based on cascadingness (ignored when apprtype isn't set).

値 (次の値のいずれか1つ): all、cascading、noncascading
Default: all
aplimit

返すページの総数。

型: 整数または max
The value must be between 1 and 500.
Default: 10
apdir

昇順・降順の別。

値 (次の値のいずれか1つ): ascending、descending
Default: ascending
apfilterlanglinks

Filter based on whether a page has langlinks. Note that this may not consider langlinks added by extensions.

値 (次の値のいずれか1つ): all、withlanglinks、withoutlanglinks
Default: all
apprexpiry

Which protection expiry to filter the page on:

indefinite
Get only pages with indefinite protection expiry.
definite
Get only pages with a definite (specific) protection expiry.
all
Get pages with any protections expiry.
値 (次の値のいずれか1つ): all、definite、indefinite
Default: all