Wikinews:Water cooler/technical/archives/2017/May

Beta Feature Two Column Edit Conflict View
From May 9, the Two Column Edit Conflict View will be available as a beta feature on all wikis. The Two Column Edit Conflict View is a new interface for the edit conflict resolution page. It highlights differences between the editor's and the conflicting changes to make it easy to copy and paste pieces of the text and resolve the conflict. The feature fulfils a request for a more user-friendly edit conflict resolution from the German Community’s Technical Wishlist. Everyone is invited to test the feature and we hope that it will serve you well! Birgit Müller (WMDE) 14:29, 8 May 2017 (UTC)

Editing News #1—2017
Read this in another language • Subscription list for this multilingual newsletter

 Did you know?

Did you know that you can review your changes visually?

When you are finished editing the page, type your edit summary and then choose "". In visual mode, you will see additions, removals, new links, and formatting highlighted. Other changes, such as changing the size of an image, are described in notes on the side.



Click the toggle button to switch between visual and wikitext diffs.



The wikitext diff is the same diff tool that is used in the wikitext editors and in the page history. You can read and help translate the user guide, which has more information about how to use the visual editor.

Since the last newsletter, the VisualEditor Team has spent most of their time supporting the 2017 wikitext editor mode which is available inside the visual editor as a Beta Feature, and adding the new visual diff tool. Their workboard is available in Phabricator. You can find links to the work finished each week at mw:VisualEditor/Weekly triage meetings. Their current priorities are fixing bugs, supporting the 2017 wikitext editor as a beta feature, and improving the visual diff tool.

Recent changes

 * A new wikitext editing mode is available as a Beta Feature on desktop devices. The 2017 wikitext editor has the same toolbar as the visual editor and can use the citoid service and other modern tools.  Go to Special:Preferences to enable the.
 * A new visual diff tool is available in VisualEditor's visual mode. You can toggle between wikitext and visual diffs.  More features will be added to this later.  In the future, this tool may be integrated into other MediaWiki components.
 * The team have added multi-column support for lists of footnotes. The  block can automatically display long lists of references in columns on wide screens.  This makes footnotes easier to read.  You can request multi-column support for your wiki.
 * You can now use your web browser's function to switch typing direction in the new wikitext mode. This is particularly helpful for RTL language users like Urdu or Hebrew who have to write JavaScript or CSS. You can use Command+Shift+X or Control+Shift+X to trigger this.
 * The way to switch between the visual editing mode and the wikitext editing mode is now consistent. There is a drop-down menu that shows the two options. This is now the same in desktop and mobile web editing, and inside things that embed editing, such as Flow.
 * The item has been moved to the top of the  menu (from clicking on the "hamburger" icon) for quicker access.  There is also now a "Templates used on this page" feature there.
 * You can now create   tags (sometimes used as  ) for chemical formulas inside the visual editor.
 * Tables can be set as collapsed or un-collapsed.
 * The menu now includes characters for Canadian Aboriginal Syllabics and angle quotation marks (‹› and ⟨⟩) .  The team thanks the volunteer developer, Tpt.
 * A bug caused some section edit conflicts to blank the rest of the page. This has been fixed.  The team are sorry for the disruption.
 * There is a new keyboard shortcut for citations:  + +  on a PC, or  + +  on a Mac.  It is based on the keyboard shortcut for making links, which is  +  or  +  respectively.

Future changes

 * The team is working on a syntax highlighting tool. It will highlight matching pairs of   tags and other types of wikitext syntax.  You will be able to turn it on and off.  It will first become available in VisualEditor's built-in wikitext mode, maybe late in 2017.
 * The kind of button used to, , and finish an edit will change in all WMF-supported wikitext editors. The new buttons will use OOjs UI.  The buttons will be larger, brighter, and easier to read.  The labels will remain the same.  You can test the new button by editing a page and adding   to the end of the URL, like this:  https://www.mediawiki.org/wiki/Project:Sandbox?action=edit&ooui=1  The old appearance will no longer be possible, even with local CSS changes.
 * The outdated 2006 wikitext editor will be removed later this year. It is used by approximately 0.03% of active editors.  See a list of editing tools on mediawiki.org if you are uncertain which one you use.
 * If you aren't reading this in your preferred language, then please help us with translations! Subscribe to the Translators mailing list or contact us directly, so that we can notify you when the next issue is ready.

—Elitre (WMF) 18:05, 12 May 2017 (UTC)

RevisionSlider
RevisionSlider will be available as a default feature for all users on all wikis from May 17. The RevisionSlider adds a slider view to the diff page so that you can easily move between revisions. The slider view is collapsed by default, and will load by clicking on it. It can also be turned off entirely in the user preferences. RevisionSlider has been a default feature on German, Arabic and Hebrew Wikipedia for 6 months and a beta feature on all wikis for 8 months. The feature fulfills a wish from the German Community’s Technical Wishlist. Thanks to everyone who tested RevisionSlider and gave valuable feedback to improve the feature! We hope that RevisionSlider will continue to serve you well in your work. Birgit Müller (WMDE) 14:39, 16 May 2017 (UTC)