Last modified: 2006-08-22 06:45:36 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 T9089, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 7089 - Invalid HTML markup created for "Createbox" by inputbox.php
Invalid HTML markup created for "Createbox" by inputbox.php
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
InputBox (Other open bugs)
unspecified
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-08-21 22:38 UTC by Carl Duisberg
Modified: 2006-08-22 06:45 UTC (History)
0 users

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


Attachments
Create correct HTML for create boxes. (854 bytes, patch)
2006-08-21 22:40 UTC, Carl Duisberg
Details

Description Carl Duisberg 2006-08-21 22:38:58 UTC
The following example
<pre>
<inputbox>
type=create
break=no
prefix=Forum:Ideen/
preload=Vorlage:Forumkopf/{{PAGENAME}}
buttonlabel=Neues Thema hinzufügen
</inputbox>
</pre>
creates invalid HTML.

The following tag is opened but not closed:
<pre>
<input type='hidden' name="action" value="edit" >
<pre>
Comment 1 Carl Duisberg 2006-08-21 22:40:47 UTC
Created attachment 2262 [details]
Create correct HTML for create boxes.

The appended patch eliminates the problem with open input tag.
Comment 2 Carl Duisberg 2006-08-21 22:51:08 UTC
Closing tags is mandatory in XHTML as opposed to HTML 4.0.
Mediawiki 1.7.1 creates XHTML output.
Comment 3 Rotem Liss 2006-08-22 06:45:36 UTC
Applied to r16157, with several other XHTML fixes.

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


Navigation
Links