1
edit
No edit summary |
|||
Line 281: | Line 281: | ||
Summarizing the effect of a single newline: no effect in general, but it ends a list item or indented part; thus changing some text into a list item, or indenting it, is more cumbersome if it contains newlines, they have to be removed; see also [[w:Wikipedia:Don't use line breaks]]. | Summarizing the effect of a single newline: no effect in general, but it ends a list item or indented part; thus changing some text into a list item, or indenting it, is more cumbersome if it contains newlines, they have to be removed; see also [[w:Wikipedia:Don't use line breaks]]. | ||
<h3> Links, URLs </h3> | |||
<table border="1" cellpadding="2" cellspacing="0"> | <table border="1" cellpadding="2" cellspacing="0"> | ||
<tr> | <tr> | ||
Line 288: | Line 287: | ||
<th>What you type</th> | <th>What you type</th> | ||
</tr> | </tr> | ||
<tr valign="top"><td>Sue is reading the | <tr valign="top"><td>Sue is reading the <a _fcknotitle="true" href="Video policy">Video policy</a>. | ||
<ul><li>First letter of target is automatically capitalized. | |||
</li><li>Internally spaces are automatically represented as underscores (typing an underscore has the same effect as typing a space, but is not recommended). | |||
Thus the | </li></ul> | ||
<p>Thus the <a _fcknotitle="true" href="Link">Link</a> above is to <span class="fck_mw_nowiki" _fck_mw_customtag="true" _fck_mw_tagname="nowiki">http://meta.wikipedia.org/wiki/Video_policy</span>, which is the page with the name "Video policy". | |||
</p> | |||
</td> | </td> | ||
<td><pre | <td><pre>Sue is reading the [[video policy]].</pre> | ||
</td> | </td> | ||
</tr> | </tr> | ||
<tr><td> | <tr><td> | ||
Link to a section on a page, e.g. | <p>Link to a section on a page, e.g. | ||
<a _fcknotitle="true" href="List of cities by country#Morocco">List of cities by country#Morocco</a>; when section editing does not work the link is treated as link to the page, i.e. to the top; this applies for: | |||
</p> | |||
<ul><li>links to non-existent sections | |||
</li><li>links in redirects | |||
< | </li><li>interwiki links</td><td> | ||
</li></ul> | |||
<pre>[[List_of_cities_by_country#Morocco]].</pre></td> | |||
</tr> | </tr> | ||
<tr valign="top"><td>Link target and link label are different: | <tr valign="top"><td>Link target and link label are different: <a href="User:Larry Sanger">answers</a>. | ||
<p>(This is called a <a _fcknotitle="true" href="Piped link">Piped link</a>). | |||
(This is called a | </p> | ||
</td> | </td> | ||
<td><pre | <td><pre>Same target, different name: | ||
[[User:Larry Sanger|answers]] | [[User:Larry Sanger|answers]]</pre> | ||
</td> | </td> | ||
</tr> | </tr> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td>Endings are blended into the link: | <td>Endings are blended into the link: <a _fcknotitle="true" href="Official position">Official position</a>s, <a _fcknotitle="true" href="Gene">Gene</a>s</td> | ||
<td> | <td> | ||
<pre | <pre>Endings are blended | ||
into the link: [[official position]]s, [[gene]]s | into the link: [[official position]]s, [[gene]]s</pre> | ||
</td> | </td> | ||
</tr> | </tr> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td> | <td> | ||
Automatically hide stuff in parentheses: | <p>Automatically hide stuff in parentheses: <a href="Kingdom (biology)">kingdom</a>. | ||
<p>Automatically hide namespace: | </p> | ||
<p>Automatically hide namespace: <a href="Wikipedia:Village pump">Village pump</a>.</p> | |||
<p>The server fills in the part after the | when you save the page. Next time you open the edit box you will see the expanded piped link. A preview interprets the abbreviated form correctly, but does not expand it yet in the edit box. Press Save and again Edit, and you will see the expanded version. The same applies for the following feature.</p> | <p>The server fills in the part after the | when you save the page. Next time you open the edit box you will see the expanded piped link. A preview interprets the abbreviated form correctly, but does not expand it yet in the edit box. Press Save and again Edit, and you will see the expanded version. The same applies for the following feature.</p> | ||
</td> | </td> | ||
<td> | <td> | ||
<pre | <pre>Automatically hide stuff in parentheses: | ||
[[kingdom (biology)|]]. | [[kingdom (biology)|]]. </pre> | ||
<pre | <pre>Automatically hide namespace: | ||
[[Wikipedia:Village pump|]]. | [[Wikipedia:Village pump|]].</pre> | ||
</td></tr> | </td></tr> | ||
<tr> | <tr> | ||
<td>When adding a comment to a Talk page, | <td>When adding a comment to a Talk page, | ||
you should sign it. You can do this by | <p>you should sign it. You can do this by | ||
adding three tildes for your user name: | adding three tildes for your user name: | ||
</p> | |||
or four for user name plus date/time: | <dl><dd> <a href="User:Karl Wick">Karl Wick</a> | ||
</dd></dl> | |||
<p>or four for user name plus date/time: | |||
</p> | |||
<dl><dd> <a href="User:Karl Wick">Karl Wick</a> 08:10 Oct 5, 2002 (UTC) | |||
</dd></dl> | |||
</td> | </td> | ||
<td><pre | <td><pre>When adding a comment to a Talk page, | ||
you should sign it. You can do this by | you should sign it. You can do this by | ||
adding three tildes for your user name: | adding three tildes for your user name: | ||
: ~~~ | : ~~~ | ||
or four for user name plus date/time: | or four for user name plus date/time: | ||
: ~~~~ | : ~~~~</pre> | ||
</td> | </td> | ||
</tr> | </tr> | ||
<tr valign="top"><td> | <tr valign="top"><td><a _fcknotitle="true" href="The weather in London">The weather in London</a> is a page that doesn't exist yet. | ||
<ul><li>You can create it by clicking on the link. | |||
</li><li>To create a new page: | |||
<ol><li>Create a link to it on some other page. | |||
</li><li>Save that page. | |||
</li><li>Click on the link you just made. The new page will open for editing. | |||
</li></ol> | |||
</li><li>Have a look at <a href="MediaWiki User's Guide: Starting a new page">how to start a page</a> guide and the naming conventions page for your project. | |||
</li></ul> | |||
</td> | </td> | ||
<td><pre | <td><pre>[[The weather in London]] is a page | ||
that doesn't exist yet. | that doesn't exist yet.</pre> | ||
</td> | </td> | ||
</tr> | </tr> | ||
<tr valign="top"><td> | <tr valign="top"><td> | ||
<p><a href="MediaWiki User's Guide: Using redirects">Redirect</a> one article title to another by putting text like this in its first line. | |||
</p> | |||
</td> | </td> | ||
<td><pre | <td><pre>#REDIRECT [[United States]]</pre> | ||
</td> | </td> | ||
</tr> | </tr> | ||
<tr valign="top"><td> | <tr valign="top"><td> | ||
A link to the page on the same subject in another language or, more generally, to a page on another wiki: | <p>A link to the page on the same subject in another language or, more generally, to a page on another wiki: | ||
[[fr:Wikip�dia:Aide]]. | [[fr:Wikip�dia:Aide]]. | ||
For more info see | For more info see <a _fcknotitle="true" href="MediaWiki User's Guide: Interwiki linking">MediaWiki User's Guide: Interwiki linking</a>. | ||
</p> | |||
</td> | </td> | ||
<td><pre | <td><pre>[[fr:Wikip�dia:Aide]], [[:fr:Wikip�dia:Aide]]</pre></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>"What links here" and "Related changes" can be linked as:<br/> | <td>"What links here" and "Related changes" can be linked as:<br /> | ||
<p><a _fcknotitle="true" href="Special:Whatlinkshere/Wikipedia:How to edit a page">Special:Whatlinkshere/Wikipedia:How to edit a page</a> and | |||
<a _fcknotitle="true" href="Special:Recentchangeslinked/Wikipedia:How to edit a page">Special:Recentchangeslinked/Wikipedia:How to edit a page</a> | |||
</p> | |||
</td> | </td> | ||
<td><pre | <td><pre> | ||
[[Special:Whatlinkshere/ | [[Special:Whatlinkshere/ | ||
Wikipedia:How to edit a page]] and | Wikipedia:How to edit a page]] and | ||
[[Special:Recentchangeslinked/ | [[Special:Recentchangeslinked/ | ||
Wikipedia:How to edit a page]] | Wikipedia:How to edit a page]]</pre> | ||
</td> | </td> | ||
</tr> | </tr> | ||
<tr valign="top"><td>External links: | <tr valign="top"><td>External links: <a href="http://www.nupedia.com">Nupedia</a>, <a href="http://www.nupedia.com">[n]</a> | ||
</td> | </td> | ||
<td><pre | <td><pre>External links: | ||
[http://www.nupedia.com Nupedia], | [http://www.nupedia.com Nupedia], | ||
[http://www.nupedia.com] | [http://www.nupedia.com]</pre> | ||
</td> | </td> | ||
</tr> | </tr> | ||
<tr valign="top"><td>Or just give the URL: http://www.nupedia.com. | <tr valign="top"><td>Or just give the URL: http://www.nupedia.com. | ||
<ul><li>In the <a href="En:URL">URL</a> all symbols must be among: A-Z a-z 0-9 ._\/~%-+&#?!=()@ \x80-\xFF. If a URL contains a different character it should be converted; for example, ^ has to be written %5E (to be looked up in <a href="En:ASCII">ASCII</a>). A blank space can also be converted into an underscore. | |||
</li></ul> | |||
</td> | </td> | ||
<td><pre | <td><pre>Or just give the URL: | ||
http://www.nupedia.com. | http://www.nupedia.com.</pre> | ||
</td> | </td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td> | ||
To link to a bug in Mozilla's Bugzilla, use the <tt>bug</tt> template. | <p>To link to a bug in Mozilla's Bugzilla, use the <tt>bug</tt> template. | ||
{{bug|322603}} | <span class="fck_mw_template">{{bug|322603}}</span> | ||
</p> | |||
</td> | </td> | ||
<td> | <td> | ||
<pre | <pre>{{bug|322603}}</pre> | ||
</td> | </td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td> | ||
To link to books, you can use | <p>To link to books, you can use <a href="En:ISBN">ISBN</a> links. | ||
ISBN 0123456789X See | ISBN 0123456789X See <a _fcknotitle="true" href="Help:ISBN links">Help:ISBN links</a> | ||
</p> | |||
</td> | </td> | ||
<td> | <td> | ||
<pre | <pre>ISBN 0123456789X</pre> | ||
</td> | </td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td> | ||
Link to | <p>Link to <a href="W:Request for Comments">Request for Comments</a>: RFC 123 (URL specified in <a _fcknotitle="true" href="MediaWiki:Rfcurl">MediaWiki:Rfcurl</a>) | ||
</p> | |||
</td> | </td> | ||
<td> | <td> | ||
<pre | <pre>RFC 123</pre> | ||
</td> | </td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td> | ||
To include links to non-image uploads such as sounds, use a "media" link. | <p>To include links to non-image uploads such as sounds, use a "media" link. | ||
<br/> | <br /><a href="Sg_mrob.ogg" class="new" _fck_mw_filename="Sg_mrob.ogg" _fck_mw_type="media" title="Sg mrob.ogg">Sound</a> | ||
</p> | |||
</td> | </td> | ||
<td> | <td> | ||
<pre> | <pre> | ||
[[media:Sg_mrob.ogg|Sound]] | [[media:Sg_mrob.ogg|Sound]] | ||
</pre> | |||
</td> | </td> | ||
</tr> | </tr> | ||
<tr valign=top> | <tr valign="top"> | ||
<td>Use links for dates, so everyone can set their own display order. Use | <td>Use links for dates, so everyone can set their own display order. Use <a _fcknotitle="true" href="Special:Preferences">Special:Preferences</a> to change your own date display setting. | ||
</td> | </td> | ||
<td><pre | <td><pre>[[July 20]], [[1969]] , [[20 July]] [[1969]] | ||
and [[1969]]-[[07-20]] | and [[1969]]-[[07-20]] | ||
</pre>will all appear as <a _fcknotitle="true" href="20 July">20 July</a> <a _fcknotitle="true" href="1969">1969</a> if you set your date display preference to 1 January 2001. | |||
</td> | </td> | ||
</tr> | </tr> |
edit