VisualEditor/Single edit tab

From MediaWiki.org
Jump to: navigation, search

Other languages:
български • ‎বাংলা • ‎Deutsch • ‎English • ‎español • ‎français • ‎magyar • ‎Հայերեն • ‎italiano • ‎日本語 • ‎Nederlands • ‎polski • ‎پښتو • ‎سنڌي • ‎中文

Edit tab in MediaWiki one button.png

Edit tab in MediaWiki two buttons.png

How many Edit tabs do you want?
It's your choice.

The single edit tab project simplifies the user interface for most editors by giving them only one edit tab, rather than the current two. Clicking on the Edit tab will open the editing system that the contributor prefers.

The visual editor is a rich-text editor that is used to edit Wikipedia and other sites. Since 2013, these editing systems have been accessed by displaying two edit tabs on each Wikipedia article or other wiki page. With the single edit tab enabled, it is possible to use either the visual editor or the wikitext editor to change most pages.

Requirements[edit]

You must have access to the visual editor to see the four options listed below or to set your preferences for one of them. You will not see these options if any of the following are true:

  • You have disabled access to the visual editor in your account's preferences.
  • You are using the mobile website.
  • Your current computer or web browser does not support the visual editor (for example, because JavaScript is disabled).
  • You are logged out while editing a wiki that does not give IP ("anonymous") editors direct access to the visual editor (this includes the English Wikipedia, Meta, and most non-Wikipedia sister projects).

Choosing your preferences[edit]

If you are logged in to your account, and if you have access to the visual editor, you will be asked to set your preferences the next time you edit. You will see this dialog box:

Make your choice the next time you edit.
Change your settings at any time, in Special:Preferences#mw-prefsection-editing.

You can set or change these preferences at any time, by going to Special:Preferences#mw-prefsection-editing and choosing the option you want from the dropdown menu.

The available options will be:

  • Remember my last editor
  • Always give me the visual editor if possible
  • Always give me the source editor
  • Show me both editor tabs

What it will look like if you're logged in[edit]

Logged-in editors can choose whether they want one or two edit tabs, and if they choose to have one, what clicking on that tab will do.

You choose the appearance for your account
Do you want this? Or this?
Single edit tab – Goes where you want! Two edit tabs – Choose each time!
Edit tab in MediaWiki one button.png Edit tab in MediaWiki two buttons.png
Section editing in MediaWiki one button.png Section editing in MediaWiki two buttons.png
Choose one of the following:
  • Remember my last editor
  • Always give me the visual editor if possible
  • Always give me the source editor 
Then choose:
  • Show me both editor tabs

What it will look like if you're logged out[edit]

Logged-out editors (also called "IP editors") will always see one Edit tab at the top of the page: Edit tab in MediaWiki one button.png

For section editing, they will always see one Edit button: Section editing in MediaWiki one button.png

On some wikis, logged-out editors will start in the visual editor, unless they have switched. At other wikis, logged-out editors will start in the wikitext editor, unless they have switched. The system will remember if editors switch to the other editing system (until cookies are cleared). For future edits, the Edit tab will lead to whichever editing system the logged-out editor used last.

If logged-out editors at that wiki begin in the visual editor, then the Welcome screen will offer them the immediate option to switch to the wikitext editor.

Single edit tab popup for anons.png

They can also switch to the wikitext editor after opening the page in the visual editor, by clicking the [[ ]] icon in the toolbar.

If logged-out editors at that wiki begin in the wikitext editor, then they will not see a Welcome screen or have an opportunity to choose the visual editor first. Instead, the wikitext editor will open. Editors may have an option to switch to the visual editor after starting in the wikitext editor, by clicking the pencil icon in the corner of the wikitext toolbar.

How to use both[edit]

Screenshot of the upper corner of the wikitext editing window
Most editors will be able to switch to the visual editor using the pencil icon in the upper corner of the wikitext editing window.

All editors have access to the wikitext editor, and all users of the visual editor can click the [[ ]] button in the toolbar to switch to wikitext at any time.

If you have access to the visual editor, then you can switch between the visual and wikitext editors without saving and exiting first. This is convenient if you want to use the other editing system for a change that is easier in the other editor, such as deleting a column from a table (easier in the visual editor) or changing the name of a template (easier in the wikitext editor).

See Help:VisualEditor/User guide#Switching between the visual and wikitext editorsHelp:VisualEditor/User guide#Switching between the visual and wikitext editors for more information.

See also[edit]