Dokuwiki for science

差分

この文書の現在のバージョンと選択したバージョンの差分を表示します。

この比較画面にリンクする

nssize_plugin [2016/06/28 01:25] (現在)
ライン 1: ライン 1:
 +======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.
 +
 +
 +|  [[https://​github.com/​iobataya/​dokuwiki-plugin-nssize|Repository at GitHUB]] ​ |  [[https://​github.com/​iobataya/​dokuwiki-plugin-nssize/​archive/​master.zip|Download]] ​ |
 +
 +
 +
 +=====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**\\ \\ 
 +<​code>​
 +{{nssize>​computer}}
 +
 +{{nssize>​computer:​en}}
 +</​code>​
 +</​float>​
 +<float left200>
 +**Display**\\ \\ 
 +{{nssize>​computer}}
 +</​float>​
 +<float left200>
 +\\ \\ 
 +{{nssize>​computer:​en}}
 +</​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======
 +  -Download and extract {{computer:​source:​nssize.zip?​cache=nocache|nssize.zip}}.
 +  -Upload it to /​lib/​plugins directory.
 +
 +  *{{computer:​source:​nssize.zip|nssize.zip}} (3.5 KB)
 +
 +======Link======
 +<float icon(compass)>​
 +  *[[Dokuwiki plugin]]
 +  *[[:​source:​start|Plugin archives]]
 +</​float>​
 +
 +
 +======History======
 +  *2008.3.23
 +    *Italian translation was included.
 +  *2007.10.7
 +    *modified -> to calculate the whole size of cache directory
 +
 +
 +{{tag>​Dokuwiki Plugin}}