Personal tools
Share This Page
Facebook
del.icio.us
StumbleUpon

Thanks to the COM352 students for contributing a bunch of new pages! I'll be moving these pages into the main area of the wiki soon.

Help:How to edit a page

From UMassWiki

Jump to: navigation, search

UMassWiki is a WikiWiki, which means that anyone can easily edit any unprotected article and have those changes posted immediately to that page.

Editing a Wiki page is very easy. Simply click on the "edit this page" tab at the top (or the edit link on the right or bottom) of a Wiki page. This will bring you to a page with a text box containing the editable text of that page. If you just want to experiment, please do so in the sandbox; not here. You should write a short edit summary in the small field below the edit-box. You may use shorthand to describe your changes; when you have finished, click the preview button to see how your changes will look. You can also see what changes you have made in comparison to the previous version by pressing the show changes button. If you're happy with what you see, then press "Save" and your changes will be immediately applied to the article. Don't "sign" edits you make to regular articles (the software keeps track of who makes every change).

You can also click on the "Discussion" tab to see the corresponding talk page, which contains comments about the page from other UMassWiki users. Click on the "+" tab to add a new section, or edit the page in the same way as an article page. When editing talk pages, please sign your change using four tilde characters in a row: ~~~~ -- the software will automatically sign your username and the date and time.

Contents

[edit] Important Don'ts

  • DON'T put spaces in your wikilinks [[ like this ]]. This is BAD for reasons involving namespaces and subpages. It might work some of the time, but it's a very bad habit so please don't ever start!

[edit] Neutral point of view

Use a neutral point of view, as UMassWiki is not a place to promote points of view. Write as if the information is a non-judgmental news article.

[edit] Minor edits

When editing a page, a logged-in user can mark that edit as being "minor". Minor edits generally mean spelling corrections, formatting, and minor rearrangement of text. It is possible to hide minor edits when viewing Recent Changes. Marking a significant change as a minor edit is considered bad behavior, and even more so if it involves the deletion of some text. If one has accidentally marked an edit as minor, the person should edit the source once more, mark it major (or, rather, ensure that the check-box for "This is a minor edit" is not checked), and, in the summary, state that the previous change was a major one.

[edit] Wiki markup

The wiki markup is the syntax system you can use to format a UMassWiki page.

In the left column of the table below, you can see what effects are possible. In the right column, you can see how those effects were achieved. In other words, to make text look like it looks in the left column, type it in the format you see in the right column.

You may want to keep this page open in a separate browser window for reference, or take a screen-shot of it. If you want to try out things without danger of doing any harm, you can do so in the Sandbox. Try opening the Sandbox in a separate window or tab and keeping this page open for reference.


What it looks like What you type

Start your sections as follows:

New section

Subsection

Sub-subsection

  • Start with a second-level heading (==); don't use first-level headings (=).
  • Don't skip levels (for example, second-level followed by fourth-level).
  • A Table of Contents will automatically be added to an article that has four or more sections.
  • If appropriate, place subsections in an appropriate order. If listing countries, place them in alphabetical order rather than, say, relative to population of OECD countries, or some random order.
== New section ==

=== Subsection ===

==== Sub-subsection ====

===== Sub-sub-subsection =====

A single newline generally has no effect on the layout. These can be used to separate sentences within a paragraph. Some editors find that this aids editing and improves the function diff (used internally to compare different versions of a page).

But an empty line starts a new paragraph.

  • When used in a list, a newline does affect the layout (see below).
A single [[newline]]
generally has no effect on the layout. 
These can be used to separate
sentences within a paragraph.
Some editors find that this aids editing
and improves the function ''diff'' 
(used internally to compare
different versions of a page).

But an empty line
starts a new paragraph.
  • It's easy to create a list:
    • Start every line with a star (asterisk).
      • More stars means deeper levels.
        • A newline in a list

marks the end of a list item.

  • An empty line starts a new list.
* It's easy to create a list:
** Start every line with a star.
*** More stars means deeper levels.
**** A newline in a list
marks the end of a list item.

* An empty line starts a new list.
  1. Numbered lists are also good
    1. very organized
    2. easy to follow
      1. easier still
# Numbered lists are also good
## very organized
## easy to follow
### easier still
A colon indents a line or paragraph.

A manual newline starts a new paragraph.

  • This is primarily for displayed material, but is also used for discussion on Talk pages.
: A colon indents a line or paragraph.
A manual newline starts a new paragraph.
Centered text.
  • Please note the American spelling of "center."
<center>Centered text.</center>

A horizontal dividing line: this is above it


and this is below it.

