Diff: Help/UpLoadPlugin

Differences between version 5 and predecessor to the previous major change of Help/UpLoadPlugin.

Other diffs: Previous Revision, Previous Author

Newer page: version 5 Last edited on October 14, 2015 11:47 am by PhilHollenback Revert
Older page: version 4 Last edited on February 23, 2012 2:52 pm by PhilHollenback Revert
@@ -1,8 +1,8 @@
 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.  
-This directory is not browsable, any file there may be accessed by using the " Upload~:"  
+* The first button lets you choose the file to be uploaded at your local filesystem. The text value 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. 
  
 == Usage == 
  
@@ -28,12 +28,8 @@
 |- 
 | **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 
@@ -42,9 +38,9 @@
 == Notes == 
  
 # 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_SIZE 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. 
  
 == Example == 
  
@@ -54,11 +50,9 @@
  
 <<UpLoad>> 
  
 == See Also == 
-  
-* [[PhpWiki:InlineUploadedImages]]  
  
 <noinclude> 
 ---- 
 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]] 
 </noinclude> 

version 5

The UpLoad plugin displays an editbox and two buttons.

  • The first button lets you choose the file to be uploaded at your local filesystem. The text value 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.

Usage

<<UpLoad arguments>>

Arguments

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

mode

'actionpage' or 'edit'

actionpage

Notes

  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_SIZE 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.

Example

<<UpLoad>>

See Also



Our Founder
ToolboxClick to hide/show