Last modified: 2014-03-11 20:11:04 UTC
Created attachment 14336 [details] Review translations: newlines in code are rendered as spaces When translating a group of messages, and you go to Review mode, it displays raw wikitext in both sides, which is good, but whitespace is not preserved, so newlines are being displayed as single spaces, and messages that contains unordered lists looks like they would be messed up. See screenshot. If we are displaying raw wikitext, we should output it as seen in the textarea, preserving all whitespace, so newlines in code are displayed as such.
Having the following CSS applied would solve the issue: .tux-proofread-translation, .tux-proofread-source { white-space: pre-wrap; }
I would like to prepare a patch for this.
Prepare the patch www.mediawiki.org/wiki/Gerrit/Tutorial
Change 108330 had a related patch set uploaded by Tinaj1234: Added CSS to preserve whitespace https://gerrit.wikimedia.org/r/108330
Change 108330 merged by jenkins-bot: Added CSS to existing selector: preserve whitespace in review mode https://gerrit.wikimedia.org/r/108330
Patch merged in comment 5 - assuming this bug is FIXED. If that is not the case: Please reopen and elaborate what is left to do here to get this report fixed.
Verified with the provided link (test-case)