version=pmwiki-2.1.11 ordered=1 urlencoded=1 agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 author= csum= ctime=1138174350 host=221.184.44.195 name=PmWikiJa.アップロード rev=6 targets=PmWiki.PmWiki,PmWikiJa.UploadsAdmin,PmWikiJa.WikiGroup,PmWikiJa.Images,PmWikiJa.WikiGroups,PmWikiJa.WikiAdministrator,PmWikiJa.Passwords,PmWikiJa.PasswordsAdmin,PmWikiJa.ドキュメント目次 text=%25audience%25 authors (intermediate)%0a%0a''Note: [[PmWiki]] is distributed with uploads disabled by default. See [[Uploads Admin]] for information about how to enable and configure the upload feature.''%0a%0a補足: [[PmWiki]]は標準ではアップロード機能を無効にしています。アップロード機能の有効化および設定用法については [[Uploads Admin]]を参照ください。%0a%0a!!![@Attach:@] Syntax%0a[[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:%0a%0a[[PmWiki]]は、著者によるページへのファイルのアップロードと添付の設定が可能となっています。各[[Wiki Group]]はグループ内の全ページ間で共通の添付ファイル名を持つことができます。 添付ファイルの追加やリンクには添付ファイル名の前に"@@Attache:@@"をつけます(例, "@@[=Attach:resume.pdf=]@@")。ページの表示の際には@@Attach:@@は次のいずれかになります。%0a%0a* A link to the named attachment%0a* A link to a form whereby the author can specify a file to be uploaded and used as the new attachment%0a* If the attachment is an image file such as .gif, .jpg, or .png, then it is displayed as an [[image(s)]].%0a%0a*ファイルへのリンク%0a*%0a*ファイルが.gif, .jpg, .pngのような画像ファイルの場合、その画像を表示します。%0a%0aTo prevent an image attachment from displaying as an image, place it in double brackets (e.g., [@[[Attach:image.jpg]]@]).%0a%0a添付画像を画像として表示したくない場合、二重括弧でくくります(たとえば[@[[Attach:image.jpg]]@]のように)。%0a%0aTo have a link to an attachment appear without the "[@Attach:@]" at the beginning of the link, use [@[[(Attach:)file.ext]]@].%0a%0aリンクの始まりを"[@Attach:@]"でなく表示する添付へのリンクを持つためには、[@[[(Attach:)file.ext]]@]を使います。%0a%0a%0aTo link to attachments on another page or [[WikiGroup(s)]], use [@Attach:PageName/file.ext@] or [@Attach:Group.PageName/file.ext@]. %0a%0a別のページか[[WikiGroup(s)]]の添付へリンクするには、[@Attach:PageName/file.ext@] か [@Attach:Group.PageName/file.ext@]を使ってください。%0a%0aTo link to an uploaded image from another group, you need to refer to a page within another group, not just the group itself. Thus, [@Attach:Group.SomePage/image_name.ext@]. Note, you must use the PageName, but that there is no requirement that the page actually exist.%0a%0a!!!Listing All Files For A Page%0aTo list all files that have been uploaded to the current page, enter the markup:%0a[@(:attachlist:)@]%0a%0aThis will list all files, file size and a link to download the file on the page.%0a%0a!!!Upload Form / Upload Replacement%0aOne 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]]. Replace a file by simply uploading a new version of the file with the same name. Be sure to clear your browser cache after replacing an upload. Otherwise, it may appear that the original upload is still on the server.%0a%0a[[Wiki Administrator]] によってファイルアップロードは許可されている場合、どのページでも URI に "?action=upload" を追加することにより、アップロードフォームに直接、行くことができます。同じ名前の新しい版のファイルを単に、アップロードすることにより、ファイルを置き換えます。必ずアップロードを置き換えた後に、あなたのブラウザーキャッシュをクリアするようにしてください。さもないと、最初のアップロードがまだサーバーにあるように見えるかもしれません。%0a%0a!!!Type and Size Restrictions%0aFor 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 UploadsAdmin). 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]].%0a%0aセキュリティの理由で、アップロード機能は、PmWiki が最初にインストールされた時は無効になっています。一旦、可能にされれば、アップロードは、サーバーにアップロードされるかもしれないファイルのタイプおよびサイズに関して一般に制限されます(UploadsAdmin を見て下さい)。PmWiki のデフォルト構成は、ファイルサイズを50キロバイトとし、ファイル拡張子を".gif"、".jpg"、".doc"、".txt"および、".pdf"のような一般のタイプに制限します。さらに、管理者は、@@upload@@ パスワードが必要となるようにシステムを構成することができます -- [[Passwords]] と [[PasswordsAdmin]] を見て下さい。%0a%0aBy default the upload allows the following extensions:%0a %0a [@'gif','jpg','jpeg','png','bmp','ico','wbmp', # images%0a 'mp3','au','wav', # audio%0a 'mpg','mpeg','wmf','mov','qt','avi', # video%0a 'zip','gz','tgz','tar','rpm','hqx', # archives%0a 'doc','ppt','xls','exe','mdb', # MSOffice%0a 'pdf','psd','ps','ai','eps', # Adobe%0a 'htm','html','fla','swf', # web stuff%0a 'txt','rtf','exe','tex','dvi','' # misc@]%0a%0a!!!Removal%0aAt 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.%0a%0a現在、アップロードされたファイルは、[[wiki administrator]] によってサーバーから削除されることができるだけです。どんなアップロードを認可されたユーザも、同じ場所に同じ名前と拡張子の別のもののアップロードにより既存のファイルを上書きしてもよいです。%0a%0a%25trail%25%3c%3c|[[ドキュメント目次]]|>> time=1152776241