VisualEditor/Diffs/nl

Sinds 2017, geeft  (visueel de verschillen weergeven). Deze zijn in de interface op twee plekken beschikbaar:bij het voorvertonen van de wijzigingen in het document voor het opslaan, en als een (beta-functie) binnen de standaard MediaWiki weergave van de verschillen, dat is via de pagina geschiedenis. In beide gevallen, de visuele verschillen worden naast de traditionele twee kolomweergave van wikitext verschillen getoond, de gebruiker kan dan wisselen tussen de twee weergaven.

'Visual diffs' heeft twee voordelen ten opzicht van 'wikitext diffs'. Ten eerste kunnen bewerkers direct de wijzigingen zien die ze doen (of anderen eerder gedaan hebben) zonder kennis van wikitext. This is particularly helpful when looking at changes to graphical structures such as tables; for example, if an edit deletes a column from a table, the wikitext diff for it would be hard to understand, while the visual diff would be immediately obvious.

The second is that the technology can be used to more accurately represent the change to the reader. For example, if an edit swapped two paragraphs (with or without changes to the paragraphs), the visual diff will identify that this is what occurred, while a wikitext diff makes it appear that a paragraph was deleted and an entirely new paragraph was added.



Op reguliere verschil pagina's
Most of the examples and screenshots below are about using visual diffs during page previews when editing. However, VisualEditor's visual diffs can also be used on regular diff pages, on any wiki that has VisualEditor installed. You can see an example of it in use on the English-language Wikipedia here.

For wikis that have VisualEditor, there are several ways to activate this visual diff display:


 * Voeg aan LocalSettings.php toe:
 * If your wiki has a "Beta features" tab within Special:Preferences, and you want to make visual diffs an "opt-in" feature for users, you can add the following to LocalSettings.php:
 * As seen in the Wikipedia example linked above, the visual diff mode can also be activated by simply adding "&visualdiff" to the URL of a diff page.



Hoe het werkt
[[File:VisualEditor_visual_diff_tool_-_visual_diff.png|alt= Screenshot showing some changes to an article. Most changes are highlighted with text formatting. |left|thumb|300px| 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. ]]





Voorbeelden


Gebruikte techniek



 * Google Diff, Match and Patch
 * TreeDiffer.js



Bekende beperkingen

 * Geen meldingen voor wijzigingen naar "onzichtbaar", zoals categorieën of TOC sleutelwoorden.
 * Heeft problemen met complexe wijzigingen van tabellen.
 * Niet beschikbaar op bepaalde Speciale pagina's:
 * "Verschil" pagina's ongedaan maken.
 * Pagina's met een conflict bewerken

Geschiedenis
This feature has been available as the first diff tool in the desktop VisualEditor from the 1.31.0-wmf-20 branch onwards (released to Wikimedia production on 6 February 2018). Before that, it was a secondary tool from the 1.29.0-wmf-17 branch onwards (released to Wikimedia production on 21 March 2017).



Zie ook

 * 2016 Community Wishlist Survey/Categories/Reading#CW2016-R094
 * Community Tech/Improved diffs