MediaWiki API ヘルプ
ãã®ãã¼ã¸ã¯èªåçæããã MediaWiki API ã®èª¬æææ¸ãã¼ã¸ã§ãã
èª¬æææ¸ã¨ä¾: https://www.mediawiki.org/wiki/API
action=setnotificationtimestamp
- ãã®ã¢ã¸ã¥ã¼ã«ã¯èªã¿åãã®æ¨©éãå¿ è¦ã¨ãã¾ãã
- ãã®ã¢ã¸ã¥ã¼ã«ã¯æ¸ãè¾¼ã¿ã®æ¨©éãå¿ è¦ã¨ãã¾ãã
- ãã®ã¢ã¸ã¥ã¼ã«ã¯ POST ãªã¯ã¨ã¹ãã®ã¿ãåãä»ãã¾ãã
- Source: MediaWiki
- License: GPL-2.0-or-later
Update the notification timestamp for watched pages.
This affects the highlighting of changed pages in the watchlist and history, and the sending of email when the "ã¦ã©ãããªã¹ãã«ãããã¼ã¸ããã¡ã¤ã«ãæ´æ°ãããããã¡ã¼ã«ãåãåã" preference is enabled.
- entirewatchlist
Work on all watched pages.
- Type: boolean (details)
- timestamp
Timestamp to which to set the notification timestamp.
- Type: timestamp (allowed formats)
- torevid
Revision to set the notification timestamp to (one page only).
- Type: integer
- newerthanrevid
Revision to set the notification timestamp newer than (one page only).
- Type: integer
- continue
When more results are available, use this to continue.
- titles
対象ã®ãã¼ã¸åã®ãªã¹ãã
- è¤æ°ã®å¤ã¯ | ãããã¯ä»£ããã®æåã§åºåã£ã¦ãã ããã å¤ã®æå¤§å¤ã¯ 50 (ãããã®å ´å㯠500) ã§ãã
- pageids
対象ã®ãã¼ã¸IDã®ãªã¹ãã
- Type: list of integers
- è¤æ°ã®å¤ã¯ | ãããã¯ä»£ããã®æåã§åºåã£ã¦ãã ããã å¤ã®æå¤§å¤ã¯ 50 (ãããã®å ´å㯠500) ã§ãã
- revids
対象ã®çIDã®ãªã¹ãã
- Type: list of integers
- è¤æ°ã®å¤ã¯ | ãããã¯ä»£ããã®æåã§åºåã£ã¦ãã ããã å¤ã®æå¤§å¤ã¯ 50 (ãããã®å ´å㯠500) ã§ãã
- generator
ã¯ã¨ãªã¢ã¸ã¥ã¼ã«ãå®è¡ãããã¨ã«ãã対象ã®ãã¼ã¸ã®ä¸è¦§ãåå¾ããã
注æ Generator ãã©ã¡ã¼ã¿ã¼ã®åå㯠"g" ã§å§ã¾ãã¾ããä¾ãåç §ãã¦ãã ããã
- allcategories
- ãã¹ã¦ã®ã«ãã´ãªãä¸è¦§è¡¨ç¤ºãã¾ãã
- alldeletedrevisions
- å©ç¨è ã«ãã£ã¦åé¤ããããã¾ãã¯åå空éå ã®åé¤ããããã¹ã¦ã®çãä¸è¦§è¡¨ç¤ºããã
- allfileusages
- åå¨ããªããã®ãå«ãããã¹ã¦ã®ãã¡ã¤ã«ã®ä½¿ç¨ç¶æ³ãä¸è¦§è¡¨ç¤ºããã
- allimages
- é æ¬¡ãã¹ã¦ã®ç»åãåæãã¾ãã
- alllinks
- ä¸ããããåå空éã¸ã®ãã¹ã¦ã®ãªã³ã¯ãä¸è¦§è¡¨ç¤ºãã¾ãã
- allpages
- Enumerate all pages sequentially in a given namespace.
- allredirects
- ããåå空éã¸ã®ãã¹ã¦ã®è»¢éãä¸è¦§è¡¨ç¤ºããã
- allrevisions
- ãã¹ã¦ã®çãä¸è¦§è¡¨ç¤ºããã
- alltransclusions
- åå¨ããªããã®ãå«ãã¦ããã¹ã¦ã®åç §èªã¿è¾¼ã¿ ({{x}} ã§åãè¾¼ã¾ãããã¼ã¸) ãä¸è¦§è¡¨ç¤ºãã¾ãã
- backlinks
- ä¸ãããããã¼ã¸ã«ãªã³ã¯ãã¦ãããã¹ã¦ã®ãã¼ã¸ãæ¤ç´¢ãã¾ãã
- categories
- ãã¼ã¸ãå±ãããã¹ã¦ã®ã«ãã´ãªãä¸è¦§è¡¨ç¤ºãã¾ãã
- categorymembers
- ä¸ããããã«ãã´ãªå ã®ãã¹ã¦ã®ãã¼ã¸ãä¸è¦§è¡¨ç¤ºãã¾ãã
- deletedrevisions
- Get deleted revision information.
- duplicatefiles
- List all files that are duplicates of the given files based on hash values.
- embeddedin
- Find all pages that embed (transclude) the given title.
- exturlusage
- ä¸ããããURLãå«ããã¼ã¸ãä¸è¦§è¡¨ç¤ºãã¾ãã
- fileusage
- Find all pages that use the given files.
- images
- ä¸ãããããã¼ã¸ã«å«ã¾ãããã¹ã¦ã®ãã¡ã¤ã«ãè¿ãã¾ãã
- imageusage
- Find all pages that use the given image title.
- iwbacklinks
- Find all pages that link to the given interwiki link.
- langbacklinks
- Find all pages that link to the given language link.
- links
- ãã¼ã¸ããã®ãã¹ã¦ã®ãªã³ã¯ãè¿ãã¾ãã
- linkshere
- Find all pages that link to the given pages.
- pageswithprop
- ä¸ãããããã¼ã¸ããããã£ã使ç¨ããã¦ãããã¹ã¦ã®ãã¼ã¸ãä¸è¦§è¡¨ç¤ºãã¾ãã
- prefixsearch
- ãã¼ã¸åã®å é ä¸è´æ¤ç´¢ãè¡ãã¾ãã
- protectedtitles
- 使ä¿è·ãæãããã¦ãããã¼ã¸ãä¸è¦§è¡¨ç¤ºãã¾ãã
- querypage
- Get a list provided by a QueryPage-based special page.
- random
- Get a set of random pages.
- recentchanges
- æè¿ã®æ´æ°ãä¸è¦§è¡¨ç¤ºãã¾ãã
- redirects
- ãã¼ã¸ã¸ã®ãã¹ã¦ã®è»¢éãè¿ãã¾ãã
- revisions
- Get revision information.
- search
- å ¨ææ¤ç´¢ãè¡ãã¾ãã
- templates
- ä¸ãããããã¼ã¸ã§ãã©ã³ã¹ã¯ã«ã¼ãããã¦ãããã¹ã¦ã®ãã¼ã¸ãè¿ãã¾ãã
- transcludedin
- ä¸ãããããã¼ã¸ããã©ã³ã¹ã¯ã«ã¼ããã¦ãããã¹ã¦ã®ãã¼ã¸ãæ¤ç´¢ãã¾ãã
- watchlist
- ç¾å¨ã®å©ç¨è ã®ã¦ã©ãããªã¹ãã«ãããã¼ã¸ã¸ã®æè¿ã®æ´æ°ãåå¾ãã¾ãã
- watchlistraw
- ç¾å¨ã®å©ç¨è ã®ã¦ã©ãããªã¹ãã«ãããã¹ã¦ã®ãã¼ã¸ãåå¾ãã¾ãã
- å¤ (次ã®å¤ã®ãããã1ã¤): allcategoriesãalldeletedrevisionsãallfileusagesãallimagesãalllinksãallpagesãallredirectsãallrevisionsãalltransclusionsãbacklinksãcategoriesãcategorymembersãdeletedrevisionsãduplicatefilesãembeddedinãexturlusageãfileusageãimagesãimageusageãiwbacklinksãlangbacklinksãlinksãlinkshereãpageswithpropãprefixsearchãprotectedtitlesãquerypageãrandomãrecentchangesãredirectsãrevisionsãsearchãtemplatesãtranscludedinãwatchlistãwatchlistraw
- redirects
titles, pageids, ããã³ revids, ããã³ generator ã«ãã£ã¦è¿ããããã¼ã¸ã®è»¢éãèªåçã«è§£æ±ºããã
- Type: boolean (details)
- converttitles
Convert titles to other variants if necessary. Only works if the wiki's content language supports variant conversion. Languages that support variant conversion include enãcrhãganãiuãkkãkuãshiãsrãtgãuz ããã³ zh.
- Type: boolean (details)
- token
action=query&meta=tokens ããåå¾ãããcsrfããã¼ã¯ã³
- ãã®ãã©ã¡ã¼ã¿ã¼ã¯å¿ é ã§ãã
- Reset the notification status for the entire watchlist.
- api.php?action=setnotificationtimestamp&entirewatchlist=&token=123ABC [ãµã³ãããã¯ã¹ã§éã]
- Reset the notification status for Main page.
- api.php?action=setnotificationtimestamp&titles=Main_page&token=123ABC [ãµã³ãããã¯ã¹ã§éã]
- Set the notification timestamp for Main page so all edits since 1 January 2012 are unviewed.
- api.php?action=setnotificationtimestamp&titles=Main_page×tamp=2012-01-01T00:00:00Z&token=123ABC [ãµã³ãããã¯ã¹ã§éã]
- Reset the notification status for pages in the å©ç¨è namespace.
- api.php?action=setnotificationtimestamp&generator=allpages&gapnamespace=2&token=123ABC [ãµã³ãããã¯ã¹ã§éã]