Extension:RandomImageByCategory/pl

From Linux Web Expert

Podręcznik rozszerzeń MediaWiki
RandomImageByCategory
Status wydania: stabilne
Realizacja Znaczniki
Opis Displays a random image from a given category
Autor(zy)
Ostatnia wersja 1.4.0 (2020-05-24)
MediaWiki 1.39+
Licencja Nie określono
Pobieranie
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Przetłumacz rozszerzenie RandomImageByCategory jeżeli jest dostępne na translatewiki.net

The RandomImageByCategory extension displays a random image from the given category or categories.

Instalacja

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/RandomImageByCategory/pl</tvar>|Download]] and move the extracted <tvar name=name>RandomImageByCategory/pl</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/RandomImageByCategory%2Fpl
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'RandomImageByCategory/pl' );
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

Użycie

Supported parameters are width, limit and categories.

Przykłady
<randomimagebycategory categories="Watermelons"/>
<randomimagebycategory width="200" categories="Featured Image"/>

Zobacz też