MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=setnotificationtimestamp

(main | setnotificationtimestamp)
  • Denna modul kräver läsrättigheter.
  • Denna modul kräver skrivrättigheter.
  • Denna modul accepterar endast POST-begäranden.
  • 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 "Skicka e-post till mig när en sida eller fil på min bevakningslista ändras" preference is enabled.

Parametrar:
Other general parameters are available.
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. More detailed information on how to continue queries can be found on mediawiki.org.

titles

A list of titles to work on.

Separera värden med | eller alternativ.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
pageids

A list of page IDs to work on.

Type: list of integers
Separera värden med | eller alternativ.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
revids

A list of revision IDs to work on. Note that almost all query modules will convert revision IDs to the corresponding page ID and work on the latest revision instead. Only prop=revisions uses exact revisions for its response.

Type: list of integers
Separera värden med | eller alternativ.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
generator

Get the list of pages to work on by executing the specified query module.

Note: Generator parameter names must be prefixed with a "g", see examples.

allcategories
Enumerate all categories.
alldeletedrevisions
Lista alla raderade revisioner av en användare or inom en namnrymd.
allfileusages
Lista all fil användningsområden, inklusive icke-existerande.
allimages
Enumerate all images sequentially.
alllinks
Enumerate all links that point to a given namespace.
allpages
Enumerate all pages sequentially in a given namespace.
allredirects
Lista alla omdirigeringar till en namnrymd.
allrevisions
Lista alla sidversioner.
alltransclusions
Lista alla mallinkluderingar (sidor inbäddade med {{x}}), inklusive icke-befintliga.
backlinks
Hitta alla sidor som länkar till den givna sidan.
categories
Lista alla kategorier sidorna tillhör.
categorymembers
Lista alla sidor i en angiven kategori.
deletedrevisions
Hämta information om raderad sidversion.
duplicatefiles
Lista alla filer som är dubbletter av angivna filer baserat på hashvärden.
embeddedin
Hitta alla sidor som bäddar in (inkluderar) angiven titel.
exturlusage
Enumerate pages that contain a given URL.
fileusage
Hitta alla sidor som använder angivna filer.
images
Returns all files contained on the given pages.
imageusage
Hitta alla sidor som använder angiven bildtitel.
iwbacklinks
Find all pages that link to the given interwiki link.
langbacklinks
Find all pages that link to the given language link.
links
Returnerar alla länkar från angivna sidor.
linkshere
Hitta alla sidor som länkar till angivna sidor.
pageswithprop
Lista alla sidor som använder en angiven sidegenskap.
prefixsearch
Perform a prefix search for page titles.
protectedtitles
List all titles protected from creation.
querypage
Get a list provided by a QueryPage-based special page.
random
Hämta en uppsättning slumpsidor.
recentchanges
Enumerate recent changes.
redirects
Returnerar alla omdirigeringar till angivna sidor.
revisions
Hämta information om sidversion.
search
Utför en heltextsökning.
templates
Returnerar alla sidinkluderingar på angivna sidor.
transcludedin
Hitta alla sidor som inkluderar angivna sidor.
watchlist
Hämta de senaste ändringarna på sidor i den nuvarande användarens bevakningslista.
watchlistraw
Hämta alla sidor på den aktuella användarens bevakningslista.
Ett av följande värden: 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

Automatically resolve redirects in titles, pageids, and revids, and in pages returned by 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 ban, en, crh, gan, iu, kk, ku, sh, shi, sr, tg, tly, uz, wuu och zh.

Type: boolean (details)
token

A "csrf" token retrieved from action=query&meta=tokens

Den här parametern är obligatorisk.