plugin:farm
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:farm [2011-04-07 20:05] – Chaged the pluging link to plugin_installation_instructions instead of just plugin page. 24.20.24.23 | plugin:farm [2022-01-07 20:25] (current) – obsolete Klap-in | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== farm plugin ====== | + | ====== |
+ | |||
+ | In a farm, one single copy of wiki engine (the farmer) is used to run several individual wikis (the animals). | ||
+ | |||
+ | :!: For general, relevant and up-to-date instructions see [[: | ||
+ | |||
+ | |||
+ | This page describes a plugin | ||
+ | |||
+ | ===== Status | ||
---- plugin ---- | ---- plugin ---- | ||
Line 10: | Line 19: | ||
depends | depends | ||
conflicts | conflicts | ||
- | similar | + | similar |
- | tags : farm farming | + | tags : farm, !obsolete |
- | downloadurl: | + | downloadurl: |
bugtracker : | bugtracker : | ||
sourcerepo : | sourcerepo : | ||
donationurl: | donationurl: | ||
---- | ---- | ||
+ | |||
+ | :!: not available: http:// | ||
+ | |||
+ | |||
===== Download and Installation ===== | ===== Download and Installation ===== | ||
- | Download | + | Search |
- | ^ Download | [[http:// | ||
===== Description ===== | ===== Description ===== | ||
Line 31: | Line 44: | ||
It is a compilation of techniques discussed here, in the form of a plugin: | It is a compilation of techniques discussed here, in the form of a plugin: | ||
- | * [[doku>devel: | + | * [[devel: |
- | * [[doku>tips: | + | * [[tips: |
- | + | For people who can read French, here is my article from JRES2009 about this technique and plugin: | |
- | For people who can read French, here is my article from JRES2009 about this technique and plugin : [[https:// | + | |
The best way to understand what it deals with is to try it. | The best way to understand what it deals with is to try it. | ||
Line 41: | Line 53: | ||
You'd better install it in a new wiki with no content as it speeds up setup and as reverting from farm transformation isn't easy. **This does not mean you will lose data; the plugin will just move your DokuWiki install.** | You'd better install it in a new wiki with no content as it speeds up setup and as reverting from farm transformation isn't easy. **This does not mean you will lose data; the plugin will just move your DokuWiki install.** | ||
- | ==== Examples | + | ==== Examples ==== |
Suppose you have a file system like this one: | Suppose you have a file system like this one: | ||
/ | / | ||
- | If you set farmfsroot to "/ | + | === Example 1 == |
+ | |||
+ | If you set farmfsroot to '' | ||
/ | / | ||
+- main (where are put all the files from your original DokuWiki) | +- main (where are put all the files from your original DokuWiki) | ||
+- wikis (where will be put all the animals | +- wikis (where will be put all the animals | ||
- | If you set farmfsroot to "/ | + | === Example 2 == |
+ | |||
+ | If you set farmfsroot to '' | ||
/ | / | ||
+- main (where are put all the files from your original DokuWiki) | +- main (where are put all the files from your original DokuWiki) | ||
- | And will put all animals directly in "/ | + | And will put all animals directly in '' |
- | If you set farmfsroot to "/var/www/", farmer to "doku/" | + | === Example 3 == |
+ | |||
+ | If you set farmfsroot to '' | ||
/var/www/ | /var/www/ | ||
+- doku (your original setup remains here, farm just adds its utilities) | +- doku (your original setup remains here, farm just adds its utilities) | ||
- | All animals will be put in "/var/www/" | + | All animals will be put in '' |
+ | |||
+ | ==== ==== | ||
- | If the directory pointed by farmfsroot/ | + | If the directory pointed by '' |
**For now the plugin can only work with userewrite parameter set IN THE FARM CONFIG (the farmer/ | **For now the plugin can only work with userewrite parameter set IN THE FARM CONFIG (the farmer/ | ||
Line 74: | Line 94: | ||
* Looks like if using a wiki with no rewrite at all things are a bit dull, still investigating that ... Stay tuned! | * Looks like if using a wiki with no rewrite at all things are a bit dull, still investigating that ... Stay tuned! | ||
- | * If you put the {ANIMAL} tag in any file (conf / pages ...) of an animal and then use it as template the tag will be replaced by the new animal' | + | * If you put the '' |
- | * DOKU_FARM_ANIMAL and DOKU_IS_FARMER are defined by the pre-loaded script, they can be used in other plugins / template or even config files! | + | * '' |
===== Todo ===== | ===== Todo ===== | ||
Line 129: | Line 149: | ||
Schplurtz on feb 1st 2010 : | Schplurtz on feb 1st 2010 : | ||
- | The pluginmanager **works** from within the farm. This is not desired and is a DokuWiki bug that is already reported. You may [[http:// | + | The pluginmanager **works** from within the farm. This is not desired and is a DokuWiki bug that is already reported. You may <del>[[http:// |
As a quick fix, edit DokuWiki file '' | As a quick fix, edit DokuWiki file '' | ||
Line 152: | Line 172: | ||
- the French translation of '' | - the French translation of '' | ||
- the farm messages ('' | - the farm messages ('' | ||
- | - (when farmer wiki use URL rewriting and [[http:// | + | - (when farmer wiki use URL rewriting and [[config: |
Good night and congratulation for your work! --- //Floriang, 2010-03-03 00:30 :// | Good night and congratulation for your work! --- //Floriang, 2010-03-03 00:30 :// | ||
Line 289: | Line 309: | ||
> //Benat, 01/ | > //Benat, 01/ | ||
> | > | ||
- | > Setting up the farm by hand as explained [[http:// | + | > Setting up the farm by hand as explained [[tips: |
> | > | ||
> For some odd reason the install script fails at creating the " | > For some odd reason the install script fails at creating the " | ||
Line 354: | Line 374: | ||
Options -Indexes | Options -Indexes | ||
</ | </ | ||
+ | |||
+ | |||
+ | === Dokuwiki Admin is empty after the installation | ||
+ | |||
+ | Hi! I installed your plugin and now I cannot access the Admin-Area anymore. When I click on " |
plugin/farm.1302199547.txt.gz · Last modified: 2011-04-07 20:05 by 24.20.24.23