Dokuwiki for science

NSsize plugin

NSsize Dokuwiki plugin calculates and displays the disk usage of a particular namespace. This plugin can display the diskspace of the 'pages', 'media', 'meta', 'cache', 'attic' directories. These displaying items are selectable in the plugin-configuration page.

This plugin just executes 'du' command and summarises the standard output.

Examples

Input a keyword of nssize and a namespace. Here, the example displays the disk space of the 'computer' and 'computer:en:'. Here, the configuration of 'Alerting size' is set to 30MB.

<float left200> Wiki syntax

{{nssize>computer}}

{{nssize>computer:en}}

</float> <float left200> Display

search?q=computer&amp;btnI=lucky </float> <float left200>

search?q=computer%3Aen&amp;btnI=lucky </float> <clear/>

Customizing

You can find 'style.css' file in the plugin folder. The file defines the style of the design of disk space table. You can customize the design as you like.

Installation

  1. Download and extract nssize.zip.
  2. Upload it to /lib/plugins directory.

Link

<float icon(compass)>

</float>

History

  • 2008.3.23
    • Italian translation was included.
  • 2007.10.7
    • modified → to calculate the whole size of cache directory