MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=savetheme
(main | savetheme)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: ThemeDesignerNext
- License: Apache-2.0
Parameters:
- type
- ⧼apihelp-savetheme-param-type⧽
- This parameter is required.
- One of the following values: light, dark
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
- isDefaultType
- ⧼apihelp-savetheme-param-isDefaultType⧽
- This parameter is required.
- Type: boolean (details)
- useLogoInNav
- ⧼apihelp-savetheme-param-useLogoInNav⧽
- This parameter is required.
- communityTitle
- ⧼apihelp-savetheme-param-communityTitle⧽
- Cannot be longer than 65 characters.
- pageBackgroundColor
- ⧼apihelp-savetheme-param-pageBackgroundColor⧽
- accentColor
- ⧼apihelp-savetheme-param-accentColor⧽
- linkColor
- ⧼apihelp-savetheme-param-linkColor⧽
- bodyBackgroundColor
- ⧼apihelp-savetheme-param-bodyBackgroundColor⧽
- stickyNavBackgroundColor
- ⧼apihelp-savetheme-param-stickyNavBackgroundColor⧽
- logoImageId
- ⧼apihelp-savetheme-param-logoImageId⧽
- pageHeadingsFont
- ⧼apihelp-savetheme-param-pageHeadingsFont⧽
- faviconImageId
- ⧼apihelp-savetheme-param-faviconImageId⧽
- backgroundImageId
- ⧼apihelp-savetheme-param-backgroundImageId⧽
- backgroundImageStyle
- ⧼apihelp-savetheme-param-backgroundImageStyle⧽
- One of the following values: cover, tileHorizontally, tileVertically, tileBoth, fitTopLeft, fitCenter, fitTopRight
- communityHeaderColor
- ⧼apihelp-savetheme-param-communityHeaderColor⧽
- backgroundImageOpacity
- ⧼apihelp-savetheme-param-backgroundImageOpacity⧽
- The value must be between 0 and 100.
- Type: integer
- backgroundImageDisplay
- ⧼apihelp-savetheme-param-backgroundImageDisplay⧽
- One of the following values: header, fullScreen
- Default: header