MediaWiki API ヘルプ
ãã®ãã¼ã¸ã¯èªåçæããã MediaWiki API ã®èª¬æææ¸ãã¼ã¸ã§ãã
èª¬æææ¸ã¨ä¾: https://www.mediawiki.org/wiki/API
list=alldeletedrevisions (adr)
- ãã®ã¢ã¸ã¥ã¼ã«ã¯èªã¿åãã®æ¨©éãå¿ è¦ã¨ãã¾ãã
- ãã®ã¢ã¸ã¥ã¼ã«ã¯ã¸ã§ãã¬ã¼ã¿ã¼ã¨ãã¦ä½¿ç¨ã§ãã¾ãã
- Source: MediaWiki
- License: GPL-2.0-or-later
å©ç¨è ã«ãã£ã¦åé¤ããããã¾ãã¯åå空éå ã®åé¤ããããã¹ã¦ã®çãä¸è¦§è¡¨ç¤ºããã
- adrprop
Which properties to get for each revision:
- ids
- çã®IDã
- flags
- Revision flags (minor).
- timestamp
- çã®ã¿ã¤ã ã¹ã¿ã³ãã
- user
- ãã®çã使ããå©ç¨è ã
- userid
- ãã®çã®ä½æè ã®å©ç¨è IDã
- size
- ãã®çã®é·ã (ãã¤ã) ã
- sha1
- SHA-1 (base 16) of the revision.
- contentmodel
- Content model ID of the revision.
- comment
- ãã®çã®å©ç¨è ã«ããã³ã¡ã³ãã
- parsedcomment
- ãã®çã®å©ç¨è ã«ãããæ§æè§£æãããã³ã¡ã³ãã
- content
- ãã®çã®ããã¹ãã
- tags
- ãã®çã®ã¿ã°ã
- parsetree
- Deprecated. Use action=expandtemplates or action=parse instead. The XML parse tree of revision content (requires content model
wikitext).
- å¤ (|ãããã¯å¥ã®æååã§åºåã): idsãflagsãtimestampãuserãuseridãsizeãsha1ãcontentmodelãcommentãparsedcommentãcontentãtagsãparsetree
- æ¢å®å¤: ids|timestamp|flags|comment|user
- adrlimit
è¿ãçã®æ°ãå¶éããã
- No more than 500 (5,000 for bots) allowed.
- Type: integer or max
- adrexpandtemplates
- 廿¢äºå®ã§ãã
Use action=expandtemplates instead. Expand templates in revision content (requires adrprop=content).
- Type: boolean (details)
- adrgeneratexml
- 廿¢äºå®ã§ãã
Use action=expandtemplates or action=parse instead. Generate XML parse tree for revision content (requires adrprop=content).
- Type: boolean (details)
- adrparse
- 廿¢äºå®ã§ãã
Use action=parse instead. Parse revision content (requires adrprop=content). For performance reasons, if this option is used, adrlimit is enforced to 1.
- Type: boolean (details)
- adrsection
Only retrieve the content of this section number.
- adrdiffto
- 廿¢äºå®ã§ãã
Use action=compare instead. Revision ID to diff each revision to. Use prev, next and cur for the previous, next and current revision respectively.
- adrdifftotext
- 廿¢äºå®ã§ãã
Use action=compare instead. Text to diff each revision to. Only diffs a limited number of revisions. Overrides adrdiffto. If adrsection is set, only that section will be diffed against this text.
- adrdifftotextpst
- 廿¢äºå®ã§ãã
Use action=compare instead. Perform a pre-save transform on the text before diffing it. Only valid when used with adrdifftotext.
- Type: boolean (details)
- adrcontentformat
Serialization format used for adrdifftotext and expected for output of content.
- å¤ (次ã®å¤ã®ãããã1ã¤): text/x-wikiãtext/javascriptãapplication/jsonãtext/cssãtext/plain
- adruser
ãã®å©ç¨è ã«ããçã®ã¿ãä¸è¦§è¡¨ç¤ºããã
- Type: user name
- adrnamespace
ãã®åå空éã«å«ã¾ãããã¼ã¸ã®ã¿ãä¸è¦§è¡¨ç¤ºãã¾ãã
- å¤ (|ãããã¯å¥ã®æååã§åºåã): 0ã1ã2ã3ã4ã5ã6ã7ã8ã9ã10ã11ã12ã13ã14ã15
- To specify all values, use *.
- adrstart
åæã®å§ç¹ã¨ãªãã¿ã¤ã ã¹ã¿ã³ãã
- adruser ã¨åæã«ä½¿ç¨ãã¾ãã
- Type: timestamp (allowed formats)
- adrend
åæã®çµç¹ã¨ãªãã¿ã¤ã ã¹ã¿ã³ãã
- adruser ã¨åæã«ä½¿ç¨ãã¾ãã
- Type: timestamp (allowed formats)
- adrdir
åæã®æ¹å:
- newer
- å¤ããã®ãå ã«è¡¨ç¤ºãã¾ããæ³¨æ: adrstart 㯠adrend 以åã§ãªããã°ãªãã¾ããã
- older
- æ°ãããã®ãå ã«è¡¨ç¤ºãã¾ã (æ¢å®)ãæ³¨æ: adrstart 㯠adrend 以éã§ãªããã°ãªãã¾ããã
- å¤ (次ã®å¤ã®ãããã1ã¤): newerãolder
- æ¢å®å¤: older
- adrfrom
åæã®å§ç¹ã¨ãªããã¼ã¸åã
- adruser ã¨åæã«ä½¿ç¨ã§ãã¾ããã
- adrto
åæã®çµç¹ã¨ãªããã¼ã¸åã
- adruser ã¨åæã«ä½¿ç¨ã§ãã¾ããã
- adrprefix
ãã®å¤ã§å§ã¾ããã¹ã¦ã®ãã¼ã¸åãæ¤ç´¢ããã
- adruser ã¨åæã«ä½¿ç¨ã§ãã¾ããã
- adrexcludeuser
ãã®å©ç¨è ã«ããçãä¸è¦§è¡¨ç¤ºããªãã
- adruser ã¨åæã«ä½¿ç¨ã§ãã¾ããã
- Type: user name
- adrtag
ãã®ã¿ã°ãä»ä¸ãããçã®ã¿ãä¸è¦§è¡¨ç¤ºããã
- adrcontinue
When more results are available, use this to continue.
- adrgeneratetitles
ã¸ã§ãã¬ã¼ã¿ã¼ã¨ãã¦ä½¿ç¨ããå ´åãçIDã§ã¯ãªããã¼ã¸åãçæãã¾ãã
- Type: boolean (details)
- å©ç¨è Example ã«ããåé¤ãããç´è¿ã®50çãä¸è¦§è¡¨ç¤ºããã
- api.php?action=query&list=alldeletedrevisions&adruser=Example&adrlimit=50 [ãµã³ãããã¯ã¹ã§éã]
- æ¨æºåå空éã«ããåé¤ãããæåã®50çãä¸è¦§è¡¨ç¤ºããã
- api.php?action=query&list=alldeletedrevisions&adrdir=newer&adrnamespace=0&adrlimit=50 [ãµã³ãããã¯ã¹ã§éã]