MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

action=dspromotion

(main | dspromotion)
  • This module requires read rights.
  • Source: DynamicSettings
  • License: GPL-2.0-or-later

Retrieve and modify information about marketing promotions.

Parameters:
do

Action to perform: [updateWeight]

This parameter is required.
weight

Integer, zero or higher, for the weight of the promotion to change its priority in the list.