https://bugzilla.wikimedia.org/show_bug.cgi?id=23704

           Summary: Ignore leading or trailing whitespaces when match
                    lines
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: wikidiff2
        AssignedTo: [email protected]
        ReportedBy: [email protected]


When have a diff, where the leading or trailing whitespace of some lines is
changed, the lines are not matched to its original line. This often happen when
diff javascript pages, where the indentation of some lines is changed.

It is possible to ignore leading and trailing whitespaces, when match the lines
of the both revision? Thanks.

Example (not javascript page):
http://de.wikipedia.org/w/index.php?title=Daihatsu_Cuore&diff=72851766&oldid=72377298

When adding one space at the end of line 193 the diff works as expected

also works fine with diff other way round:
http://de.wikipedia.org/w/index.php?title=Daihatsu_Cuore&diff=72377298&oldid=72851766

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to