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=editmassmessagelist
(main | editmassmessagelist)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Kilde: MassMessage
- Licens: GPL-2.0-or-later
Rediger leveringsliste for massebeskeder.
Specific parameters:
Other general parameters are available.
- spamlist
Titlen på leveringslisten, som skal opdateres.
- This parameter is required.
- description
New description for the delivery list.
- add
Titler, som skal tilføjes listen.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- remove
Titler, som skal fjernes fra listen.
- Separate values with | or alternative.
- Maximum number of values is 50 (500 for clients that are allowed higher limits).
- minor
Whether the edit should be marked as minor in the history of the list.
- Type: boolean (details)
- watchlist
Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch.
- One of the following values: nochange, preferences, unwatch, watch
- Default: preferences
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
Eksempler:
- Tilføj User talk:Foo og Talk:Bar til leveringslisten Example og fjern Talk:Baz fra den
- api.php?action=editmassmessagelist&spamlist=Example&add=User%20talk%3AFoo%7CTalk%3ABar&remove=Talk%3ABaz&token=TOKEN [open in sandbox]
- Set the description of the delivery list Example to be "FooBar delivery services"
- api.php?action=editmassmessagelist&spamlist=Example&description=FooBor%20delivery%20services&token=TOKEN [open in sandbox]