How to edit a page
From Emergent
Contents |
How to Create and Edit Wiki Pages
- http://meta.wikimedia.org/wiki/Help:Editing -- A nice table with examples. Check it out!
- You may practice your wiki skills in the SandBox.
- Click here to install the Wikipedia toolbar for firefox, which adds nice context menus for any MediaWiki wiki with all the syntax you might want to use.
- Click here to learn about using Emacs or another external text editor to edit wiki articles.
Links and URLs
External links can be rendered in three ways:
- As raw URLs: http://ccnlab.colorado.edu
- With a label: CCN Lab --
[http://ccnlab.colorado.edu CCN Lab]-- note the single square brackets and the space between the URL and the label - As an automatically labelled serial number: [1] --
[http://ccnlab.colorado.edu]
A wikilink or internal link links a page to another page within the same project. These links are in the form [[page name|link name]], where the link name is optional. For example, [[Main Page]] becomes Main Page, and [[Main Page|index]] becomes index. Links with parameters (the link name) are said to be "piped" because of the pipe symbol used ('|'). Note the double square brackets.
MediaWiki automatically checks if the target of a wikilink exists. If the page doesn't exist, the link leads to the editing screen, and it is assigned the class "new". Such wikilinks are nicknamed "red links" because they are colored red in the default stylesheet on a default installation of MediaWiki. Red links are useful in determining the current status of the page (created or not created), create incoming links to a future page, facilitates and incites page creation.
An interwiki link links a page to a page on another website. Unlike the name suggests, the target site need not be a wiki, but it has to be on the interwiki map specified for the source wiki. These are in the same form as wikilinks above, but take a prefix which specifies the target site. For example, on Wikimedia projects and many other wikis [[wikipedia:Main Page]] links to Wikipedia's main page.
The prefix can be hidden using the same piped syntax as wikilinks.
Links in the form [[#anchor_name]] will link to any anchor named "anchor_name" on the page. This may be either a heading named "anchor_name", or an arbitrary position. For more information, see
http://meta.wikimedia.org/wiki/Help:Link#Section_linking and
http://meta.wikimedia.org/wiki/Help:Section#Section_linking
PDF uploads
To upload a pdf, first make sure the file name on your local disk has the '.pdf' suffix. Then click on the 'Upload file' link in the right-hand toolbox menu. A new page will open with fields for the file name, etc. Follow the instructions there. After you upload the file it will be stored in an internal repository within the wiki. You don't have to know where exactly that is.
You must put a link to the newly uploaded file onto at least one wiki page.
(Otherwise it's just taking up space in the repository.)
Use this template to embed the link into your page:
{{pdf|<filename>.pdf}}
Or even better:
- Upload the file (you don't have to care where the wiki puts it)
- Enter the filename, e.g. HummelHolyoak03.pdf
- Highlight it
- Press the pdf button
of the editing_toolbar!
Embed Images
Embedding is very similar to including a pdf link:
- Upload the file (you don't have to care where the wiki puts it)
- Enter the filename, e.g. cnbfsi.png
- Highlight it
- Press the "embedded image"-button Image:button image.png of the editing_toolbar!
Syntax:
[[Image:File_name.jpg]] or
[[Image:File_name.png|Alt text]]
Tables
The full power of HTML table is possible! But the syntax is obtuse :( Standard HTML table markup also works.
- See ???? for an example.
- See http://meta.wikimedia.org/wiki/Help:Table for detailed documentation and lots of examples.
More Help
This page is still under construction. Please contribute.
You may practice your wiki skills in the SandBox.
In the meantime, refer to the following external links:
- http://meta.wikimedia.org/wiki/Help:Editing -- A nice table with examples
- http://meta.wikimedia.org/wiki/Help:Help -- MediaWiki help portal
- http://meta.wikimedia.org/wiki/Help:Editor -- MediaWiki editor handbook
- http://meta.wikimedia.org/wiki/Help:Link -- Basic link syntax
