Extension:PicLens

This extension adds Media RSS support to Mediawiki's standard tag. This allows it to generate Media RSS content from any article that contains such tags. It allows you to add a RSS Media link to any article that does not have gallery with a special comment. It also allows the PicLens plugin to be used with such RSS with another particular tag.

Download instructions
You can download extension from there.

Installation

 * 1) Extract extension
 * 2) Move PicLens to your extensions directory
 * 3) Copy LocalSettings.part content into your LocalSettings.php :

Configuration parameters

 * $wgMediaRssLogo specify an image file that can be used as Media RSS icon. This is displayed in PicLens topbar.

Article with gallery tag
From article you add some gallery, you can launch PicLens plugin with button added in your browser personnal bar.

You can also add a JavaScript link in your article with a tag provided by this extension :

… which will display such HTML content :

JavaScript object PicLensLite is maid available by an head script also automatically provided by this extension.

With generated html attribute class="picLensLauncher" you can customize this link with some CSS selector.

Other article
If you can to add a Media RSS to an article that does not use any gallery, you can do it with the special comment  .

You just have to replace url by an absolute ( </nowikI></tt>) or by another wiki article that contains tag(s) ( </tt>).

Patches
The default code will not include gallery images without a description in the generated RSS feed used to display the images. To do so, change the following code in PicLens.body.php: