MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

action=fanboxes

(main | fanboxes)

Backend API for the FanBoxes extension

Parameters:
what

What to do?

This parameter is required.
addRemove

1 to add a userbox to a user profile, 2 to delete it

Type: integer
fantagId

UserBox identifier (number)

Type: integer
page_name

Name of the page (in the userbox namespace) whose existence you want to check

style

Class for the success div element

title

Name of the page (in the userbox namespace) where you want to add or remove messages

Example:
Check if there's a fanbox called "Foo bar" in the database
api.php?action=fanboxes&what=checkTitleExistence&page_name=Foo bar [open in sandbox]