Jump to content

Extension:AutoGallery

From mediawiki.org
MediaWiki extensions manual
AutoGallery
Release status: stable
Description Adds easy to use "auto" gallery mode
Author(s) Kunal Mehta (Legoktmtalk)
Latest version 2.0
MediaWiki 1.31+
License GNU Affero General Public License 3.0 or later
Download
Quarterly downloads 9 (Ranked 124th)
Translate the AutoGallery extension if it is available at translatewiki.net

The AutoGallery extension adds a new gallery mode (auto) that should be a little easier to use. It is based on the nolines gallery mode, and will automatically add a caption using the filename if none is provided, and links directly to the file, skipping the file page.

Installation

  • Download and move the extracted AutoGallery folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/AutoGallery
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'AutoGallery' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

See also