MediaWiki API ヘルプ

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

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

list=alltransclusions (at)

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

存在しないものも含めて、すべての参照読み込み ({{x}} で埋め込まれたページ) を一覧表示します。

パラメーター:
その他一般パラメーターが利用可能です。
atcontinue

When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.

atfrom

列挙を開始する参照読み込みのページ名。

atto

列挙を終了する参照読み込みのページ名。

atprefix

この値で始まるすべての参照読み込みされているページを検索する。

atunique

Only show distinct transcluded titles. Cannot be used with atprop=ids. When used as a generator, yields target pages instead of source pages.

型: 真偽値 (詳細)
atprop

どの情報を結果に含めるか:

ids
参照元のページIDを追加します (atunique とは同時に使用できません)。
title
参照読み込みのページ名を追加します。
値 (| または別の文字列で区切る): ids、title
既定: title
atnamespace

列挙する名前空間。

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

返す項目の総数。

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

昇順・降順の別。

値 (次の値のいずれか1つ): ascending、descending
既定: ascending
例:
参照読み込みされているページ (存在しないページも含む) を、参照元のページIDとともに、B で始まるものから一覧表示する。
api.php?action=query&list=alltransclusions&atfrom=B&atprop=ids|title [サンドボックスで開く]
List unique transcluded titles.
api.php?action=query&list=alltransclusions&atunique=&atfrom=B [サンドボックスで開く]
参照読み込みされたページを、存在しないものに印をつけて、すべて取得する。
api.php?action=query&generator=alltransclusions&gatunique=&gatfrom=B [サンドボックスで開く]
参照読み込みを含んでいるページを取得する。
api.php?action=query&generator=alltransclusions&gatfrom=B [サンドボックスで開く]