Diff: Help/UpLoadPlugin

Note: You are viewing an old revision of this page. View the current version.

Differences between version 5 and previous revision of Help/UpLoadPlugin.

Other diffs: Previous Major Revision, Previous Author

Newer page: version 5 Last edited on 26 January 2012 16:34 by harold Revert
Older page: version 4 Last edited on 22 May 2014 3:01 by harold Revert
@@ -1,64 +1,41 @@
-The **~ UpLoad** [[ Help:WikiPlugin|plugin]] displays an editbox and two buttons.  
-* 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.  
-* The second "Upload" button actually uploads the given filename to the upload directory. 
+The UpLoad Help:WikiPlugin displays an editbox and two buttons.  
+The first button let's you choose the file to be uploaded at your local filesystem.  
+ The textvalue of this button is localised from your browser.  
+The second "Upload" button actually uploads the given filename to the upload directory. 
 This directory is not browsable, any file there may be accessed by using the "Upload~:" 
-[[ InterWikiMap]] prefix to the given filename. This way you can easily inline uploaded images. 
+InterWikiMap prefix to the given filename. This way you can easily inline uploaded images.  
+See PhpWiki:InlineUploadedImages  
  
-== Usage ==  
+! Usage:  
+<verbatim>  
+ <?plugin UpLoad ?>  
+</verbatim>  
  
-{{{  
-<<UpLoad arguments> >  
-}}}  
+!! Plugin Arguments:  
+__logfile__:  
+ local path. Default: "phpwiki-upload.log"  
+ The format is currently HTML - a new <tr > row per entry - and not log file syntax.  
+__autolink__:  
+ Add the uploaded filename to the list of uploaded files at the page.  
+ Default: true  
+__page__:  
+ The page where the uploaded files are publicly listed, if autolink is true.  
+ Default: current page.  
  
-== Arguments ==  
-  
-{| class="bordered"  
-|-  
- ! Argument  
-! Description  
-! Default value  
-|-  
-| **logfile**  
-| Local path. The format is currently HTML - a new {{{<tr>}}} row per entry - and not log file syntax.  
-| phpwiki-upload.log  
-|-  
-| **autolink**  
-| Add the uploaded filename to the list of uploaded files at the page.  
-| true  
-|-  
-| **page**  
-| The page where the uploaded files are publicly listed, if autolink is true.  
-| Current page  
-|-  
-| **size**  
-| Size of file input box.  
-| 50  
-|-  
-| **mode**  
-| 'actionpage' or 'edit'  
-| actionpage  
-|}  
-  
-== Notes ==  
+! Conflicts:  
  
 # The user must be authenticated to be able to upload. 
 # The filename may not end with certain disallowed extensions, to prevent from abuse. 
-# 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. 
+# 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. 
 # Already existing uploaded files are NOT overwritten. 
+# Certain internal php problems for Windows and MacOSX have been fixed with 1.3.9.  
  
-== Example ==  
+----  
  
-{{{  
-<< UpLoad>>  
-}}}  
+! Example:  
+<?plugin UpLoad ?
  
-<<UpLoad>>  
+-----  
  
-== See Also ==  
-  
-* [[PhpWiki:InlineUploadedImages]]  
-  
-<noinclude>  
-----  
-[[ PhpWikiDocumentation]] [[CategoryWikiPlugin]]  
-</noinclude>  
+PhpWikiDocumentation Help:WikiPlugin  

version 5

The UpLoad Help:WikiPlugin displays an editbox and two buttons. The first button let's you choose the file to be uploaded at your local filesystem. The textvalue of this button is localised from your browser. The second "Upload" button actually uploads the given filename to the upload directory. This directory is not browsable, any file there may be accessed by using the "Upload:" InterWikiMap prefix to the given filename. This way you can easily inline uploaded images. See PhpWiki:InlineUploadedImages

Usage:

     <?plugin UpLoad ?>

Plugin Arguments:

logfile
local path. Default: "phpwiki-upload.log" The format is currently HTML - a new <tr> row per entry - and not log file syntax.
autolink
Add the uploaded filename to the list of uploaded files at the page. Default: true
page
The page where the uploaded files are publicly listed, if autolink is true. Default: current page.

Conflicts:

  1. The user must be authenticated to be able to upload.
  2. The filename may not end with certain disallowed extensions, to prevent from abuse.
  3. 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.
  4. Already existing uploaded files are NOT overwritten.
  5. Certain internal php problems for Windows and MacOSX have been fixed with 1.3.9.

Example:


PhpWikiDocumentation Help:WikiPlugin