Changes

Jump to: navigation, search

Help:Editing

49 bytes added, 06:20, 27 January 2011
no edit summary
{{hh}} {{handbook sidebar|Editor toc
== General ==
To edit a [[MediaWiki]] page, click on the "'''Edit this page'''" (or just "'''edit'''") link at one of its edges. This will bring you to a page with a text box containing the ''[[Wikitext]]'': the editable source code from which the server produces the webpage. For the special codes, see below.
You may find it more convenient to copy and paste the text first into your favorite [[En:text editor|text editor]], edit and spell check it there, and then paste it back into your [[En:web browser|web browser]] to preview. This way, you can also keep a local backup copy of the pages you have edited. It also allows you to make changes offline, but before you submit your changes, ''please make sure nobody else has edited the page'' since you saved your local copy (by checking the [[Help:Page history|page history]]), otherwise you may accidently revert someone else's edits. If someone ''has'' edited it since you copied the page, you'll have to merge their edits into your new version (you can find their specific edits by using the "[[Help:Diff|diff]]" feature of the page history). These issues are handled automatically by the Mediawiki software if you edit the page online, retrieving and submitting the wikicode in the same text box.
See also [[MediaWiki architecture]].
== Dummy edit ==
If the wikitext is not '''<u>NOT</u><u></u><u></u>''' changed no edit will be recorded and the edit summary is discarded.
A dummy edit is a change in wikitext that has no effect on the rendered page, such as changing the number of [[W:newline|newlines]] at some position from 0 to 1 or from 2 to 3 or conversely (changing from 1 to 2 makes a difference, see below). This allows an edit summary, and is useful for correcting a previous edit summary, or an accidental marking of a previous edit as "minor" (see below). Also it is sometimes needed to refresh the cache of some item in the database, see e.g. [[Help:Category#A_category_tag_in_a_template.3B_caching_problem|A category tag in a template; caching problem]].
== Minor edits ==
When to use this is somewhat a matter of personal preference. The rule of thumb is that edits consisting of spelling corrections, formatting, and minor rearranging of text should be flagged as a "minor edit". A major edit is basically something that makes the entry worth revisiting for somebody who wants to watch the article rather closely. So any "real" change, even if it is a single word, should be flagged as a "major edit".
The reason for not allowing a user who is not logged in to mark an edit as minor is that vandalism could then be marked as a minor edit, in which case it would stay unnoticed longer. This limitation is another reason to log in.
== The wiki markup ==
{| cellspacing="0" cellpadding="2" border="1"
|-
! What it looks like
! What you type
|- valign="top"
Thus the [[Link]] above is to <nowiki>http://meta.wikipedia.org/wiki/Video_policy</nowiki>, which is the page with the name "Video policy".
| <pre>Sue is reading the [[video policy]].</pre>
|-
|
| <pre>Same target, different name:
[[User:Larry Sanger|answers]]</pre>
|- valign="top"
| Endings are blended into the link: [[Official position]]s, [[Gene]]s
| <pre>Endings are blended
into the link: [[official position]]s, [[gene]]s</pre>
|- valign="top"
|
Automatically hide stuff in parentheses: [[Kingdom (biology)|kingdom]].
Automatically hide namespace: [[Wikipedia:Village pump|Village pump]].
The server fills in the part after the &#124; 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.
| <pre>Automatically hide stuff in parentheses:
: ~~~
or four for user name plus date/time:
: ~~~~</pre>
|- valign="top"
| [[The weather in London]] is a page that doesn't exist yet.
| <pre>[[The weather in London]] is a page
that doesn't exist yet.</pre>
|- valign="top"
|
[[MediaWiki User's Guide: Using redirects|Redirect]] one article title to another by putting text like this in its first line.
| <pre>#REDIRECT [[United States]]</pre>
|- valign="top"
|
Wikipedia:How to edit a page]] and
[[Special:Recentchangeslinked/
Wikipedia:How to edit a page]]</pre>
|- valign="top"
| External links: [http://www.nupedia.com Nupedia], [http://www.nupedia.com]
| <pre>External links:
[http://www.nupedia.com Nupedia],
[http://www.nupedia.com]</pre>
|- valign="top"
| Or just give the URL: http://www.nupedia.com.
| <pre>Or just give the URL:
http://www.nupedia.com.</pre>
|-
|
To link to a bug in Mozilla's Bugzilla, use the <tt>bug</tt> template. {{bug|322603}}
| <pre>{{bug&#124;322603}}</pre>
|-
|
To link to books, you can use [[En:ISBN|ISBN]] links. ISBN 0123456789X See [[Help:ISBN links]]
| <pre>ISBN 0123456789X</pre>
|-
|
Link to [[W:Request for Comments|Request for Comments]]: RFC 123 (URL specified in [[MediaWiki:Rfcurl]])
| <pre>RFC 123</pre>
|-
|
To include links to non-image uploads such as sounds, use a "media" link. <br>[[Media:Sg_mrob.ogg|Sound]]
| <pre>[[media:Sg_mrob.ogg|Sound]]</pre>
|- valign="top"
| Use links for dates, so everyone can set their own display order. Use [[Special:Preferences]] to change your own date display setting.
| <pre>[[July 20]], [[1969]] , [[20 July]] [[1969]]
and [[1969]]-[[07-20]]
</pre>will all appear as [[20 July]] [[1969]] if you set your date display preference to 1 January 2001.
|}
=== HTML Tables ===
HTML tables can be quite useful as well. For details on how to use them and discussion about when they are appropriate, see [[Help:Table]].
==Templates==
Some part of a page may correspond in the edit box to just a reference to another page, in the form <nowiki>{{</nowiki>''name''<nowiki>}}</nowiki>, referring to the page "Template:''name''" (or if the name starts with a namespace prefix, it refers to the page with that name; if it starts with a colon it refers to the page in the main namespace with that name without the colon). This is called a [[helpHelp:templateTemplate|template]]. For changing that part of the page, edit that other page. Sometimes a separate edit link is provided for this purpose. A convenient way to put such a link in a template is with a template like [[mM:Template:ed]]. Note that the change also affects other pages which use the same template.
==Page protection==
In a few cases the link labeled "{{MediaWiki:Editthispage}}" is replaced by the text "{{MediaWiki:Protectedpage}}" (or equivalents in the language of the project). In that case the page can not be edited.
==Position-independent wikitext==
Wikitext for which the result does not depend on the position in the wikitext page:
*[[interlanguage Interlanguage link]]s (see also above) - the mutual order is preserved, but otherwise the positions within the page are immaterial *[[categoryCategory]] specification - ditto
*<nowiki>__NOTOC__, __FORCETOC__</nowiki>, see [[Help:Section]]
==Separating edits== When moving or copying a piece of text within a page or from another page, and also making other edits, it is useful to separate these edits. This way the [[Help:Diff|diff function]] can be usefully applied for checking these other edits.
==See When moving or copying a piece of text within a page or from another page, and also==making other edits, it is useful to separate these edits. This way the [[Help:Diff|diff function]] can be usefully applied for checking these other edits.
*[[Help:Automatic conversion of wikitext]]*[[Help:Calculation]]*[[Help:Editing toolbar]]*[[Help:Html in wikitext]]*[[Help:Administration#Page_protection| Protecting pages]]*[[Help:Starting a new page]]*[[Help:Variable]]*[[Parser testing]]*[[en:UseModWiki|UseModWiki]] and [[en:Wikipedia:PHP script|Wikipedia:PHP script]].*[[en:HTML tag|HTML tag]].== See also ==
*[[Help:Automatic conversion of wikitext]]
*[[Help:Calculation]]
*[[Help:Editing toolbar]]
*[[Help:Html in wikitext]]
*[[Help:Administration#Page_protection|Protecting pages]]
*[[Help:Starting a new page]]
*[[Help:Variable]]
*[[Parser testing]]
*[[En:UseModWiki|UseModWiki]] and [[En:Wikipedia:PHP script|Wikipedia:PHP script]].
*[[En:HTML tag|HTML tag]].
<br> {{hc|langs=[[bg:Уикипеди�?:Как �?е редактират �?траници|bg]], [[Da:Wikipedia:Hvordan redigerer jeg en side|da]], [[Help:Seite bearbeiten|de]], [[Es:C&oacute;mo se edita una p&aacute;gina|es]], [[Eo:Kiel redakti pagxon|eo]], [[Es:Wikipedia:C&oacute;mo se edita una p&aacute;gina|es]], [[Fr:Wikipédia:Comment modifier une page|fr]], [[Hu:Wikipédia:Hogyan szerkessz egy lapot|hu]], [[Ja:Wikipedia:&#32232;&#38598;&#12398;&#20181;&#26041; |ja]], [[Ro:Wikipedia:Cum s&#259; editezi o pagin&#259; |ro]], [[nds:Woans_Geiht_Dat_Schriewen|nds]], [[Sk:Wikipedia:Prehľad editácie stránok|sk]], [[Sl:Wikipedija:Urejevanje slovenskih strani|sl]], [[Sv:Wikipedia:Hur man redigerar en sida|sv]], [[Tr:Wikipedia:Sayfa_nas%C4%B1l_de%C4%9Fi%C5%9Ftirilir|tr]], [[vi:Help:Sửa đổi|vi]], [[sr:%D0%92%D0%B8%D0%BA%D0%B8%D0%BF%D0%B5%D0%B4%D0%B8%D1%98%D0%B0:%D0%9A%D0%B0%D0%BA%D0%BE_%D1%81%D0%B5_%D0%BC%D0%B5%D1%9A%D0%B0_%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B0|sr]], [[Zh:Wikipedia:%E5%A6%82%E4%BD%95%E7%BC%96%E8%BE%91%E9%A1%B5%E9%9D%A2 |zh]], [[Ru:&#1050;&#1072;&#1082; &#1088;&#1077;&#1076;&#1072;&#1082;&#1090;&#1080;&#1088;&#1086;&#1074;&#1072;&#1090;&#1100; &#1089;&#1090;&#1088;&#1072;&#1085;&#1080;&#1094;&#1091; |ru]]}}
1
edit

Navigation menu