Last modified: 2006-12-18 22:37:43 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 T10310, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8310 - Blank line added to top of 'post' when page is blank.
Blank line added to top of 'post' when page is blank.
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.9.x
All All
: Low minor (vote)
: ---
Assigned To: Rob Church
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-12-18 19:17 UTC by Mark Clements (HappyDog)
Modified: 2006-12-18 22:37 UTC (History)
1 user (show)

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


Attachments

Description Mark Clements (HappyDog) 2006-12-18 19:17:39 UTC
If you use the + button to add a new comment (with title) to a blank page, MW
inserts a blank line above your posting, leaving an odd gap at the top of the page.

I don't know if this also affects adding a message to a page that doesn't exist,
or whether it only affects blanked pages.

The code should test whether the page is blank, and only add the newline if it
is not.
Comment 1 Rob Church 2006-12-18 19:24:03 UTC
Taking a look...
Comment 2 Rob Church 2006-12-18 19:30:35 UTC
Fixed in r18433.
Comment 3 Mark Clements (HappyDog) 2006-12-18 22:16:31 UTC
Wow - super quick!  Are you in the mood for another real-quick fix?  If so,
check out bug 8051... :)
Comment 4 Rob Church 2006-12-18 22:27:52 UTC
Can't touch that, sorry. I'm just a lowly code monkey.
Comment 5 Mark Clements (HappyDog) 2006-12-18 22:37:43 UTC
*lol* no worries :)

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


Navigation
Links