Last modified: 2010-12-02 20:29:25 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 T15909, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13909 - Trying to 'indent' an input box breaks the formatting on the rest of the page.
Trying to 'indent' an input box breaks the formatting on the rest of the page.
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.13.x
All All
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
http://biodatabase.org/index.php/Talk...
: need-parsertest, parser
Depends on:
Blocks: html
  Show dependency treegraph
 
Reported: 2008-05-01 09:36 UTC by Dan Bolser
Modified: 2010-12-02 20:29 UTC (History)
3 users (show)

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


Attachments

Description Dan Bolser 2008-05-01 09:36:12 UTC
For example, if I say something like:

__START__

: <inputbox> ... break = no </inputbox>

Some more text here.

__END__

The "Some more text here." is also indented by the ':'.

See the above page for an example.

I can't recreate this bug on the mediawiki website :(

On the above link I have "Checked out revision 34066".
Comment 1 Danny B. 2008-05-01 12:57:43 UTC
That's apparently parser error. It returns wrongly nested, thus invalid code.

The key of the problem is that it closes the </dd></dl> after opened <table> which causes those definition list closing tags are ignored (since table is opened) and thus everything remains indented.

I assume, that the problem is, that parser waits for the very first line break after the leading colon to close the <dd> element. And it in fact gets it pretty soon. I am not sure on which level, but either in wikitext there's line wrap right after <inputbox> or in HTML output it's after opening <table> of inputbox output.
Comment 2 Mark A. Hershberger 2010-12-02 20:29:25 UTC
Just tested, looks fixed

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


Navigation
Links