MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

action=setnotificationtimestamp

(main | setnotificationtimestamp)
  • Denne modulen krever lesetilgang.
  • Denne modulen krever skrivetilgang.
  • Denne modulen aksepterer bare POST forespørsler.
  • Kilde: MediaWiki
  • Lisens: GPL-2.0-or-later

Oppdater varselstidsstempelet for overvåkede sider.

This affects the highlighting of changed pages in the watchlist and history, and the sending of email when the "Send meg en e-post når sider og filer på overvåkningslisten min blir endret" preference is enabled.

Parametre:
entirewatchlist

Work on all watched pages.

Type: boolsk verdi (detaljer)
timestamp

Timestamp to which to set the notification timestamp.

Type: tidsstempel (tillatte formater)
torevid

Revision to set the notification timestamp to (one page only).

Type: heltall
newerthanrevid

Revision to set the notification timestamp newer than (one page only).

Type: heltall
continue

Når flere resultater er tilgjengelige, bruk denne for å fortsette.

titles

A list of titles to work on.

Separer verdier med | eller alternativ. Maksimalt antall verdier er 50 (500 for botter)
pageids

A list of page IDs to work on.

Type: liste over heltall
Separer verdier med | eller alternativ. Maksimalt antall verdier er 50 (500 for botter)
revids

A list of revision IDs to work on.

Type: liste over heltall
Separer verdier med | eller alternativ. Maksimalt antall verdier er 50 (500 for botter)
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
List all deleted revisions by a user or in a namespace.
allfileusages
List all file usages, including non-existing.
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
Lister opp alle omdirigeringer til et navnerom.
allrevisions
List opp alle revisjoner.
alltransclusions
List all transclusions (pages embedded using {{x}}), including non-existing.
backlinks
Finn alle sider som lenker til den gitte siden.
categories
List all categories the pages belong to.
categorymembers
List all pages in a given category.
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
Enumerate pages that contain a given URL.
fileusage
Find all pages that use the given files.
images
Returns all files contained on the given pages.
imageusage
Find all pages that use the given image title.
iwbacklinks
Find all pages that link to the given interwiki link.
langbacklinks
Finn alle sider som lenker til den gitte språklenka.
links
Returnerer alle lenker fra de gitte sidene.
linkshere
Finn alle sider som lenker til de gitte sidene.
pageswithprop
Lister opp alle sider med en gitt sideegenskap.
prefixsearch
Utfør et prefikssøk for sidetitler.
protectedtitles
List opp alle titler som er beskyttet fra opprettelse.
querypage
Get a list provided by a QueryPage-based special page.
random
Hent et sett av tilfeldige sider.
recentchanges
Enumerate recent changes.
redirects
Returns all redirects to the given pages.
revisions
Get revision information.
search
Perform a full text search.
templates
Returns all pages transcluded on the given pages.
transcludedin
Find all pages that transclude the given pages.
watchlist
Get recent changes to pages in the current user's watchlist.
watchlistraw
Get all pages on the current user's watchlist.
Én av følgende verdier: 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: boolsk verdi (detaljer)
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 og zh.

Type: boolsk verdi (detaljer)
token

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

Denne parameteren er påkrevd.
Eksempler:
Reset the notification status for the entire watchlist.
api.php?action=setnotificationtimestamp&entirewatchlist=&token=123ABC [åpne i sandkasse]
Reset the notification status for Main page.
api.php?action=setnotificationtimestamp&titles=Main_page&token=123ABC [åpne i sandkasse]
Set the notification timestamp for Main page so all edits since 1 January 2012 are unviewed.
api.php?action=setnotificationtimestamp&titles=Main_page&timestamp=2012-01-01T00:00:00Z&token=123ABC [åpne i sandkasse]
Reset the notification status for pages in the Bruker namespace.
api.php?action=setnotificationtimestamp&generator=allpages&gapnamespace=2&token=123ABC [åpne i sandkasse]