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=wikiforum-sort

(main | wikiforum-sort)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: WikiForum
  • License: GPL-3.0-or-later

Move a forum or a category up or down in the overview listing (Special:WikiForum)

Specific parameters:
Other general parameters are available.
id

ID of the forum or category to sort

This parameter is required.
Type: integer
iscategory

Is the thing about to be sorted a forum category?

Type: boolean (details)
direction

Direction to move the category or forum to, either up or down

This parameter is required.
One of the following values: down, up
Default: down
token

A "csrf" token retrieved from action=query&meta=tokens

This parameter is required.
Example:
Move the forum category with the ID #32 up
api.php?action=wikiforum-sort&sort=up&iscategory=true&id=32 [open in sandbox]