Last modified: 2006-06-22 15:26:18 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 T8327, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6327 - When entering a section heading on the same line as text , it renders incorrectly.
When entering a section heading on the same line as text , it renders incorre...
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-16 14:17 UTC by Mets501
Modified: 2006-06-22 15:26 UTC (History)
0 users

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


Attachments

Description Mets501 2006-06-16 14:17:24 UTC
When entering a section heading on the same line as text, it does not render as
a heading, but rather as part of the paragraph, with "==" on each side of the
text.  This is a problem for a variety of things including bots and applicatios
such as VandalProof, some of which rely on this feature for warning users about
vandalism.
Comment 1 Leon Weber 2006-06-16 14:23:04 UTC
Could you create an example test page, please? I don't really understand what
you're meaning.
Comment 3 Leon Weber 2006-06-16 14:29:09 UTC
Ah, I got it. So what's the problem? It's looking ugly, and users should put
headings on a single line (my opinion).
Comment 4 Rob Church 2006-06-16 14:31:11 UTC
Fix the bot so it adds a newline character at the end of section headings. This
is part of the markup.
Comment 5 Mets501 2006-06-16 14:32:12 UTC
Yes, users should put headings on a their own line in most cases.  However, for some uses, this is impossible to 
do, so it would be nice if headings rendered even when not on their own line.
Comment 6 Mets501 2006-06-16 14:32:47 UTC
How can it add a newline character?
Comment 7 Leon Weber 2006-06-16 14:35:59 UTC
\n or \n\r are the regexps for newlines.
Comment 8 Mets501 2006-06-16 14:38:37 UTC
Alright, I'll look into that.  Thanks.
Comment 9 Platonides 2006-06-22 12:33:40 UTC
Sorry. "\n\r" is invalid. It should be "\r\n", the windows line breaking-chars.
However, the wiki only uses "\n".
Comment 10 Mets501 2006-06-22 12:37:58 UTC
Alright.  It's still a problem for VandalProof, though.  Basically, if this bug takes 10 seconds to fix, then fix it, 
otherwise (if it's more difficult) we'll find a workaround.
Comment 11 Rob Church 2006-06-22 15:23:30 UTC
Fix. Your. Third party. Application.
Comment 12 Mets501 2006-06-22 15:26:18 UTC
I sure hope that wasn't meant to be rude.
But yes, I'm sure there's a workaround.
It really wouldn't have been an issue in the first place, but it was working up until just before I started this bug 
report, and then mysteriuosly stopped working.

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


Navigation
Links