PmWiki /

Uploads

Rollspelssystem

Basic Roleplaying

Harnmaster

RuneQuest

Star Wars

T10-systemet

True20

The Master Series

Rollspelsmiljöer

Forgotten Realms

Grönland

Harn World

Hyboria

In Umbra Gigantis Morentis

Korsvägen

Western

Kampanjer

Övrigt

Rollspels hjälpmedel

Om RollspelsWiki

Uploads

authors (intermediate)

Note: PmWiki is distributed with uploads disabled by default. See Uploads Admin for information about how to enable and configure the upload feature.

Attach: Syntax

PmWiki can be configured to allow authors to upload and attach files to pages. Each Wiki Group can have its own collection of named attachments that are shared among all pages in the group. To add or link to an attachment, an author edits a page to include the markup “Attach:” followed by a name of an attachment (e.g., “Attach:resume.pdf”). When the page is displayed, the Attach: markup becomes one of the following:

  • A link to the named attachment
  • A link to a form whereby the author can specify a file to be uploaded and used as the new attachment
  • An image
    • If the attachment is an image file such as a .gif or .jpeg -
    • Image files can be shown as links rather than as images by using the link format, i.e.: [[Attach:myphoto.jpg]])

To have a link to an attachment appear without the “Attach:” at the beginning of the link, use [[(Attach:)file.ext]].

To link to attachments on another page or WikiGroup, use Attach:PageName/file.ext or Attach:Group.PageName/file.ext

Upload Form

One can go directly to the upload form by appending “?action=upload” to the URI for any page that has file uploads enabled by the Wiki Administrator.

Type and Size Restrictions

For security reasons, the upload feature is disabled when PmWiki is first installed; once enabled, uploads are generally restricted as to the types and sizes of files that may be uploaded to the server (see Uploads Admin). PmWiki’s default configuration limits file sizes to 50 kilobytes and file extensions to common types such as “.gif”, “.jpg”, “.doc”, “.txt”, and “.pdf”. In addition, the administrator can configure the system to require an upload password—see Passwords and PasswordsAdmin.

By default the upload allows the following extensions:

   'gif','jpg','jpeg','png','bmp','ico','wbmp',          # images
   'mp3','au','wav',                                     # audio
   'mpg','mpeg','wmf','mov','qt','avi',                  # video
   'zip','gz','tgz','tar','rpm','hqx',                   # archives
   'doc','ppt','xls','exe','mdb',                        # MSOffice
   'pdf','psd','ps','ai','eps',                          # Adobe
   'htm','html','fla','swf',                             # web stuff
   'txt','rtf','exe','tex','dvi',''                      # misc

Removal

At present uploaded files can only be deleted from the server by the wiki administrator. Any uploads-authorized user may over-write an existing file by uploading another of the same name and extension to the same location.

« Text formatting rules | DocumentationIndex | Simple tables »

Sidan senast ändrad 2005-09-01 kl. 03:38

Denna webbplats och allt dess innehåll är upphovsrättsskyddat. © författarna 2005. Se vidare våra användarvillkor


Warning: fopen(wiki.d/.flock) [function.fopen]: failed to open stream: Åtkomst nekas in /home/userC/c0023400/public_html/rollspelswiki.rollspelshornan.se/pmwiki.php on line 348

PmWiki can't process your request

Cannot acquire lockfile

We are sorry for any inconvenience.