עזרה של MediaWiki API
זהו דף תיעוד של API שנוצר באופן אוטומטי.
תיעוד ודוגמאות: https://www.mediawiki.org/wiki/API
list=exturlusage (eu)
- יחידה זו דורשת הרשאות קריאה.
- היחידה הזאת יכולה להיות מחולל.
Enumerate pages that contain a given URL.
פרמטרים:
- euprop
Which pieces of information to include:
- ids
- Adds the ID of page.
- title
- Adds the title and namespace ID of the page.
- url
- Adds the URL used in the page.
- ערכים (מופרדים באמצעות "|"): ids, title, url
- ברירת מחדל: ids|title|url
- euoffset
כשיש עוד תוצאות, להשתמש בזה בשביל להמשיך.
- euprotocol
Protocol of the URL. If empty and euquery set, the protocol is http. Leave both this and euquery empty to list all external links.
- ערך אחד: יכול להיות ריק או bitcoin, ftp, ftps, geo, git, gopher, http, https, irc, ircs, magnet, mailto, mms, news, nntp, redis, sftp, sip, sips, sms, ssh, svn, tel, telnet, urn, worldwind, xmpp
- ברירת מחדל: (ריק)
- euquery
Search string without protocol. See Special:LinkSearch. Leave empty to list all external links.
- eunamespace
The page namespaces to enumerate.
- ערכים (מופרדים באמצעות "|"): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- eulimit
How many pages to return.
- המספר המרבי המותר הוא 500 (עבור בוטים – 5,000).
- ברירת מחדל: 10
- euexpandurl
Expand protocol-relative URLs with the canonical protocol.
דוגמה:
- Show pages linking to http://www.mediawiki.org.
- api.php?action=query&list=exturlusage&euquery=www.mediawiki.org