]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - pgsrc/Help%2FUpLoadPlugin
Add InterWikiMap to SpecialPages
[SourceForge/phpwiki.git] / pgsrc / Help%2FUpLoadPlugin
1 Date: Fri,  7 Jan 2011 17:32:57 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1)
3 X-Rcs-Id: $Id$
4 Content-Type: application/x-phpwiki;
5   pagename=Help%2FUpLoadPlugin;
6   flags=PAGE_LOCKED%2CEXTERNAL_PAGE;
7   markup=2;
8   charset=UTF-8
9 Content-Transfer-Encoding: binary
10
11 The **~UpLoad** [[Help:WikiPlugin|plugin]] displays an editbox and two buttons.
12 * The first button lets you choose the file to be uploaded at your local filesystem. The textvalue of this button is localised from your browser.
13 * The second "Upload" button actually uploads the given filename to the upload directory.
14 This directory is not browsable, any file there may be accessed by using the "Upload~:"
15 [[InterWikiMap]] prefix to the given filename. This way you can easily inline uploaded images.
16
17 == Usage ==
18
19 {{{
20 <<UpLoad arguments>>
21 }}}
22
23 == Arguments ==
24
25 {| class="bordered"
26 |-
27 ! Argument
28 ! Description
29 ! Default value
30 |-
31 | **logfile**
32 | Local path. The format is currently HTML - a new {{{<tr>}}} row per entry - and not log file syntax.
33 | phpwiki-upload.log
34 |-
35 | **autolink**
36 | Add the uploaded filename to the list of uploaded files at the page.
37 | true
38 |-
39 | **page**
40 | The page where the uploaded files are publicly listed, if autolink is true.
41 | Current page
42 |-
43 | **size**
44 | Size of file input box.
45 | 50
46 |-
47 | **mode**
48 | 'actionpage' or 'edit'
49 | actionpage
50 |}
51
52 == Notes ==
53
54 # The user must be authenticated to be able to upload.
55 # The filename may not end with certain disallowed extensions, to prevent from abuse.
56 # MAX_FILE_SITE is configured by the config.ini option MAX_UPLOAD_SIZE, which defaults to 16MB. Your webserver and PHP may add another limit.
57 # Already existing uploaded files are NOT overwritten.
58
59 == Example ==
60
61 {{{
62 <<UpLoad>>
63 }}}
64
65 <<UpLoad>>
66
67 == See Also ==
68
69 * [[PhpWiki:InlineUploadedImages]]
70
71 <noinclude>
72 ----
73 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
74 </noinclude>