User:PerfektesChaos/WikidiffLX/October 2011 Coding Challenge
Making Wikipedia More Alive: I would like to make diffpages more comprehensive.
Significant changes are to be made distinct from whitespace change. Currently, a simple line break insertion/deletion is mixing up the entire picture, since the unchanged paragraphs are no longer compared.
The following issues are addressed by my submission:
- Avoid confusion by empty lines
- Improve modified consecutive lines
- Improve visualization of context lines
- Visualize space-only differences
- Visualize non-ASCII spaces
- Visualize zero-width differences
Details are explained on top of this subpage; the code is linked here.
The code has been tested and is already working on basic test cases. To be quite honest, I have not created the story last night, but developed requirements and solution since summer, mentioning on bugzilla:29385#c3 and depositing into the drawer for the moment.
Further work to establish a testwiki environment and exhaustive testing on real pages may be done if the proposal is taken into account for usage by WMF.