Extension:ShortUrl/pl

From mediawiki.org
This page is a translated version of the page Extension:ShortUrl and the translation is 38% complete.
Podręcznik rozszerzeń MediaWiki
ShortUrl
Status wydania: stabilne
Realizacja Strona specjalna
Opis Adds a special page that redirects to an article based on the given base36-encoded ID
Autor(zy) Yuvi Panda
Ostatnia wersja 1.2.0 (2015-01-29)
MediaWiki 1.25+
Zmiany w bazie danych Tak
Tabele shorturls
Licencja BSD 3-clause "Modified" License
Pobieranie
  • $wgShortUrlTemplate
  • $wgShortUrlReadOnly
Quarterly downloads 29 (Ranked 115th)
Przetłumacz rozszerzenie ShortUrl jeżeli jest dostępne na translatewiki.net
Problemy Otwarte zadania · Zgłoś błąd

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.

Instalacja

  • Pobierz i umieść plik(i) w katalogu o nazwie ShortUrl w folderze extensions/.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ShortUrl
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'ShortUrl' );
    
  • Uruchom skrypt aktualizujący, który automatycznie stworzy potrzebne tabele dla tego rozszerzenia.
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

Użycie

  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)

Konfiguracja

  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.

Zobacz też