رہنمائے میڈیاویکی اےپیآئی
ذیل میں میڈیاویکی اےپیآئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔
دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=logevents (le)
- اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
- ماخذ: MediaWiki
- اجازت نامہ: GPL-2.0-or-later
Get events from logs.
- leprop
Which properties to get:
- ids
- Adds the ID of the log event.
- title
- Adds the title of the page for the log event.
- type
- Adds the type of log event.
- user
- Adds the user responsible for the log event. If the user has been revision deleted, a userhidden property will be returned.
- userid
- Adds the user ID who was responsible for the log event. If the user has been revision deleted, a userhidden property will be returned.
- timestamp
- Adds the timestamp for the log event.
- comment
- Adds the comment of the log event. If the comment has been revision deleted, a commenthidden property will be returned.
- parsedcomment
- Adds the parsed comment of the log event. If the comment has been revision deleted, a commenthidden property will be returned.
- details
- Lists additional details about the log event. If the log event has been revision deleted, an actionhidden property will be returned.
- tags
- Lists tags for the log event.
- قدریں (| سے امتیاز کیا گیا ہے یا متبادل): comment، details، ids، parsedcomment، tags، timestamp، title، type، user، userid
- طے شدہ: ids|title|type|user|timestamp|comment|details
- letype
Filter log entries to only this type.
- ذیل کی قدروں میں سے کوئی ایک: Can be empty, or block، contentmodel، create، delete، import، managetags، merge، move، newusers، patrol، protect، rights، suppress، tag، upload
- leaction
Filter log actions to only this action. Overrides letype. In the list of possible values, values with the asterisk wildcard such as action/* can have different strings after the slash (/).
- ذیل کی قدروں میں سے کوئی ایک: block/block، block/reblock، block/unblock، contentmodel/change، contentmodel/new، create/create، delete/delete، delete/delete_redir، delete/delete_redir2، delete/event، delete/restore، delete/revision، import/interwiki، import/upload، managetags/activate، managetags/create، managetags/deactivate، managetags/delete، merge/merge، move/move، move/move_redir، newusers/autocreate، newusers/byemail، newusers/create، newusers/create2، newusers/newusers، patrol/autopatrol، patrol/patrol، protect/modify، protect/move_prot، protect/protect، protect/unprotect، rights/autopromote، rights/rights، suppress/block، suppress/delete، suppress/event، suppress/reblock، suppress/revision، tag/update، upload/overwrite، upload/revert، upload/upload
- lestart
The timestamp to start enumerating from.
- Type: timestamp (allowed formats)
- leend
The timestamp to end enumerating.
- Type: timestamp (allowed formats)
- ledir
In which direction to enumerate:
- newer
- List oldest first. Note: lestart has to be before leend.
- older
- List newest first (default). Note: lestart has to be later than leend.
- ذیل کی قدروں میں سے کوئی ایک: newer، older
- طے شدہ: older
- leuser
Filter entries to those made by the given user.
- طرز: صارف، بذریعہ صارف نام، آئی پی، بین الویکی نام (مثلاً "سابقہ>کوئی نام") اور صارف کا شناختی نمبر (مثلاً "#12345")
- letitle
Filter entries to those related to a page.
- lenamespace
Filter entries to those in the given namespace.
- ذیل کی قدروں میں سے کوئی ایک: -1، -2، 0، 1، 2، 3، 4، 5، 6، 7، 8، 9، 10، 11، 12، 13، 14، 15، 106، 107
- leprefix
Filter entries that start with this prefix.
- letag
Only list event entries tagged with this tag.
- lelimit
How many total event entries to return.
- طرز: عدد صحیح یا max
- The value must be between 1 and 500.
- طے شدہ: 10
- lecontinue
When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.
- List recent log events.
- api.php?action=query&list=logevents [تختۂ مشق میں کھولیں]