Extension:MiniPreview
From MediaWiki.org
|
MiniPreview Release status: stable |
|||
|---|---|---|---|
| Implementation | Parser extension | ||
| Description | Displays small previews of other images in the same categories or displayed on the same pages next to an image | ||
| Author(s) | Magnus Manske | ||
| MediaWiki | 1.11+ | ||
| License | GNU General Public Licence 2.0 or later | ||
| Download | SVN (browse) | ||
|
|||
|
|||
MiniPreview extension displays small previews of other images in the same categories or displayed on the same pages next to an image.
[edit] Installation
To install this extension, download the source from SVN and add the following to LocalSettings.php:
require_once("$IP/extensions/MiniPreview/MiniPreview.php");
[edit] Configuration parameters
- $wgMiniPreviewEnabled — Main switch. Defaults to true.
- $wgMiniPreviewExtPath — Path to the extension files. Defaults to'/extensions/MiniPreview'.
- $wgMiniPreviewShowCategories — Look for images in the same categories. Defaults to true.
- $wgMiniPreviewShowGalleries — Look for images in the same galleries (Galleries = Main namespace pages on commons). Defaults to true.
- $wgMiniPreviewGalleryNamespace — Default : Main namespace (for commons)
- $wgMiniPreviewThumbnailSize — Last/next thumbnails will be $wgMiniPreviewThumbnailSize pixel squared. Defaults to 75.
- $wgMiniPreviewMaxCategories — Maximum number of categories shown. Defaults to 10.
- $wgMiniPreviewMaxGalleries — Maximum number of galleries shown. Defaults to 10.
- $wgMiniPreviewMaxTotal — Maximum number of categories and galleries shown. Defaults to 15.

