It's better when it's simple

User Tools

Site Tools


Unused Medias Plugin

Compatible with DokuWiki

lemming, anteater, rincewind, angua, adora belle, weatherwax

plugin List all orphans medias which are not used in wiki pages and allow to delete them.

Last updated on

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Similar to displayorphans, orphanswanted

Tagged with admin, maintenance, media, merge, orphan


Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.

Supported Languages

  • Français (French)
  • English

NB : If somebody wants to translate in another language, let me a message in “Discussion” or do a pull request on github.


Go in the namespace you want to inspect the orphans medias and go in the administration, and click on “Orphaned medias (…)”. it can take few minutes to generate the list !

Configuration and Settings

Be careful about PHP safemode, on biggest dokuwiki installations,you will have to increase manually in your php.ini the max_execution_time parameter if safe_mode is enabled.


For sources (v1.0 - 2011/10/10) see this page.


Known Bugs and Issues

Please, see : GitHub BugTracker - UnusedMedias

Warning: If you use the gallery or the zoom plugins on images, then these might be falsely listed as not-in-use. This plugin does not seem to ignore the gallery> or zoom> prefixes.

The gallery and zoom plugin doesn't register the relation_media key.
The default internal media usages are recorded by _recordMediaUsage($src)
Klap-in 2014-08-09

ToDo/Wish List



getInfo() not implemented in admin_plugin_unusedmedias_list and dokuwiki/lib/plugins/unusedmedias/ not found.
This is a bug in the unusedmedias plugin and should be reported to the plugin author ??

Please create an issue in
Which version of Dokuwiki are you using ? getInfo is no more required since Lemming as indicated on this page : plugin_info and is the plugin…
JohanGuilbaud 2011/10/25 10:02

I use Releas 2011-05-25a Rincewind

Check that is present and readable by your dokuwiki ;)
JohanGuilbaud 2011/10/25 10:02

I checked the, and its alright and similar to other´s from other Plugins I have.I cant explane me that problem.

plugin/unusedmedias.txt · Last modified: 2018-06-06 00:19 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki