MediaWiki API ヘルプ
ãã®ãã¼ã¸ã¯èªåçæããã MediaWiki API ã®èª¬æææ¸ãã¼ã¸ã§ãã
èª¬æææ¸ã¨ä¾: https://www.mediawiki.org/wiki/API
list=allpages (ap)
- ãã®ã¢ã¸ã¥ã¼ã«ã¯èªã¿åãã®æ¨©éãå¿ è¦ã¨ãã¾ãã
- ãã®ã¢ã¸ã¥ã¼ã«ã¯ã¸ã§ãã¬ã¼ã¿ã¼ã¨ãã¦ä½¿ç¨ã§ãã¾ãã
- Source: MediaWiki
- License: GPL-2.0-or-later
Enumerate all pages sequentially in a given namespace.
- apfrom
åæãéå§ãããã¼ã¸åã
- apcontinue
When more results are available, use this to continue.
- apto
åæãçµäºãããã¼ã¸åã
- apprefix
ãã®å¤ã§å§ã¾ããã¹ã¦ã®ãã¼ã¸åãæ¤ç´¢ãã¾ãã
- apnamespace
åæããåå空éã
- å¤ (次ã®å¤ã®ãããã1ã¤): 0ã1ã2ã3ã4ã5ã6ã7ã8ã9ã10ã11ã12ã13ã14ã15
- æ¢å®å¤: 0
- apfilterredir
Which pages to list.
- å¤ (次ã®å¤ã®ãããã1ã¤): allãredirectsãnonredirects
- æ¢å®å¤: all
- apminsize
ãã¼ã¸ã®æä½ãã¤ãæ°ãå¶éããã
- Type: integer
- apmaxsize
ãã¼ã¸ã®æå¤§ãã¤ãæ°ãå¶éããã
- Type: integer
- apprtype
ä¿è·ããã¦ãããã¼ã¸ã«çµãè¾¼ãã
- å¤ (|ãããã¯å¥ã®æååã§åºåã): editãmoveãupload
- apprlevel
ä¿è·ã¬ãã«ã§çµãè¾¼ã (aptype= ãã©ã¡ã¼ã¿ã¼ã¨åæã«ä½¿ç¨ããªããã°ãªãã¾ãã)ã
- å¤ (|ãããã¯å¥ã®æååã§åºåã): 空æ¬ã«ããããã¾ã㯠autoconfirmedãsysop
- apprfiltercascade
Filter protections based on cascadingness (ignored when apprtype isn't set).
- å¤ (次ã®å¤ã®ãããã1ã¤): cascadingãnoncascadingãall
- æ¢å®å¤: all
- aplimit
è¿ããã¼ã¸ã®ç·æ°ã
- No more than 500 (5,000 for bots) allowed.
- Type: integer or max
- æ¢å®å¤: 10
- apdir
ä¸è¦§è¡¨ç¤ºããæ¹åã
- å¤ (次ã®å¤ã®ãããã1ã¤): ascendingãdescending
- æ¢å®å¤: ascending
- apfilterlanglinks
Filter based on whether a page has langlinks. Note that this may not consider langlinks added by extensions.
- å¤ (次ã®å¤ã®ãããã1ã¤): withlanglinksãwithoutlanglinksãall
- æ¢å®å¤: all
- apprexpiry
Which protection expiry to filter the page on:
- indefinite
- Get only pages with indefinite protection expiry.
- definite
- Get only pages with a definite (specific) protection expiry.
- all
- Get pages with any protections expiry.
- å¤ (次ã®å¤ã®ãããã1ã¤): indefiniteãdefiniteãall
- æ¢å®å¤: all
- B ã§å§ã¾ããã¼ã¸ã®ä¸è¦§ã表示ããã
- api.php?action=query&list=allpages&apfrom=B [ãµã³ãããã¯ã¹ã§éã]
- T ã§å§ã¾ã4ã¤ã®ãã¼ã¸ã«é¢ããæ å ±ã表示ããã
- api.php?action=query&generator=allpages&gaplimit=4&gapfrom=T&prop=info [ãµã³ãããã¯ã¹ã§éã]
- Re ã§å§ã¾ãæåã®éãªãã¤ã¬ã¯ãã®2ãã¼ã¸ã®å 容ã表示ããã
- api.php?action=query&generator=allpages&gaplimit=2&gapfilterredir=nonredirects&gapfrom=Re&prop=revisions&rvprop=content [ãµã³ãããã¯ã¹ã§éã]