Jump to content

User:MartinPoulter

From mediawiki.org

The Wikidata example queries that were here are now at wikidata:User:MartinPoulter/queries.

MediaWiki API examples[edit]

API documentation

Preview (XML extract and thumbnail) of a Wikipedia article[edit]

External links from an English Wikipedia page[edit]

External links from a Commons file[edit]

List files in a Commons category (but not subcategories)[edit]

List subcategories of a Commons category[edit]

Incoming links to a Wikipedia article, excluding redirects, from other articles[edit]

NB: Use the direct links for this query and the next: there is a problem with the API Sandbox (which has been reported)

Incoming links to a Wikipedia article, excluding redirects, from pages in Wikipedia: namespace[edit]

Incoming links to a Commons institution template, excluding redirects[edit]

Uses of an image in articles on English Wikipedia[edit]

Templates used in a Wikipedia article[edit]

All files in a Commons category (including subcats)[edit]

Returns max of 500 results per batch

All files in a Commons category (search as generator)[edit]

All contributors to a given file[edit]

All categories that a Commons file is in (hidden categories marked as such)[edit]