MediaWiki API help

This is an auto-generated MediaWiki Action API documentation page.

action=shortenurl

(main | shortenurl)
  • This module requires read rights.
  • This module only accepts POST requests.
  • Source: UrlShortener
  • License: Apache-2.0

Shorten a long URL into a shorter one.

Specific parameters:
Other general parameters are available.
url

URL to be shortened.

This parameter is required.
qrcode

Get a QR code. The linked URL will only be shortened if it is very long.

Type: boolean (details)