MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

list=pageswithprop (pwp)

(main | query | pageswithprop)
  • This module requires read rights.
  • This module can be used as a generator.
  • منبع: MediaWiki
  • License: GPL-2.0-or-later

List all pages using a given page property.

Parameters:
pwppropname

Page property for which to enumerate pages (action=query&list=pagepropnames returns page property names in use).

This parameter is required.
pwpprop

Which pieces of information to include:

ids
افزودن شناسه صفحه
title
Adds the title and namespace ID of the page.
value
Adds the value of the page property.
Values (separate with | or alternative): ids، title، value
پیش‌فرض: ids|title
pwpcontinue

When more results are available, use this to continue.

pwplimit

The maximum number of pages to return.

بيش از ۵۰۰ (برای ربات‌ها ۵٬۰۰۰) مجاز نيست
Type: integer or max
پیش‌فرض: 10
pwpdir

جهت مرتب شدن

One of the following values: ascending، descending
پیش‌فرض: ascending