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

« back to all changes in this revision

Viewing changes to wiki/underlay/pages/HelpOnConfiguration(2f)FileAttachments/revisions/00000001

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge
  • Date: 2010-03-30 12:55:34 UTC
  • mfrom: (0.1.17 sid)
  • Revision ID: james.westby@ubuntu.com-20100330125534-4c2ufc1rok24447l
Tags: 1.9.2-2ubuntu1
* Merge from Debian testing (LP: #521834). Based on work by Stefan Ebner.
  Remaining changes:
 - Remove python-xml from Suggests field, the package isn't anymore in
   sys.path.
 - Demote fckeditor from Recommends to Suggests; the code was previously
   embedded in moin, but it was also disabled, so there's no reason for us
   to pull this in by default currently. Note: This isn't necessary anymore
   but needs a MIR for fckeditor, so postpone dropping this change until
   lucid+1
* debian/rules:
  - Replace hardcoded python2.5 with python* and hardcore python2.6 for ln
* debian/control.in: drop versioned depends on cdbs

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
## Please edit system and help pages ONLY in the master wiki!
2
 
## For more information, please see MoinMoin:MoinDev/Translation.
3
 
##master-page:Unknown-Page
4
 
##master-date:Unknown-Date
5
 
#acl -All:write Default
6
 
#format wiki
7
 
#language en
8
 
 
9
 
The [[HelpOnActions/AttachFile|AttachFile action]] enables a page to have multiple attached files. Since file uploads could be abused for DoS (Denial of Service) attacks, `AttachFile` is an action that may be disabled by the wiki administrator (by adding `actions_excluded = ['AttachFile']` to wikiconfig).
10
 
 
11
 
This is all you usually need to do for configuration.
12
 
 
13
 
= How attachments are handled =
14
 
 
15
 
Attachments are stored "privately" in the `data/pages/` directory (with paths like `data/pages/<pagename>/attachments/<filename>`) and can only be retrieved by using the Attach''''''File action (via URLs like `http://example.org/mywiki/<SomePage>?action=AttachFile&do=get&target=filename.ext`).
16
 
 
17
 
/!\ The `direct serving method` (deprecated since long) was finally removed in moin 1.7.0. If you have used it until now (`attachments = {...}`), please copy your attachments into your data directory (and make sure they arrive at the right location there).