Jump to content

User:Evad37/TextDiff

From Wikipedia, the free encyclopedia
TextDiff
DescriptionProvides a simpler, textual diff
Author(s)Evad37
StatusAlpha
UpdatedSee history
Skins
  • Vector
  • ? Monobook
  • ? Modern
  • ? Cologne Blue
  • ? Timeless
  • ? MinervaNeue
Source

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

On a diff page, a 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.

Installation

[edit]

To install the script, add the line:

{{subst: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

[edit]