A [[horizontal dividing line]]:
this is above it
----
and this is below it.

[edit] Links and URLs

What it looks like What you type

UMass is home to the W.E.B. DuBois Library.

  • A link to another UMassWiki article.
  • Internally, the first letter of the target page is automatically capitalized and spaces are represented as underscores (typing an underscore in the link has the same effect as typing a space, but is not recommended).
  • Thus the link above is to the URL www.umasswiki.com/Public_transport, which is the UMassWiki article with the name "W.E.B. DuBois Library". See also Wikipedia:Canonicalization.
UMass is home to the [[W.E.B. DuBois Library]].

The library is the tallest in the world.

  • Same target, different name.
  • This is a "piped link."
  • The actual link must be placed first, the text that will be displayed, second.
The [[W.E.B. DuBois Library|library]] is the tallest in the world.

San Francisco has public transportation.

Examples include buses, taxis, and streetcars.

  • Endings are blended into the link.
  • Preferred style is to use this instead of a piped link, if possible.
San Francisco has
[[public transport]]ation.

Examples include [[bus]]es, [[taxi]]s,
and [[streetcar]]s.

The weather in London is a page that does not exist yet.

  • You can create it by clicking on the link (but please do not do so with this particular link).
  • To create a new page:
    1. Create a link to it on some other (related) page.
    2. Save that page.
    3. Click on the link you just made. The new page will open for editing.
  • For more information, see How to start a page and check out Wikipedia's naming conventions.
  • Please do not create a new article without linking to it from at least one other article.
[[The weather in London]] is a page 
that does not exist yet.

Wikipedia:How to edit a page is this page.

  • Self links appear as bold text when the article is viewed.
  • Do not use this technique to make the article name bold in the first paragraph; see the Manual of Style.
[[Wikipedia:How to edit a page]] is this page.

When adding a comment to a Talk page, you should sign it by adding three tildes to add your user name:

Ben Brockert

or four to add user name plus date/time:

Ben Brockert 00:18, Nov 19, 2004 (UTC)

Five tildes gives the date/time alone:

00:18, Nov 19, 2004 (UTC)
  • The first two both provide a link to your user page.
When adding a comment to a Talk page,
you should sign it by adding
three tildes to add your user name:
: ~~~
or four for user name plus date/time:
: ~~~~
Five tildes gives the date/time alone:
: ~~~~~
  • Redirect one article title to another by placing a directive like the one shown to the right on the first line of the article (such as at a page titled "UN").
  • Note that, while it is possible to link to a section, it is not possible to redirect to a section. For example, "#REDIRECT [[United Nations#International_Years]]" will redirect to the United Nations page, but not to any particular section on it. This feature will not be implemented in the future, so such redirects should not be used.
#REDIRECT [[United Nations]]
  • To put an article in a Wikipedia:Category, place a link like the one to the right anywhere in the article. As with interlanguage links, it does not matter where you put these links while editing as they will always show up in the same place when you save the page, but placement at the end of the edit box is recommended.
[[Category:Character sets]]
  • To link to a Wikipedia:Category page without putting the article into the category, use an initial colon (:) in the link.
[[:Category:Character sets]]

[edit] Images

Only images that have been uploaded to UMassWiki can be used. To upload images, use the upload page. You can find the uploaded image on the image list.

What it looks like What you type
A picture:

Image:wiki.png

A picture: 
[[Image:wiki.png]]


With alternative text:

jigsaw globe

With alternative text:
[[Image:wiki.png|jigsaw globe]]
  • Alternative text, used when a mouse hovers over the image or when the image is not loaded in a text-only browser, or when spoken aloud, is strongly encouraged. See Alternate text for images for help on choosing it.


Floating to the right side of the page and with a caption:
Wikipedia Encyclopedia
Wikipedia Encyclopedia

Floating to the right side of the page and with a caption:
[[Image:wiki.png|frame|Wikipedia Encyclopedia]]
  • The frame tag automatically floats the image right.
  • The caption is also used as alternate text.
  • to cancel a float at a certain text point, see Forcing a break,


Floating to the right side of the page without a caption:
Wikipedia Encyclopedia
Floating to the right side of the page ''without'' a caption:
[[Image:wiki.png|right|Wikipedia Encyclopedia]]


Linking directly to the description page of an image:

Image:wiki.png

Linking directly to the description page of an image:
[[:Image:wiki.png]]
  • Clicking on an image displayed on a page (such as any of the ones above) also leads to the description page
Linking directly to an image without displaying it:

Image of the jigsaw globe logo

