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=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
⧼apihelp-savetheme-summary⧽
Specific parameters:
Other general parameters are available.
type
⧼apihelp-savetheme-param-type⧽
This parameter is required.
One of the following values: dark, light
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.
useBackgroundOnMobile
⧼apihelp-savetheme-param-useBackgroundOnMobile⧽
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⧽
One of the following values: BioRhyme, Inknut Antiqua, Lora, Roboto Slab, Rubik, Work Sans
Default: Rubik
faviconImageId
⧼apihelp-savetheme-param-faviconImageId⧽
communityImageId
⧼apihelp-savetheme-param-communityImageId⧽
backgroundImageId
⧼apihelp-savetheme-param-backgroundImageId⧽
backgroundImageStyle
⧼apihelp-savetheme-param-backgroundImageStyle⧽
One of the following values: cover, fitCenter, fitTopLeft, fitTopRight, tileBoth, tileHorizontally, tileVertically
communityHeaderColor
⧼apihelp-savetheme-param-communityHeaderColor⧽
backgroundImageOpacity
⧼apihelp-savetheme-param-backgroundImageOpacity⧽
Type: integer
The value must be between 0 and 100.
backgroundImageDisplay
⧼apihelp-savetheme-param-backgroundImageDisplay⧽
One of the following values: fullScreen, header
Default: header