plugin:langdelete
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:langdelete [2019-05-01 13:54] – Add information about my fork tilwa | plugin:langdelete [2020-02-05 09:18] (current) – Version upped Aleksandr | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== langdelete Plugin ====== | ====== langdelete Plugin ====== | ||
- | |||
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
- | author | + | author |
- | email : taggic@t-online.de | + | email : taggic@t-online.de |
type : admin-plugin | type : admin-plugin | ||
- | lastupdate : 2016-07-08 | + | lastupdate : 2019-05-01 |
- | compatible : Ponder Stibbons, | + | compatible : Ponder Stibbons, Binky, Weatherwax, Adora Belle, Elenor of Tsort |
depends | depends | ||
conflicts | conflicts | ||
Line 26: | Line 25: | ||
This plugin provides an admin function to delete all language files and directories of your DW installation, | This plugin provides an admin function to delete all language files and directories of your DW installation, | ||
+ | |||
Therfore open the Admin area and look to the section of further plugins. There you will find the " | Therfore open the Admin area and look to the section of further plugins. There you will find the " | ||
With a click on that, a page will be opened where you can delete all language files and folders of your DokuWiki to reduce the space consumption on your web host. | With a click on that, a page will be opened where you can delete all language files and folders of your DokuWiki to reduce the space consumption on your web host. | ||
+ | |||
Simply define the language you want to keep. English as fundamental requirement will be kept also. All other language files and folders of inc and lib directory will be deleted. | Simply define the language you want to keep. English as fundamental requirement will be kept also. All other language files and folders of inc and lib directory will be deleted. | ||
An input control provides you the possibility to specify the languages which should be kept on your system. Therefore you should insert the related ISO-Code like " | An input control provides you the possibility to specify the languages which should be kept on your system. Therefore you should insert the related ISO-Code like " | ||
+ | |||
Please separate the ISO-codes by comma if you want to keep multiple languages. | Please separate the ISO-codes by comma if you want to keep multiple languages. | ||
If you select the option " | If you select the option " | ||
+ | |||
If you de-select it the files within these folders and the folders themselves will be deleted. | If you de-select it the files within these folders and the folders themselves will be deleted. | ||
Line 50: | Line 53: | ||
=== Change Log === | === Change Log === | ||
+ | |||
Many thanks to Satoshi Sahara for the brush up Version. | Many thanks to Satoshi Sahara for the brush up Version. | ||
Line 56: | Line 60: | ||
===== FAQ ===== | ===== FAQ ===== | ||
+ | |||
=== How to delete all languages except English ? === | === How to delete all languages except English ? === | ||
+ | |||
Insert en into the input box and press start. | Insert en into the input box and press start. | ||
=== Does it consider also folders outside of DokuWiki ? === | === Does it consider also folders outside of DokuWiki ? === | ||
+ | |||
No. The plugin is looping recursively “inc” and “lib” folder of DokuWiki. That considers plugins and templates, etc. | No. The plugin is looping recursively “inc” and “lib” folder of DokuWiki. That considers plugins and templates, etc. | ||
+ | |||
If you want to have a script for other folders then please visit following forum post, which was the initial trigger to develop this Plugin: \\ | If you want to have a script for other folders then please visit following forum post, which was the initial trigger to develop this Plugin: \\ | ||
[[http:// | [[http:// | ||
===== Discussion ===== | ===== Discussion ===== | ||
+ | |||
Please use only the [[http:// | Please use only the [[http:// | ||
+ | |||
+ | ===== Forks ===== | ||
I forked this plugin and added a tree-view of what languages are available. You can install it using this URL: [[https:// | I forked this plugin and added a tree-view of what languages are available. You can install it using this URL: [[https:// |
plugin/langdelete.1556711676.txt.gz · Last modified: 2019-05-01 13:54 by tilwa