https://bugzilla.wikimedia.org/show_bug.cgi?id=12130
Krinkle <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #14 from Krinkle <[email protected]> 2011-09-30 00:24:06 UTC --- As a confirmation: This bug is still happening on MediaWiki 1.18. Steps to reproduce: * Edit or create a wiki page and insert 10 lines on top of the page. * Save the page * Any of these: *1) Go to edit mode, save the page. *2) Go to edit mode, change a word, save the page *3) Go to edit mode, change word, preview, preview, preview, save the page Expected result: 1) nothing happends, null edit, no revision 2) One word changed 3) One word changed Actual result: 1) An edit removing the first line is saved 2) An edit removing the first line and changing a word is saved 3) An edit changing a word and removing the first 4 lines (every hit on preview chopped one more line) Proposed change: Trim leading whitespace in the parser before saving, just like with trailing whitespace. Never to be saved to the database. This means on existing pages it will be trimmed in 1 edit alltogether. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
