Medialist Plugin

medialist plugin by Michael Klier
This plugin shows a list of media files for a given wikipage which are either linked in the page itself or belong to its namespace. If there is no media directory named like the page the plugin looks for media in the next upper namespace

Last updated on 2009-05-21. Provides Syntax.
Compatible with DokuWiki > 2009-02-14, 2008-05-05.

Similar to filelist.

Tagged with download, file, images, listing, media, namespace.

:!: If you're looking for a really versatile/flexible solution for listing media files I suggest you give the filelist plugin a try! :!:

Download plugin-medialist.tgz
Github URL http://github.com/chimeric/dokuwiki-plugin-medialist

Support the ongoing development of DokuWiki Plugins and Templates and buy me a coffee ;-) (Suggested: 3€ for a regular or 5€ for big latte with caramel).

Description

This plugin shows a list of media files for a given wikipage which are either linked in the page itself or belong to its namespace. If there is no media directory named like the page the plugin looks for media in the next upper namespace. Note, the plugin is aware of your ACLs.

:!: Because the plugin parses the page instructions of the wikipage you`ll see the correct output not in the preview but after the page is saved! :!:

Installation

Download the archive and unpack it into <dokuwiki>/lib/plugins.

  • .tgz Plugin Manager

The plugin is also available via git.

% cd <dokuwiki>/lib/plugins
% git clone git://github.com/chimeric/dokuwiki-plugin-medialist.git medialist

Syntax

To list the media files linked in the given page use:

{{medialist>wikipage}}

To list the media files linked in the current page use:

{{medialist>@PAGE@}}

To list the media files contained in the current namespace use:

{{medialist>@NAMESPACE@}}

To list both, media files linked in the current page and contained in the current namespace use:

{{medialist>@ALL@}}

Demo

You can see the plugin in action here.

Changelog

Bugs / Feature Requests

Please report bugs and feature requests at the bug tracker.

Discussion

 
plugin/medialist.txt · Last modified: 2010/02/03 12:15 by chi
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate