Content deleted Content added
+VisualEditor |
|||
(40 intermediate revisions by 24 users not shown) | |||
Line 2:
{{for|the toolbar that shows under the edit window and allows the insertion of various characters and symbols|Help:CharInsert}}
{{Wikipedia how-to|H:ETOOL}}
[[File:Wikipedia development environment screenshot.webp|thumb|Wikipedia development environment]]
In compatible browsers, an '''edit toolbar''' can be automatically displayed with the edit box, provided that this has been set in the [[Help:Preferences|preferences]]. It appears automatically for editors who are not logged in. This functions partly as a typing aid and partly as a reminder of the available functions. All the functions are available simply by typing the code directly into the edit box (such as <nowiki>[[link]]</nowiki>) – this may be easier.
The toolbar works with [[
In Mozilla browsers, IE, and Chrome, you can format existing text by highlighting the text you want to format and clicking the relevant button on the toolbar. If you click a button without selecting any text, sample text will be inserted at the cursor's position (like so: '''Bold text'''). In other browsers, clicking on the button presents an explanation for that feature. (Pre-release 9.0 versions of Opera browser also seem to support the advanced functionality.)
===Source editor===
If your toolbar looks like this:
[[File:WikiEditor-toolbar-en.png|center]]
Then you are using the [[Wikipedia:Source editor|source editor]].
===
If your toolbar looks like this:
[[File:VisualEditor
Then you are using the rich-text [[Wikipedia:VisualEditor|visual editor]].
== List of functions ==
{| class="wikitable"
|+ Source editor
! Icon !! Function !! What it shows when editing !! What it shows on the page
|-
| colspan="4" style="text-align: center;" |[[File:
|-
| [[File:
|<code><nowiki>'''Bold text'''</nowiki></code>
|'''Bold text'''
|-
| [[File:
|<code><nowiki>''Italic text''</nowiki></code>
|''Italic text''
|-
| [[File:
!Sign talk comments<br />(with time stamp)
|<code><nowiki>
|[[Special:Mypage|Username]] ([[Special:Mytalk|talk]]) {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} (UTC)
|-
| [[File:
|<code><nowiki>[[Link title]]</nowiki></code>
|[[Link title]]
|-
| [[File:
|<code><nowiki>[[File:Example.jpg|thumbnail]]</nowiki></code>
| [[File:Example.jpg|thumbnail]]
|-
| [[File:
| <code><nowiki>{{Example}}</nowiki></code>
| {{Example}}
|-
| [[File:OOjs UI icon reference.svg|center|link=]]
! Insert [[Help:Footnotes|Reference]]
| <code><nowiki><ref>Insert footnote text here</ref></nowiki></code>
| <ref>Insert footnote text here</ref>
|-
| [[File:
! Activate highlighting in wikitext
| [[File:OOjs UI icon highlight-progressive.svg|link=]] active
|{{Meta|Community Tech/Wikitext editor syntax highlighting|Wikitext editor syntax highlighting}}
{{MediaWiki|Extension:CodeMirror}}
|-
| colspan="2" | [[File:
! Open advanced menu
|
|-
| colspan="2" | [[File:OOjs_UI_icon_next-ltr.svg|10px|link=]] Special characters
! Open special characters menu
|
|-
| colspan="2" | [[File:OOjs_UI_icon_next-ltr.svg|10px|link=]] Help
! Open help menu
|
|-
| colspan="2" | [[File:
! Open cite toolbar menu
| See [[Wikipedia:RefToolbar/2.0]].
|-
|
! Change "Source editing" <br>to "Visual editing"
|
|
|}
{| class="wikitable"
|+ Advanced selections
! Icon !! Function !! What it shows when editing !! What it shows on the page
|-
| colspan="4" style="text-align: center;" |[[File:
|-
|[[File:
| [[Help:Section|Section heading]]
|<code><poem><nowiki>== Heading text ==
Line 168 ⟶ 107:
{{fake heading|sub=5|Heading text}}
|-
| [[File:
| [[Help:List|Bulleted list]]
| <code><nowiki>* Bulleted list item</nowiki></code>
Line 174 ⟶ 113:
* Bulleted list item
|-
| [[File:
| [[Help:List|Numbered list]]
| <code><nowiki># Numbered list item</nowiki></code>
Line 180 ⟶ 119:
# Numbered list item
|-
| [[File:
| [[Help:Nowiki|Nowiki]]: Ignore wiki formatting
| <code><nowiki><nowiki>Insert non-formatted text here</nowiki></nowiki></code>
| <nowiki>Insert non-formatted text here</nowiki>
|-
| [[File:
| [[Wikipedia:Line-break handling|Line break]]
| <code><nowiki><br /></nowiki></code>
| text before<br />abc
|-
| [[File:
| Big text
| <code><nowiki><big>Big text</big></nowiki></code>
| <big>Big text</big>
|-
| [[File:
| Small text
| <code><nowiki><small>Small text</small></nowiki></code>
| <small>Small text</small>
|-
| [[File:
| Superscript
| <code><nowiki><sup>Superscript text</sup></nowiki></code>
| <sup>Superscript text</sup>
|-
| [[File:
| Subscript
| <code><nowiki><sub>Subscript text</sub></nowiki></code>
| <sub>Subscript text</sub>
|-
| [[File:
| [[Help:Gallery tag|Picture gallery]]
| style="text-align: left;" | <code><poem><nowiki><gallery>
Line 221 ⟶ 159:
Example.jpg|Caption2
</gallery>
|-
| [[File:
| [[Help:Table|Table]]
| <code><poem><nowiki>{| class="wikitable" border="1"
Line 255 ⟶ 192:
| row 2, cell 3
|}
|-
| [[File:
| Automatically [[Wikipedia:Redirect|redirect]] to another page
| <code><nowiki>#REDIRECT [[Target page name]]</nowiki></code>
| <span class="plainlinks">[{{fullurl:Acidic|redirect=no}} Preview a redirect page]</span>
|}
{|class="wikitable" style="margin-top:0"
|-
| [[File:OOjs UI icon articleSearch-ltr.svg]]
|Search and Replace
|
* Search for strings of text and optionally replace them, progressing one at a time or replacing all occurrences at once.
* If the ''regular expressions'' check box is selected, then the targeted ''search'' term is interpreted as a symbolic "expression", called a "[[regular expression]]", which will act as a pattern to select targets for ''replacement''. Any amount of text can be matched by a regular expression. Languages that use this type of regular expression include [[Perl (programming language)|Perl]], [[Java (programming language)|Java]], [[JavaScript]], [[Python (programming language)|Python]], [[Ruby (programming language)|Ruby]], [[.NET Framework|.NET]], and [[XML Schema (W3C)|XML]].
* A list of the regular expressions accepted by this search and replace box [https://developer.mozilla.org/en-US/docs/JavaScript/Guide/Regular_Expressions?redirectlocale=en-US&redirectslug=Core_JavaScript_1.5_Guide%2FRegular_Expressions has been compiled for reference by the Mozilla Contributors.]
|}
Line 266 ⟶ 211:
{{Commons|MediaWiki edit toolbar}}
* [[Wikipedia:RefToolbar/2.0]]
* [[
{{Help navigation}}
|