MediaWiki API hulp

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)
  • Voor deze module zijn leesrechten nodig.
  • This module only accepts POST requests.
  • Bron: UrlShortener
  • Licentie: Apache-2.0

Verkort een lange URL in een kortere.

Specifieke parameters:
Other general parameters are available.
url

URL om te verkorten.

Deze parameter is vereist.
qrcode

Een QR-code opvragen. De gekoppelde URL wordt alleen ingekort als deze erg lang is.

Type: boolean (details)
Voorbeelden:
Vraag de korte URL op voor https://en.wikipedia.org/wiki/Arctica.
api.php?action=shortenurl&url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FArctica [open in de zandbak]
Vraag een QR-code op voor https://en.wikipedia.org/wiki/Arctica.
api.php?action=shortenurl&url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FArctica&qrcode=1 [open in de zandbak]
Informatie afkomstig van https://nl.wikibooks.org Wikibooks NL.
Wikibooks NL is onderdeel van de wikimediafoundation.