~ubuntu-branches/ubuntu/natty/moin/natty-updates

« back to all changes in this revision

Viewing changes to wiki/underlay/pages/HelpOnPackageInstaller/revisions/00000001

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-06-22 21:17:13 UTC
  • mfrom: (0.9.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080622211713-fpo2zrq3s5dfecxg
Tags: 1.7.0-3
Simplify /etc/moin/wikilist format: "USER URL" (drop unneeded middle
CONFIG_DIR that was wrongly advertised as DATA_DIR).  Make
moin-mass-migrate handle both formats and warn about deprecation of
the old one.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
## Please edit system and help pages ONLY in the moinmaster wiki! For more
2
 
## information, please see MoinMaster:MoinPagesEditorGroup.
 
1
## Please edit system and help pages ONLY in the master wiki!
 
2
## For more information, please see MoinMoin:MoinDev/Translation.
3
3
##master-page:Unknown-Page
4
4
##master-date:Unknown-Date
5
 
#acl MoinPagesEditorGroup:read,write,delete,revert All:read
 
5
#acl -All:write Default
6
6
#format wiki
7
7
#language en
8
8
= Introduction =
9
9
Have you ever wondered why we have so many pages in the main distribution? Mostly because we do not have a format to deliver the help pages in one file. Or why installing a theme is not easy because you do not always know where to put the files? 
10
10
 
11
 
The package installer is a scripting framework for MoinMoin which simplifies installing and delivering extensions for MoinMoin very much. It has been already available since DesktopEdition 1.3.4 and MoinMoin 1.5.
 
11
The package installer is a scripting framework for MoinMoin which simplifies installing and delivering extensions for MoinMoin very much.
12
12
 
13
 
You could use this system to bundle specific templates which e.g. enhance your MoinMoin to be a CRM system. Or you could make your plugins/themes easier installable. Hopefully we will be able to separate the system pages depending on their languages and just offer the languages you like.
 
13
You could use this system to bundle specific templates which e.g. enhance your MoinMoin to be a CRM system. Or you could make your plugins/themes easier installable.
14
14
 
15
15
== Installing a package ==
16
16
Some ''superuser'' (i.e. a user name contained in cfg.superuser list in the configuration) of the wiki will download your package file from somewhere, upload it to the wiki and then click install in the attached files view. Additionally, he could install the package using the command line (`MoinMoin/packages.py i package.zip`).
17
17
 
18
18
== Creating packages ==
19
 
There are multiple possibilities to create a package. You can use the [:HelpOnActions/PackagePages:PackagePages] action in order to build a package automatically.
 
19
There are multiple possibilities to create a package. You can use the !PackagePages action in order to build a package automatically.
20
20
 
21
21
Or you can do it manually: you ''create'' a zip file which contains your files and a special file `MOIN_PACKAGE`, the installation script. The script contains one command (sounds complicated but is not really, look at the examples below) per line and gets executed from top to bottom.
22
22
 
73
73
 * `InstallPackage|Pagename|Filename`
74
74
  * Installs another package which has to be an attachment called ''Filename'' of the page ''Pagename''.
75
75
  * Example: `InstallPackage|FrontPage|MyCoolPlugin.zip`
 
76
 * `AddAttachment|filename in zip file|filename|pagename|author|comment`
 
77
  * Example: `AddAttachment|2_attachment|song.wav|FrontPage|HansMustermann|thats an example song.`
 
78
 * `DelAttachment|filename|pagename|author|comment`
 
79
  * Example: `DelAttachment|song.wav|FrontPage|HansMustermann|testing`
 
80
 * `RenamePage|pagename|new pagename|author|comment`
 
81
  * Renames a pagename to a new pagename