Difference between revisions of "Help:Contents"

From DurhamtechWiki
Jump to navigationJump to search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
===Links and URLs===
+
== What is a Wiki? ==
{| border="1" cellpadding="2" cellspacing="0"
 
|- style="width=100%"
 
! What it looks like
 
! What you type
 
|- valign="top"
 
|
 
London has [[public transport]].
 
  
* A link to another Wikipedia article.
+
=== The original description of a Wiki is: ===
* 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]] en.wikipedia.org/wiki/Public_transport, which is the Wikipedia article with the name "Public transport". See also [[Wikipedia:Canonicalization]].
 
|
 
<pre><nowiki>
 
London has [[public transport]].
 
</nowiki></pre>
 
|- valign="top"
 
|
 
San Francisco also has
 
[[public transport|
 
public transportation]].
 
  
* Same target, different name.
+
''The simplest online database that could possibly work.''
* This is a [[piped link]].
 
* The "piped" text must be placed '''first''', then the text that will be displayed second.
 
|
 
<pre><nowiki>
 
San Francisco also has
 
[[public transport|
 
public transportation]].
 
</nowiki></pre>
 
|- valign="top"
 
|
 
San Francisco also has
 
[[public transport]]ation.
 
  
Examples include [[bus]]es, [[taxi]]s
+
Wiki is a piece of server software that allows users to freely create and edit Web page content using any Web browser. Wiki supports hyperlinks and has a simple text syntax for creating new pages and crosslinks between internal pages on the fly.
and [[streetcar]]s.
 
  
* Endings are blended into the link.
+
Wiki is unusual among group communication mechanisms in that it allows the organization of contributions to be edited in addition to the content itself.
* Preferred style is to use this instead of a piped link, if possible.
 
* Blending can be suppressed by using <nowiki><nowiki></nowiki></nowiki> tags, which may be desirable in some instances.  Example: a [[micro]]<nowiki>second</nowiki>.
 
|
 
<pre><nowiki>
 
San Francisco also has
 
[[public transport]]ation.
 
  
Examples include [[bus]]es,
 
[[taxi]]s, and [[streetcar]]s.
 
  
[[micro]]<nowiki>second</nowiki>
+
=== How do I use it? ===
</nowiki></pre>
 
|- valign="top"
 
|
 