Linking directly to an image without displaying it:
[[media:wiki.png|Image of the jigsaw globe logo]]
  • To include links to images shown as links instead of drawn on the page, use a "media" link.

For further help on images, including some more versatile abilities, see the topic on Extended image syntax.

[edit] Character formatting

What it looks like What you type

Emphasize, strongly, very strongly.

  • These are double, triple, and quintuple apostrophes (single-quote marks), not double-quote marks.
''Emphasize'', '''strongly''', '''''very strongly'''''.

Suppressing interpretation of markup:
Link → (''to'') the [[Wikipedia FAQ]]

  • Used to show literal data that would otherwise have special meaning.
  • Escape all wiki markup, including that which looks like HTML tags.
  • Does not escape HTML character references.
  • To escape HTML character references such as &rarr; use &amp;rarr;


<nowiki>Link &rarr; (''to'') 
the [[Wikipedia FAQ]]</nowiki>

Commenting page source:
not shown when viewing page

  • Used to leave comments in a page for future editors.
  • Note that most comments should go on the appropriate Talk page.


<!-- comment here -->

(see also: Chess symbols in Unicode)

[edit] Table of Contents

At the current status of the wiki markup language, having at least four headers on a page triggers the TOC to appear in front of the first header (or after introductory sections). Putting __TOC__ anywhere forces the TOC to appear at that point (instead of just before the first header). Putting __NOTOC__ anywhere forces the TOC to disappear. See also compact TOC for alphabet and year headings.

[edit] Tables

There are two ways to build tables:

  • in special Wiki-markup (see Help:Table)
  • with the usual HTML elements: <table>, <tr>, <td> or <th>.

For the latter, and a discussion on when tables are appropriate, see Wikipedia:How to use tables.

[edit] Variables

(See also Help:Variable)

Code Effect
{{CURRENTMONTH}} 08
{{CURRENTMONTHNAME}} August
{{CURRENTMONTHNAMEGEN}} August
{{CURRENTDAY}} 28
{{CURRENTDAYNAME}} Thursday
{{CURRENTYEAR}} 2008
{{CURRENTTIME}} 13:37
{{NUMBEROFARTICLES}} 343
{{PAGENAME}} How to edit a page
{{NAMESPACE}} Help
{{REVISIONID}} 18279
{{localurl:pagename}} /wiki/Pagename
{{localurl:Wikipedia:Sandbox|action=edit}} http://en.wikipedia.org/wiki/Sandbox?action=edit
{{SERVER}} http://umasswiki.com
{{ns:1}} Talk
{{ns:2}} User
{{ns:3}} User_talk
{{ns:4}} UMassWiki
{{ns:5}} UMassWiki_talk
{{ns:6}} Image
{{ns:7}} Image_talk
{{ns:8}} MediaWiki
{{ns:9}} MediaWiki_talk
{{ns:10}} Template
{{ns:11}} Template_talk
{{ns:12}} Help
{{ns:13}} Help_talk
{{ns:14}} Category
{{ns:15}} Category_talk
{{SITENAME}} UMassWiki

NUMBEROFARTICLES is the number of pages in the main namespace which contain a link and are not a redirect, in other words number of articles, stubs containing a link, and disambiguation pages.

CURRENTMONTHNAMEGEN is the genitive (possessive) grammatical form of the month name, as used in some languages; CURRENTMONTHNAME is the nominative (subject) form, as usually seen in English.

In languages where it makes a difference, you can use constructs like {{grammar:case|word}} to convert a word from the nominative case to some other case. For example, {{grammar:genitive|{{CURRENTMONTHNAME}}}} means the same as {{CURRENTMONTHNAMEGEN}}.

[edit] Templates

The MediaWiki software used by Wikipedia has support for templates. This means standardized text chunks (such as boilerplate text) can be inserted into articles. For example, typing {{stub}} will appear as "This article is a stub. You can help Wikipedia by expanding it." when the page is saved. See Wikipedia:Template messages for the complete list. Other commonly used templates are: {{disambig}} for disambiguation pages, {{spoiler}} for spoiler warnings and {{sectstub}} like an article stub but for a section. There are many subject-specific stubs for example: {{Geo-stub}}, {{Hist-stub}}, and {{Linux-stub}}. For a complete list of stubs see WP:WSS/ST.

Much of the text of this article has been copied from Wikipedia. This notice is provided in accordance with the requirements of the GFDL. As such, until it is rewritten, this article is released under the terms of the GFDL.
Academics
Student Life
Food
Recreation
Campus
Local
fb Was this article useful? Please spread the word and share on Facebook!
Site Sponsors
Your Ad Here
10¢/day - full time