API:Transcludedin

From MediaWiki.org
Jump to navigation Jump to search

Find all pages that transclude the given pages. This module can be used as a generator.

Parameters[edit]

  • tiprop: Which properties to get. (Default: pageid|title|redirect)
    • pageid: Get the page id of each page.
    • title: Get the title of each page.
    • redirect: Flag whether the page is a redirect.
  • tinamespace: Only include pages in these namespaces.
  • tishow: Show only items that meet these criteria.
    • redirect: Only show redirects.
    • !redirect: Only show non-redirects.
  • tilimit: The number of results to return. No more than 500 (5000 for bots) allowed. (Default: 10)
  • ticontinue: When more results are available, use this to continue.

Example[edit]

Get a list of pages which transclude the Main Page.

Possible errors[edit]

Code Info
show Incorrect parameter - mutually exclusive values may not be supplied.



prop=transcludedin (ti)

(main | query | transcludedin)
  • This module requires read rights.
  • This module can be used as a generator.
  • Source: MediaWiki
  • License: GPL-2.0-or-later

Find all pages that transclude the given pages.

Parameters:
tiprop

Which properties to get:

pageid
Page ID of each page.
title
Title of each page.
redirect
Flag if the page is a redirect.
Values (separate with | or alternative): pageid, title, redirect
Default: pageid|title|redirect
tinamespace

Only include pages in these namespaces.

Values (separate with | or alternative): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 90, 91, 92, 93, 100, 101, 102, 103, 104, 105, 106, 107, 486, 487, 828, 829, 1198, 1199, 2300, 2301, 2302, 2303, 2600, 5500, 5501
To specify all values, use *.
tishow

Show only items that meet these criteria:

redirect
Only show redirects.
!redirect
Only show non-redirects.
Values (separate with | or alternative): redirect, !redirect
tilimit

How many to return.

No more than 500 (5,000 for bots) allowed.
Type: integer or max
Default: 10
ticontinue

When more results are available, use this to continue.