עזרה של MediaWiki API
זהו דף תיעוד של API שנוצר באופן אוטומטי.
תיעוד ודוגמאות: https://www.mediawiki.org/wiki/API
prop=transcludedin (ti)
- יחידה זו דורשת הרשאות קריאה.
- היחידה הזאת יכולה להיות מחולל.
Find all pages that transclude the given pages.
פרמטרים:
- tiprop
Which properties to get:
- pageid
- Page ID of each page.
- title
- Title of each page.
- redirect
- Flag if the page is a redirect.
- ערכים (מופרדים באמצעות "|"): pageid, title, redirect
- ברירת מחדל: pageid|title|redirect
- tinamespace
Only include pages in these namespaces.
- ערכים (מופרדים באמצעות "|"): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
- tishow
Show only items that meet these criteria:
- redirect
- Only show redirects.
- !redirect
- Only show non-redirects.
- ערכים (מופרדים באמצעות "|"): redirect, !redirect
- tilimit
How many to return.
- המספר המרבי המותר הוא 500 (עבור בוטים – 5,000).
- ברירת מחדל: 10
- ticontinue
כשיש עוד תוצאות, להשתמש בזה בשביל להמשיך.
דוגמאות:
- Get a list of pages transcluding Main Page.
- api.php?action=query&prop=transcludedin&titles=Main%20Page
- Get information about pages transcluding Main Page.
- api.php?action=query&generator=transcludedin&titles=Main%20Page&prop=info