FileUploadInformation

From WeBWorK_wiki
Revision as of 10:39, 15 December 2011 by Glarose (talk | contribs) (Created page with 'Main PREP Page > File Upload Info == Uploading and Using Files in the Wiki == === Uploading Files === To upload a file to the Wiki, we can either upload the file…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Main PREP Page > File Upload Info

Uploading and Using Files in the Wiki

Uploading Files

To upload a file to the Wiki, we can either upload the file and then create a link to it, or create a link that will allow the upload of the file. The latter is probably the preferred way to do this, and is described in the "Links to Uploaded Files" section below.

To upload files without using a created file link, click the "Upload file" link in the "toolbox" at the very bottom of the left sidebar in a wiki page. This allows selection of the file from your hard disk or networked drive, and specification of a file name for the uploaded file. The latter is discussed in the following section.

Naming Conventions

To avoid file name collisions, here is a proposed file naming convention: we name the files as they would normally be named (that is, set definition files are all setSetName.def), but with the extension _model_course_name before the filename extension. Thus:

  • Set definition files: the set definition file setTopic01.def for the College Algebra model course would be named setTopic01_model_college_algebra.def.
  • Set header files: the set header file setHeaderTopic01.pg for the Linear Algebra model course would be named setHeaderTopic01_model_linear_algebra.pg.

Links to Uploaded Files

To link to a file that has been or will be uploaded to the wiki, we use the wiki markup [[File:name_of_file|link to file]]. Thus, if we want to link to the set header file for topic 01 for the model linear algebra course, we would include the wiki markup [[File:setHeaderTopic01_model_linear_algebra.pg]].