Extension:RandomImageByCategory/id

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Ekstensi MediaWiki
RandomImageByCategory
Status rilis stabil
Implementasi Tag
Deskripsi Menampilkan gambar acak dari kategori tertentu
Perancang awal
Versi terbaru 1.4.0 (2020-05-24)
MediaWiki 1.39+
Lisensi Tidak ada lisensi yang ditetapkan
Unduh
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').
Terjemahkan ekstensi RandomImageByCategory jika tersedia di translatewiki.net

Ekstensi RandomImageByCategory menampilkan gambar acak dari kategori yang ditentukan.

Pemasangan

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/RandomImageByCategory/id</tvar>|Download]] and move the extracted <tvar name=name>RandomImageByCategory/id</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%2Fid
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'RandomImageByCategory/id' );
    
  • 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>

Penggunaan

Parameter yang didukung adalah width, limit, dan categories.

Contoh
<randomimagebycategory categories="Watermelons"/>
<randomimagebycategory width="200" categories="Featured Image"/>

Lihat pula