User:Evad37/TextDiff

{{infobox user script

| name = TextDiff

| desc = Provides a simpler, textual diff

| author = Evad37

| updated = See {{History|User:Evad37/TextDiff.js|history}}

| status = Alpha

| source = {{flatlist|

}}

| mainsource = User:Evad37/rater.js

| skins = {{plainlist|1=

  • {{y&}} Vector
  • {{orange|?}} Monobook
  • {{orange|?}} Modern
  • {{orange|?}} Cologne Blue
  • {{orange|?}} Timeless
  • {{orange|?}} MinervaNeue

}}

| browsers =

| logo =

| screenshot =

| screenshot-caption =

}}

TextDiff (source) removes markup from a diff to show only prose changes.

On a diff page, a button {{button|Show textual diff view}} appears above the diff table. Click the button, wait while the textual diff loads (this could take some time); once loaded, the textual diff table replaces the standard diff table, with the button toggling between those diff views.

{{notice|heading=This script is currently beta software.|1=It is still new and should be used with some caution to ensure the results are as expected. Please check diffs carefully, and report any problems.}}

Installation

To install the script, add the line:

{{tls|lusc|User:Evad37/TextDiff.js}}

to Special:MyPage/common.js.

Or to install on all Wikimedia wikis, add:

mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Evad37/TextDiff.js&action=raw&ctype=text/javascript"); // w:User:Evad37/TextDiff

to meta:Special:MyPage/global.js.

See also

{{cot|Sandbox links|bg=#F0F2F5}}

{{/sandbox}}

{{cob}}

{{User:Evad37/Scripts navbox}}

TextDiff