Last modified: 2014-05-31 14:33:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T67900, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65900 - Newline after header is eaten
Newline after header is eaten
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Pratik Lahoti
http://pagemigration.wmflabs.org/wiki...
:
Depends on:
Blocks: 65740
  Show dependency treegraph
 
Reported: 2014-05-29 16:58 UTC by Nemo
Modified: 2014-05-31 14:33 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Screenshot from URL (93.84 KB, image/png)
2014-05-29 16:58 UTC, Nemo
Details
Last version (146.04 KB, image/png)
2014-05-30 06:52 UTC, Nemo
Details

Description Nemo 2014-05-29 16:58:56 UTC
Created attachment 15511 [details]
Screenshot from URL

http://pagemigration.wmflabs.org/w/index.php?title=Extension:CheckUser/ko&oldid=176&action=edit has:

== 사용 ==
=== 기본 인터페이스 ===
# [[Special:CheckUser]]로 이동하세요.

which became:

== 사용 == === 기본 인터페이스 === # [[Special:CheckUser]]로 이동하세요. ...

on Special:PageMigration
Comment 1 Nemo 2014-05-29 17:04:55 UTC
As visible in the screenshot, some newlines e.g. in a # list are shown as eaten as well, but they were saved correctly AFAICS: http://pagemigration.wmflabs.org/w/index.php?title=Extension:CheckUser/ko&oldid=449&action=edit
Comment 2 Nemo 2014-05-29 17:41:41 UTC
We probably need a saner strategy to handle whitespace in general: Niklas, any idea?
Here newlines and spaces were added semi-randomly: http://pagemigration.wmflabs.org/w/index.php?title=Translations:Extension:CheckUser/10/nl&action=edit when the paragraph was originally ok in http://pagemigration.wmflabs.org/w/index.php?title=Extension:CheckUser/nl&oldid=178&action=edit ; the diff is otherwise sane. http://pagemigration.wmflabs.org/w/index.php?title=Extension:CheckUser/nl&diff=471&oldid=280
Comment 3 Nemo 2014-05-30 06:37:12 UTC
This seems fixed by https://gerrit.wikimedia.org/r/#/c/135750/7 , testing a bit now
Comment 4 Nemo 2014-05-30 06:52:59 UTC
Created attachment 15530 [details]
Last version
Comment 5 Pratik Lahoti 2014-05-31 14:33:56 UTC
As per the attachment above, the bug seems to be fixed. The problem was arising due to usage of divs previously and setting its .text property. Replacing divs by textareas seems to have solved the problem. So marking this as resolved.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links