Content deleted Content added
1.2.1 (October 09, 2014) update for synced one-to-one port with mediawiki:Extension:WikEdDiff |
1.2.1 (October 10, 2014) rm fragment container for no change message |
||
Line 3:
// ==UserScript==
// @name wikEd diff
// @version 1.2.
// @date October 09, 2014
// @description improved word-based diff library with block move detection
Line 762:
this.html =
this.config.htmlCode.containerStart +
this.config.htmlCode.noChangeStart +
this.htmlEscape( this.config.msg['wiked-diff-empty'] ) +
this.config.htmlCode.noChangeEnd +
this.config.htmlCode.containerEnd;
return this.html;
Line 950 ⟶ 948:
this.html =
this.config.htmlCode.containerStart +
this.config.htmlCode.noChangeStart +
this.htmlEscape( this.config.msg['wiked-diff-empty'] ) +
this.config.htmlCode.noChangeEnd +
this.config.htmlCode.containerEnd;
}
Line 3,280 ⟶ 3,276:
// No change, only one unchanged block in containers
if ( ( fragments.length == 5 ) && ( fragments[2].type == '=' ) ) {
this.html = '';
return;
}
|