Extension:ShortUrl/de-formal

This page is a translated version of the page Extension:ShortUrl and the translation is 23% complete.
Not to be confused with Extension:UrlShortener or Manual:Short URL.
MediaWiki extensions manual
ShortUrl
Release status: stable
Implementation Special page
Description Adds a special page that redirects to an article based on the given base36-encoded ID
Author(s) Yuvi Panda
Latest version 1.2.0 (2015-01-29)
MediaWiki 1.25+
Database changes Yes
Tables shorturls
License BSD 3-clause "Modified" License
Download
  • $wgShortUrlTemplate
  • $wgShortUrlReadOnly
Quarterly downloads 29 (Ranked 109th)
Translate the ShortUrl extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

ShortUrl is a special page extension that helps create shortened URLs for wiki pages, using their base36 encoded IDs. Adds a 'Short URL' link to the Toolbox. Primarily developed for use in the Indic Language Wikipedias.

Installation

  • Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens ShortUrl im Ordner extensions/ ablegen.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ShortUrl
  • Folgenden Code am Ende Ihrer LocalSettings.php -Datei hinzufügen:
    wfLoadExtension( 'ShortUrl' );
    
  • Führen Sie das Aktualisierungsskript aus, welches automatisch die notwendigen Datenbanktabellen erstellt, die diese Erweiterung braucht.
  •   Done – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.

Usage

  1. When installed redirects are available under Special:ShortUrl/<base36>.
  1. Links to redirects can be found in the Toolbox and under the heading (JavaScript only)

Konfiguration

  1. (Optional) Run populateShortUrlTable.php maintenance script. Fills the shorturl database table with entries for all namespace/title parts of all currently existing articles.
  1. Set $wgShortUrlTemplate to the template of the path for generating short URLs. $1 is replaced with the actual short URL ID.

Siehe auch