API:Embeddedin

From MediaWiki.org
Jump to: navigation, search
Translate this page; This page contains changes which are not marked for translation.

Other languages:
català • ‎Deutsch • ‎English • ‎español • ‎français • ‎Հայերեն • ‎日本語 • ‎português • ‎português do Brasil • ‎română • ‎русский • ‎sicilianu
Tools clipart.png This page is part of the MediaWiki action API documentation.

MediaWiki action API

v · d · e

List pages that transclude a certain page.

Parameters[edit]

  • eititle: List pages including this title. The title need not exist
  • einamespace: Only list pages in these namespaces
  • eifilterredir: How to filter redirects (Default: all)
    • all: List all pages regardless of their redirect flag
    • redirects: Only list redirects
    • nonredirects: Don't list redirects
  • eilimit: Maximum amount of pages to list. No more than 500 (5000 for bots) allowed. (Default: 10)
  • eicontinue: Used to continue a previous request


Example[edit]

Find all pages that embed w:Template:Stub.

Error Codes[edit]

Code Info
eibadcontinue Invalid continue param. You should pass the original value returned by the previous query.




list=embeddedin (ei)

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

Find all pages that embed (transclude) the given title.

Parameters:
eititle

Title to search. Cannot be used together with eipageid.

eipageid

Page ID to search. Cannot be used together with eititle.

Type: integer
eicontinue

When more results are available, use this to continue.

einamespace

The namespace to enumerate.

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 *.
eidir

The direction in which to list.

One of the following values: ascending, descending
Default: ascending
eifilterredir

How to filter for redirects.

One of the following values: all, redirects, nonredirects
Default: all
eilimit

How many total pages to return.

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