MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=editswlgroup
(main | editswlgroup)
- This module requires read rights.
- Source: Semantic Watchlist
- License: GPL-3.0+
API module to modify semantic watchlist groups.
Parameters:
- id
The ID of the watchlist group to edit
- This parameter is required.
- Type: integer
- name
The name of the group, used for display in the user preferences
- This parameter is required.
- properties
The properties this watchlist group covers
- This parameter is required.
- Separate values with |. Maximum number of values is 50 (500 for bots).
- categories
The categories this watchlist group covers
- Separate values with |. Maximum number of values is 50 (500 for bots).
- Default: (empty)
- namespaces
The namespaces this watchlist group covers
- Separate values with |. Maximum number of values is 50 (500 for bots).
- Default: (empty)
- concepts
The concepts this watchlist group covers
- Separate values with |. Maximum number of values is 50 (500 for bots).
- Default: (empty)
- customTexts
Custom Text to be sent in Emails
- Separate values with |. Maximum number of values is 50 (500 for bots).
- Default: (empty)
Examples:
- api.php?action=editswlgroup&id=42&name=My group of awesome&properties=Has awesomeness|Has epicness&categories=Awesome stuff [open in sandbox]
- api.php?action=editswlgroup&id=42&name=My group of awesome&properties=Has awesomeness|Has epicness&categories=Awesome stuff&customTexts=Has awesomeness~true~Changed to awesome now [open in sandbox]