මාධ්යවිකි API උදවු
මෙය ස්වයං-ජනිත මාධ්යවිකි API ප්රලේඛන පිටුවකි.
ප්රලේඛනය සහ උදාහරණ: https://www.mediawiki.org/wiki/API
prop=links (pl)
- මෙම ඒකකය සදහා හිමිකම් කියවීම අවශ්ය වේ.
- මෙම ආකෘතිය උත්පාදකයක් ලෙස භාවිතා කල හැක.
- Source: MediaWiki
- License: GPL-2.0-or-later
Returns all links from the given pages.
පරාමිතීන්:
Other general parameters are available.
- plnamespace
Show links in these namespaces only.
- වටිනාකම් ("|" සමග වෙන් කරන්න): -1, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- To specify all values, use *.
- pllimit
How many links to return.
- Type: integer or max
- The value must be between 1 and 500.
- Default: 10
- plcontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- pltitles
Only list links to these titles. Useful for checking whether a certain page links to a certain title.
- වටිනාකම් "|" සමග වෙන් කරන්න.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- pldir
The direction in which to list.
- එක් වටිනාකමක්: ascending, descending
- Default: ascending
උදාහරණ:
- Get links from the page මුල් පිටුව
- api.php?action=query&prop=links&titles=%E0%B6%B8%E0%B7%94%E0%B6%BD%E0%B7%8A%20%E0%B6%B4%E0%B7%92%E0%B6%A7%E0%B7%94%E0%B7%80 [open in sandbox]
- Get information about the link pages in the page මුල් පිටුව.
- api.php?action=query&generator=links&titles=%E0%B6%B8%E0%B7%94%E0%B6%BD%E0%B7%8A%20%E0%B6%B4%E0%B7%92%E0%B6%A7%E0%B7%94%E0%B7%80&prop=info [open in sandbox]
- Get links from the page මුල් පිටුව in the පරිශීලක and සැකිල්ල namespaces.
- api.php?action=query&prop=links&titles=%E0%B6%B8%E0%B7%94%E0%B6%BD%E0%B7%8A%20%E0%B6%B4%E0%B7%92%E0%B6%A7%E0%B7%94%E0%B7%80&plnamespace=2|10 [open in sandbox]