MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
prop=linkshere (lh)
- Ta modul zahteva pravice branja.
- This module can be used as a generator.
- Source: MediaWiki
- License: GPL-2.0-or-later
Iskanje vseh strani, ki se povezujejo z danimi stranmi.
Parameters:
- lhprop
Katere lastnosti naj se pridobijo:
- pageid
- ID vsake strani.
- title
- Naslov vsake strani.
- redirect
- Označi, če je stran preusmeritev.
- Values (separate with | or alternative): pageid, redirect, title
- Privzeto: pageid|title|redirect
- lhnamespace
Vključi samo strani v teh imenskih prostorih.
- Values (separate with | or alternative): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- To specify all values, use *.
- lhshow
Show only items that meet these criteria:
- redirect
- Only show redirects.
- !redirect
- Only show non-redirects.
- Values (separate with | or alternative): !redirect, redirect
- lhlimit
How many to return.
- Type: integer or max
- Vrednost mora biti med 1 in 500.
- Privzeto: 10
- lhcontinue
When more results are available, use this to continue.
Zgleda:
- Get a list of pages linking to the Main Page.
- api.php?action=query&prop=linkshere&titles=Main%20Page [open in sandbox]
- Pridobitev informacij o straneh, ki se povezujejo z Main Page.
- api.php?action=query&generator=linkshere&titles=Main%20Page&prop=info [open in sandbox]