Last modified: 2010-05-15 15:54:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 13728 - Formating Change when Section edited or whole page edited..
Formating Change when Section edited or whole page edited..
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2008-04-13 13:48 UTC by Luke
Modified: 2010-05-15 15:54 UTC (History)
0 users

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


Description Luke 2008-04-13 13:48:48 UTC
Odd behavior here that I thought I would bug report.

A page has the following mediawiki markup:

 <i>Test 1
 Test 2
 Test 3</i><br>

==Section Header==
===Sub Section Header==


If I edit the whole page from the tab the markup comes up and everything is fine.

If I edit from a section header and save the markup of the top party of the page 
changes to:

<i>Test 1
 Test 2
 Test 3</i><br>

Almost as it is stripping the space before the <i>.

It's annoying but doesn't horribly break anything.

Comment 1 Brion Vibber 2008-04-14 19:44:17 UTC
Hmm, that's not supposed to happen. :)
Comment 2 Brion Vibber 2008-04-14 20:28:10 UTC
Test case added in r33313
Comment 3 Brion Vibber 2008-04-14 20:39:45 UTC
Fixed in r33314 -- changing trim() to rtrim() in Parser::extractSections()

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