עזרה של MediaWiki API
××× ××£ ת××¢×× ×©× API ×©× ×צר ××××¤× ×××××××.
ת××¢×× ×××××××ת: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=allrevisions (arv)
- ××××× ×× ××רשת ×רש××ת קר×××.
- ×פשר ××שת×ש ×××××× ×××ת ×ת×ר ×××××.
- ××§×ר: MediaWiki
- ר×ש×××: GPL-2.0-or-later
רש××ת ×× ××רס××ת.
- arvprop
×××× ××פ××× ×× ××§×× ×¢××ר ×× ×רס×:
- ids
- ×××× ××רס×.
- flags
- ×××× ××¨×¡× (××©× ×).
- timestamp
- ××ת×Ö¾×××× ×©× ××רס×.
- user
- ××שת×ש ×©×¢×©× ×ת ××רס×. ×× ××שת×ש × ×××§ ××××קת ×רס××ת, ××××ר ×××פ××× userhidden.
- userid
- ×××× ××שת×ש ×©× ××צר ××רס×. ×× ××שת×ש × ×××§ ××××קת ×רס××ת, ××××ר ×××פ××× userhidden.
- size
- ×××¨× (××ת××) ×©× ××רס×.
- slotsize
- ×××¨× (××ת××) ×©× ×× ×ש×צת ×רס×.
- sha1
- SHA-1 (××ס×ס 16) ×©× ××רס×. ×× ×ת××× × ×××§ ××××קת ×רס××ת, ××××ר ×××פ××× sha1hidden.
- slotsha1
- SHA-1 (×ס×ס 16) ×©× ×× ×ש×צת ×רס×. ×× ×ת××× × ×××§ ××××קת ×רס××ת, ××××ר ×××פ××× sha1hidden.
- contentmodel
- ×××× ×××× ×ת××× ×©× ×× ×ש×צת ×רס×.
- comment
- ××¢×¨× ××ת ××שת×ש ×¢× ××רס×. ×× ×תקצ×ר × ×××§ ××××קת ×רס××ת, ××××ר ×××פ××× commenthidden.
- parsedcomment
- ××¢×¨× ×פ××¢× ×ת ××ת ××שת×ש ×¢× ××רס×. ×× ×תקצ×ר × ×××§ ××××קת ×רס××ת, ××××ר ×××פ××× commenthidden.
- content
- ×ת××× ×©× ×× ×ש×צת ×רס×. ×× ×תקצ×ר × ×××§ ××××קת ×רס××ת, ××××ר ×××פ××× texthidden.
- tags
- ×ת××× ×¢××ר ××רס×.
- roles
- רש××ת תפק××× ×ש×צ×ת ת××× ×©×§××××ת ××רס×.
- parsetree
- ×××ש×. ×ש ××שת×ש ×Ö¾ action=expandtemplates ×× ×Ö¾ action=parse ×××§×× ×××.
×¢×¥ ×¤×¢× ×× XML ×©× ×ª××× ×××¨×¡× (××רש ×××× ×ª×××
wikitext).- ער××× (××פר××× ×××צע×ת "|" ×× or ×ª× ×××פ×): comment, content, contentmodel, flags, ids, parsedcomment, roles, sha1, size, slotsha1, slotsize, tags, timestamp, user, userid, parsetree
- ×ר×רת ×××××: ids|timestamp|flags|comment|user
- arvslots
×¢××ר ×××× ×ש×צ×ת ת××× ×××××ר × ×ª×× ××, ××שר ××פ××× ×× ×©×§×©×ר×× ××ש×צת ×××××× ×Ö¾arvprops. ×× ×× ××ש××, × ×ª×× ×× ××ש×צת main ×××××¨× ×תס××ר ת××× ××××ר.
- ער××× (××פר××× ×××צע×ת "|" ×× or ×ª× ×××פ×): main
- ××× ×תת ×ת ×× ×ער×××, ×ש ××שת×ש ×Ö¾*.
- arvlimit
××××ת ×ספר ××רס××ת ש××××ר×.
- ס××: ×ספר ש×× ×× max
- ××¢×¨× ×××× ××××ת ××× 1 ×Ö¾500.
- arvexpandtemplates
- ×××ש×.
×ש ××שת×ש ×Ö¾action=expandtemplates ×××§×× ×××. ××ר××× ×ª×× ××ת ×ת××× ×××¨×¡× (××רש arvprop=content).
- ס××: ×××××× × (פר×××)
- arvgeneratexml
- ×××ש×.
×ש ××שת×ש ×Ö¾action=expandtemplates ×× ×Ö¾action=parse ×××§×× ×××. ×צ×רת ×¢×¥ ×¤×¢× ×× XML ×¢××ר ת××× ×××¨×¡× (××רש ×ת arvprop=content; ×××××£ ×Ö¾arvprop=parsetree).
- ס××: ×××××× × (פר×××)
- arvparse
- ×××ש×.
×ש ××שת×ש ×Ö¾action=parse ×××§×× ×××. ×¤×¢× ×× ×ª××× ×××¨×¡× (××רש arvprop=content). ×ס×××ת ×©× ××צ××¢××, ×× ××פשר×ת ×××ת ×ש×שת, arvlimit × ××¤× ××¢×¨× 1.
- ס××: ×××××× × (פר×××)
- arvsection
××××ר רק ×ת ×ת××× ×©× ×פרק ×¢× ××××× ×××.
- arvdiffto
- ×××ש×.
×ש ××שת×ש ×Ö¾action=compare ×××§×× ×××. ×××× ×××¨×¡× ×©×× ××¨×¡× ×ª×ש××× ××××. ×ש ××שת×ש ×Ö¾prevâ, next ×Ö¾cur ×¢××ר ×××¨×¡× ××§×××ת, ××× ××× ××××ת, ××ת×××.
- arvdifftotext
- ×××ש×.
×ש ××שת×ש ×Ö¾action=compare ×××§×× ×××. ×××§×¡× ×©×× ××¨×¡× ××¨×¡× ×ª×ש××× ××××. ××צע ×ש×××× ×¨×§ ×©× ×ספר ××××× ×©× ×רס××ת. ××רס ×ת arvdiffto. ×× ××××ר arvsection, רק ××¤×¡×§× ×××ת ת×ש××× ×× ××× ×××§×¡× ×××.
- arvdifftotextpst
- ×××ש×.
×ש ××שת×ש ×Ö¾action=compare ×××§×× ×××. ××צ××¢ ×ת××¨× ××¤× × ×©×××¨× ×¢× ×××§×¡× ××¤× × ×רצת ×ש××××. תקף רק ×ש×ש×ש ×¢× arvdifftotext.
- ס××: ×××××× × (פר×××)
- arvcontentformat
- ×××ש×.
תס××ר ××ס××¨× ×©×ש×ש ×ת arvdifftotext ×צפ×× ×פ×× ×©× ×ª×××.
- ××× ××ער××× ×××××: application/json, application/octet-stream, application/unknown, application/x-binary, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
- arvuser
×רש×× ×¨×§ ×רס××ת ××ת ××שת×ש ×××.
- ס××: ×שת×ש, ××× ××ת ××צ×ר×ת ××××ת: ×©× ×שת×ש, ×ת××ת IP, ×©× ×שת×ש ש××××¢ ××תר ×××§× ××ר (×××× "prefix>ExampleName") ××× ×ספר ×××× ×©× ×שת×ש (×××× "#12345")
- arvnamespace
×רש×× ×¨×§ ×פ×× ××ר×× ××©× ×××.
- ער××× (××פר××× ×××צע×ת "|" ×× or ×ª× ×××פ×): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 2300, 2301, 2302, 2303
- ××× ×תת ×ת ×× ×ער×××, ×ש ××שת×ש ×Ö¾*.
- arvstart
××××× ××ת×Ö¾××× ××ת××× ××× ×ת.
- ס××: ××ת×Ö¾××× (תס××ר×× ××רש××)
- arvend
××××× ××ת×Ö¾××× ××פס××§ ××× ×ת.
- ס××: ××ת×Ö¾××× (תס××ר×× ××רש××)
- arvdir
××××× ××××× ××× ×ת:
- newer
- ×רש×× ×ת ×××©× ×× ×××תר ××ת×××. ×תש××ת ×××: arvstart ×××× ××××ת ××¤× × arvend.
- older
- ×רש×× ×ת ×××ש×× ×××תר ××ת××× (×ר×רת ××××). ×תש××ת ×××: arvstart ×××× ××××ת ×××¨× arvend.
- ××× ××ער××× ×××××: newer, older
- ×ר×רת ×××××: older
- arvexcludeuser
×× ×רש×× ×רס××ת ××ת ××שת×ש ×××.
- ס××: ×שת×ש, ××× ××ת ××צ×ר×ת ××××ת: ×©× ×שת×ש, ×ת××ת IP, ×©× ×שת×ש ש××××¢ ××תר ×××§× ××ר (×××× "prefix>ExampleName") ××× ×ספר ×××× ×©× ×שת×ש (×××× "#12345")
- arvcontinue
×ש×ש ×¢×× ×ª×צ××ת, ××שת×ש ××× ×ש××× ×××ש××.
- arvgeneratetitles
×עת ש×××ש ×ת×ר ×××××, ××××× ××תרת ×××§×× ×××× ×רס×.
- ס××: ×××××× × (פר×××)
- ×רש×× ×ת 50 ×תר×××ת ×××ר×× ×ת ×©× ×שת×ש Example.
- api.php?action=query&list=allrevisions&arvuser=Example&arvlimit=50 [פת××× ××ר×× ×××]
- רש××ת 50 ××רס××ת ×ר×ש×× ×ת ××ר×× ×©× ××ש××.
- api.php?action=query&list=allrevisions&arvdir=newer&arvlimit=50 [פת××× ××ר×× ×××]