DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:nssize

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:nssize [2010-04-04 22:20] 124.214.174.221plugin:nssize [2020-02-23 15:32] (current) – version upped Aleksandr
Line 1: Line 1:
-====== NSSize plugin ======+====== NSSize Plugin ======
  
 ---- plugin ---- ---- plugin ----
-description: Show disk usage of a namespace+description: Calculate disk usage of a namespace
 author     : Ikuo Obataya author     : Ikuo Obataya
 email      : I.Obataya@gmail.com email      : I.Obataya@gmail.com
 type       : syntax type       : syntax
-lastupdate : 2008-03-22 +lastupdate : 2016-02-02 
-compatible : 2006-11-06 or later+compatible : 2012-10-13
 depends    :  depends    : 
 conflicts  conflicts 
 similar    :  similar    : 
-tags       : statistics maintenance namespace+tags       : !discontinued, statisticsmaintenancenamespace 
 + 
 +downloadurl: https://github.com/iobataya/dokuwiki-plugin-nssize/archive/master.zip 
 +bugtracker : https://github.com/iobataya/dokuwiki-plugin-nssize/issues 
 +sourcerepo : https://github.com/iobataya/dokuwiki-plugin-nssize
 ---- ----
  
 +===== About plugin =====
  
 +NSsize DokuWiki plugin calculates and displays the disk usage of a particular namespace. This plugin can display the disk space of 'pages','attic','media','media_attic','meta','media_meta','cache','index','locks' and 'tmp' directories. The last row can show sum of the directories. These displaying items are selectable in the plugin-configuration page.
  
 +==== Example ====
  
-=====NSsize plugin===== +  #calculate from root namespace. 
-NSsize Dokuwiki plugin calculates and displays the disk usage of a particular namespace. This plugin can display the disk space of the ‘pages’, ‘media’, ‘meta’, ‘cache’, ‘attic’ directories. These displaying items are selectable in the plugin-configuration page.+  {{nssize>}} 
 +   
 +  #calculate wiki namespace. 
 +  {{nssize>wiki}}
  
 +===== History =====
  
-  *[[http://wiki.symplus.com/en/nssize_plugin|Details and Download]]+  * 2013.2.
 +    * Source was moved to GitHub. 
 +    * Supported the latest structure of savedir. 
 +    * Calculation is conducted by only PHP codes to support other platform like Windows. 
 +  * 2008.3.23 
 +    * Italian translation was included. 
 +  * 2007.10.7 
 +    * modified -> to calculate the whole size of cache directory
  
-^ZIP file^ +===== Discussion =====
-|{{http://wiki.symplus.com/_media/computer/source/nssize.zip}}(3.5KB)| +
- +
-====Example==== +
-  {{nssize>computer:en}} +
- +
-^computer/en^^ +
-^Pages  |0.19 MB| +
-^Media  |0.95 MB| +
-^Cache  |0.00 MB| +
-^Meta   |0.59 MB| +
-^Attic  |3.82 MB| +
-^Sum    |5.55 MB| +
- +
-=====History===== +
-  *2008.3.23 +
-    *Italian translation was included. +
-  *2007.10.7 +
-    *modified -> to calculate the whole size of cache directory +
- +
-====== Discussion ======+
  
 This plugin does not seem to work with my DokuWiki (version 2008-05-05) installation. This plugin does not seem to work with my DokuWiki (version 2008-05-05) installation.
Line 53: Line 51:
 Which I assume should calculate sizes for the root namespace? It does not also work for any other namespaces too. Which I assume should calculate sizes for the root namespace? It does not also work for any other namespaces too.
  
-One thing I think that is causing my issue is that I have my data directory stored in a separate location and have used the **savedir** configuration parameter to tell Dokuwiki where it is.+One thing I think that is causing my issue is that I have my data directory stored in a separate location and have used the **savedir** configuration parameter to tell DokuWiki where it is.
  
 I assume the nssize plugin does not take this in to account - thus, that it is why it is broken in my DokuWiki setup. I assume the nssize plugin does not take this in to account - thus, that it is why it is broken in my DokuWiki setup.
Line 82: Line 80:
  
  --- //[[monideth.pen@one-n.co.uk|Monideth Pen]] 2008/05/07 10:41//  --- //[[monideth.pen@one-n.co.uk|Monideth Pen]] 2008/05/07 10:41//
 +
 +I've created this patch, so that it respects dokuwiki paths when calculating sizes.
 +
 +http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dokuwiki-plugin-nssize/doku-conf.patch?rev=1.1
 +
 +i'm using 20091225
 +
 +
 + --- //[[glen@delfi.ee|Elan Ruusamäe]] 2010/07/28 23:17//
 +
plugin/nssize.1270412426.txt.gz · Last modified: 2010-04-04 22:20 by 124.214.174.221

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