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=shortenurl
(main | shortenurl)
- This module requires read rights.
- This module only accepts POST requests.
- Source: UrlShortener
- License: Apache-2.0
Berraat un URL hir d’un URL berroc’h.
Specific parameters:
Other general parameters are available.
- url
URL da vezañ berraet.
- Rekis eo an arventenn-mañ.
- qrcode
Kaout ur c’hod QR. Ne vo berraet an URL liammet nemet mard eo hir-kenañ.
- Type: boolean (details)
Examples:
- Kaout an URL berr evit https://en.wikipedia.org/wiki/Arctica.
- api.php?action=shortenurl&url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FArctica [open in sandbox]
- Kaout ur c’hod QR evit https://en.wikipedia.org/wiki/Arctica.
- api.php?action=shortenurl&url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FArctica&qrcode=1 [open in sandbox]