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. More detailed information on how to continue queries can be found on mediawiki.org.

apto

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

apprefix

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

apnamespace

列挙する名前空間。

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

リストするページ

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

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

型: 整数
apmaxsize

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

型: 整数
apprtype

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

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

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

値 (| または別の文字列で区切る): 空もしくはautoconfirmed、sysopを使用
apprfiltercascade

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

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

返すページの総数。

型: 整数または max
値は1以上500以下です。
既定: 10
apdir

昇順・降順の別。

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

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

値 (次の値のいずれか1つ): all、withlanglinks、withoutlanglinks
既定: 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
既定: all