עזרה של MediaWiki API

זהו דף תיעוד של API שנוצר באופן אוטומטי.

תיעוד ודוגמאות: https://www.mediawiki.org/wiki/API

list=users (us)

(main | query | users)
  • יחידה זו דורשת הרשאות קריאה.

Get information about a list of users.

פרמטרים:
usprop

Which pieces of information to include:

blockinfo
Tags if the user is blocked, by whom, and for what reason.
groups
Lists all the groups each user belongs to.
implicitgroups
Lists all the groups a user is automatically a member of.
rights
Lists all the rights each user has.
editcount
Adds the user's edit count.
registration
Adds the user's registration timestamp.
emailable
Tags if the user can and wants to receive email through Special:Emailuser.
gender
Tags the gender of the user. Returns "male", "female", or "unknown".
ערכים (מופרדים באמצעות "|"): blockinfo, groups, implicitgroups, rights, editcount, registration, emailable, gender
ususers

A list of users to obtain information for.

הפרדה בין ערכים נעשית באמצעות | מספר הערכים המרבי הוא 50 (עבור בוטים – 500).
ustoken
מיושן.

Use action=query&meta=tokens instead.

ערכים (מופרדים באמצעות "|"): userrights