See the [[Wikipedia:Manual of Style]].
 
  
* A link to another [[Help:namespace|namespace]].
+
* [http://en.wikipedia.org/wiki/Wikipedia:How_to_edit_a_page How to edit a Wiki (from Wikipedia)]
|
 
<pre><nowiki>
 
See the
 
[[Wikipedia:Manual of Style]].
 
</nowiki></pre>
 
|- id="link-to-section" valign="top"
 
|
 
[[Wikipedia:Manual of Style#Italics]] is a link to a section within another page.
 
 
 
[[#Links and URLs]] is a link to another section on the current page.
 
 
 
[[#example]] is a link to an anchor that was created using <div id="example">an id attribute</div>
 
 
 
* The part after the number sign (#) must match a section heading on the page. Matches must be exact in terms of spelling, case, and punctuation.  Links to non-existent sections are not broken; they are treated as links to the top of the page.
 
* Identifiers may be created by attaching an <code>id="..."></code> attribute to almost any HTML element. This doesn't work with legacy browsers.
 
* Include "| Link title" to create a stylish link-title.
 
 
 
|
 
<pre><nowiki>
 
[[Wikipedia:Manual of Style#Italics]]
 
is a link to a section within another
 
page.
 
 
 
[[#Links and URLs]] is a link
 
to another section on the
 
current page.
 
 
 
[[#example]] is a link to an
 
anchor that was created
 
using
 
<div id="example">an id
 
attribute
 
</div>
 
</nowiki></pre>
 
|- valign="top"
 
|
 
Automatically hide stuff in parentheses:
 
[[kingdom (biology)|kingdom]].
 
 
 
Automatically hide namespace:
 
[[Wikipedia:Village Pump|Village Pump]].
 
 
 
Or both:
 
[[Wikipedia:Manual of Style (headings)|Manual of Style]]
 
 
 
But not:
 
[[Wikipedia:Manual of Style#Links|]]
 
 
 
* The server fills in the part after the pipe character (|) when you save the page. The next time you open the edit box you will see the expanded piped link. When [[Wikipedia:Show preview|preview]]ing your edits, you will not see the expanded form until you press '''Save''' and '''Edit''' again. The same applies to links to sections within the same page ([[#link-to-section|see previous entry]]).
 
|
 
<pre><nowiki>
 
Automatically hide stuff
 
in parentheses:
 
[[kingdom (biology)|]].
 
 
 
Automatically hide namespace:
 
[[Wikipedia:Village Pump|]].
 
 
 
Or both:
 
[[Wikipedia:
 
Manual of Style (headings)|]]
 
 
 
But not:
 
[[Wikipedia:
 
Manual of Style#Links|]]
 
</nowiki></pre>
 
 
 
See [[Wikipedia:Pipe trick]] for details.
 
|- valign="top"
 
|
 
<!-- A village pump proposal was made so that users would be allowed to create the article shown here. Pages here would be articles requested for a long time. If you find someone has created the article, please look in requested articles and put one in its place -->
 
[[Nondivisibility of labor]] is a page
 
that does not exist yet.
 
 
 
* You can create it by clicking on the link.
 
* To create a new page:
 
*# Create a link to it on some other (related) page.
 
*# Save that page.
 
*# Click on the link you just made. The new page will open for editing.
 
* For more information, see [[Wikipedia:How to start a page|How to start a page]] and check out Wikipedia's [[Wikipedia:Naming conventions|naming conventions]].
 
* Please do not create a new article without linking to it from at least one other article.
 
|
 
<pre><nowiki>
 
[[Gunchei]]
 
is a page
 
that does not exist yet.
 
</nowiki></pre>
 
|- valign="top"
 
|
 
[[Wikipedia:How to edit a page]]
 
is this page.
 
 
 
* [[Self link]]s 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 [[Wikipedia:Manual of Style#Article titles|Manual of Style]].
 
|
 
<pre><nowiki>
 
[[Wikipedia:
 
How to edit a page]]
 
is this page.
 
</nowiki></pre>
 
|- valign="top"
 
|
 
When adding a comment to a Talk page,
 
you should sign it by adding
 
three tildes to add your user name:
 
: [[User:Brockert|Ben Brockert]]
 
or four to add user name plus date/time:
 
: [[User:Brockert|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 [[Wikipedia:user page|user page]].
 
|
 
<pre><nowiki>
 
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:
 
: ~~~~~
 
</nowiki></pre>
 
|- valign="top"
 
|
 
* [[Wikipedia:Redirect|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 "[[USA]]").
 
* Note that, while it is possible to link to a section, it is not possible to redirect to a section. For example, "<nowiki>#REDIRECT [[United States#History]]</nowiki>" will redirect to the [[United States]] page, but not to any particular section on it. This feature may be implemented in the future - see [[MediaZilla:218|feature request 218]] (it appears as a bug).
 
|
 
<pre><nowiki>
 
#REDIRECT [[United States]]
 
</nowiki></pre>
 
|- valign="top"
 
|
 
 
 
* Link to a page on the same subject in another language by using a link of the form: <nowiki>[[language code:Title]]</nowiki>.
 
* 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.
 
* Please see [[Wikipedia:Interlanguage links]] and the [[Wikipedia:Complete list of language wikis available|list of languages and codes]].
 
|
 
<pre><nowiki>
 
[[fr:Wikipédia:Aide]]
 
</nowiki></pre>
 
|- valign="top"
 
|
 
'''What links here''' and '''Related changes'''
 
pages can be linked as:
 
[[Special:Whatlinkshere/Wikipedia:How to edit a page]]
 
and
 
[[Special:Recentchangeslinked/Wikipedia:How to edit a page]]
 
 
 
|
 
<pre><nowiki>
 
'''What links here''' and
 
'''Related changes'''
 
pages can be linked as:
 
[[Special:Whatlinkshere/
 
Wikipedia:How to edit a page]]
 
and
 
[[Special:Recentchangeslinked/
 
Wikipedia:How to edit a page]]
 
</nowiki></pre>
 
|- valign="top"
 
|
 
A user's '''Contributions''' page can be linked as:
 
[[Special:Contributions/UserName]]
 
or
 
[[Special:Contributions/192.0.2.0]]
 
|
 
<pre><nowiki>
 
A user's '''Contributions''' page
 
can be linked as:
 
[[Special:Contributions/UserName]]
 
or
 
[[Special:Contributions/192.0.2.0]]
 
</nowiki></pre>
 
|- valign="top"
 
|
 
* 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.
 
|
 
<pre><nowiki>
 
[[Category:Character sets]]
 
</nowiki></pre>
 
|- valign="top"
 
|
 
* To ''link'' to a [[Wikipedia:Category]] page without putting the article into the category, use an initial colon (:) in the link.
 
|
 
<pre><nowiki>
 
[[:Category:Character sets]]
 
</nowiki></pre>
 
|- id="link-external" valign="top"
 
|
 
Three ways to link to external (non-wiki) sources:
 
# Bare URL: http://www.nupedia.com/ (bad style)
 
# Unnamed link: [http://www.nupedia.com/] (only used within article body for footnotes)
 
# Named link: [http://www.nupedia.com Nupedia]
 
 
 
:See [[MetaWikiPedia:Interwiki_map]] for the list of shortcuts.
 
 
 
* Square brackets indicate an external link. Note the use of a ''space'' (not a pipe) to separate the URL from the link text in the "named" version.
 
* In the [[URL]], all symbols must be among:<br/>'''A-Z a-z 0-9 . _ \ / ~ % - + &amp; # ? ! = ( ) @'''
 
* If a URL contains a character not in this list, it should be encoded by using a percent sign (%) followed by the [[hexadecimal|hex]] code of the character, which can be found in the table of [[ASCII#ASCII printable characters|ASCII printable characters]]. For example, the caret character (^) would be encoded in a URL as '''%5E'''.
 
* If the "named" version contains a closing square bracket "]", then you must use the [[HTML]] special character syntax, i.e. '''&amp;#93;''' otherwise the [[MediaWiki]] software will prematurely interpret this as the end of the external link.
 
* There is a class that can be used to remove the arrow image from the external link. It is used in [[Template:Ref]] to stop the URL from expanding during printing. It should '''never''' be used in the main body of an article. However, there is an exception: wikilinks in Image markup. An example of the markup is as follows:
 
** Markup: <nowiki><span
 
class="plainlinksneverexpand">
 
[http://www.sysinternals.com/
 
ntw2k/freeware/winobj.shtml WinObj]</span></nowiki>
 
** Display: <span class="plainlinksneverexpand"> [http://www.sysinternals.com/ntw2k/freeware/winobj.shtml WinObj]</span>
 
* See [[Wikipedia:External links]] for style issues.
 
|
 
<pre><nowiki>
 
Three ways to link to
 
external (non-wiki) sources:
 
# Bare URL:
 
http://www.nupedia.com/
 
(bad style)
 
# Unnamed link:
 
[http://www.nupedia.com/]
 
(only used within article
 
body for footnotes)
 
# Named link:
 
[http://www.nupedia.com Nupedia]
 
</nowiki></pre>
 
|- valign="top"
 
|
 
Linking to other wikis:
 
# [[Interwiki]] link: [[Wiktionary:Hello]]
 
# Interwiki link without prefix: [[Wiktionary:Hello|Hello]]
 
# Named interwiki link: [[Wiktionary:Hello|Wiktionary definition of 'Hello']]
 
 
 
* All of these forms lead to the URL http://en.wiktionary.org/wiki/Hello
 
* Note that interwiki links use the ''internal'' link style.
 
* See [[MetaWikiPedia:Interwiki_map]] for the list of shortcuts; if the site you want to link to is not on the list, use an external link ([[#link-external|see above]]).
 
* See also [[Wikipedia:How to link to Wikimedia projects]].
 
 
 
Linking to another language's wiktionary:
 
# [[Wiktionary:fr:bonjour]]
 
# [[Wiktionary:fr:bonjour|bonjour]]
 
# [[Wiktionary:fr:bonjour|fr:bonjour]]
 
 
 
* All of these forms lead to the URL http://fr.wiktionary.org/wiki/bonjour
 
|
 
<pre><nowiki>
 
Linking to other wikis:
 
# [[Interwiki]] link:
 
[[Wiktionary:Hello]]
 
# Interwiki link without prefix:
 
[[Wiktionary:Hello|]]
 
# Named interwiki link:
 
[[Wiktionary:Hello|
 
Wiktionary definition
 
of 'Hello']]
 
 
 
Linking to another
 
language's wiktionary:
 
# [[Wiktionary:fr:bonjour]]
 
# [[Wiktionary:fr:bonjour|bonjour]]
 
# [[Wiktionary:fr:bonjour|]]
 
</nowiki></pre>
 
|- valign="top"
 
|
 
ISBN 012345678X
 
 
 
ISBN 0-12-345678-X
 
 
 
* Link to books using their [[Wikipedia:ISBN|ISBN]]. This is preferred to linking to a specific online bookstore, because it gives the reader a choice of vendors. However, if one bookstore or online service provides additional free information, such as table of contents or excerpts from the text, then a link to that source will aid the user and is recommended.
 
* ISBN links do not need any extra markup, provided you use one of the indicated formats.
 
|
 
<pre><nowiki>
 
ISBN 012345678X
 
 
 
ISBN 0-12-345678-X
 
</nowiki></pre>
 
|- valign="top"
 
|
 
Text mentioning RFC 4321 anywhere
 
 
 
* Link to [[Internet Engineering Task Force]] [[RFC]]s.
 
|
 
<pre><nowiki>
 
Text mentioning RFC 4321
 
anywhere
 
</nowiki></pre>
 
 
 
|- valign=top
 
|
 
Date formats:
 
# [[July 20]], [[1969]]
 
# [[20 July]] [[1969]]
 
# [[1969]]-[[07-20]]
 
# [[1969-07-20]]
 
 
 
* Link dates in one of the above formats, so that everyone can set their own display order. If [[Special:Userlogin|logged in]], you can use [[Special:Preferences]] to change your own date display setting.
 
* All of the above dates will appear as "[[20 July|20 July]] [[1969|1969]]" if you set your date display preference to "15 January 2001", but as "[[20 July|July 20]], [[1969|1969]]" if you set it to "January 15, 2001", or as "[[1969|1969]]-[[July 20|07-20]]" if you set it to "2001-01-15".
 
|
 
<pre><nowiki>
 
Date formats:
 
# [[July 20]], [[1969]]
 
# [[20 July]] [[1969]]
 
# [[1969]]-[[07-20]]
 
# [[1969-07-20]]
 
 
 
</nowiki></pre>
 
|- valign="top"
 
|
 
Special [[WP:AO]] links like [[As of 2006|this year]]
 
needing future maintenance
 
|
 
<pre><nowiki>
 
Special [[WP:AO]] links
 
like [[As of 2006|this year]]
 
needing future maintenance
 
</nowiki></pre>
 
|- valign="top"
 
|
 
[[media:Sg_mrob.ogg|Sound]]
 
 
 
*To include links to non-image uploads such as sounds, use a "media" link. For images, [[#Images|see next section]].
 
 
 
Some uploaded sounds are listed at [[Wikipedia:Sound]].
 
|
 
<pre><nowiki>
 
[[media:Sg_mrob.ogg|Sound]]
 
</nowiki></pre>
 
|}
 

Latest revision as of 16:07, 23 August 2006

What is a Wiki?

The original description of a Wiki is:

The simplest online database that could possibly work.

Wiki is a piece of server software that allows users to freely create and edit Web page content using any Web browser. Wiki supports hyperlinks and has a simple text syntax for creating new pages and crosslinks between internal pages on the fly.

Wiki is unusual among group communication mechanisms in that it allows the organization of contributions to be edited in addition to the content itself.


How do I use it?