https://bugzilla.wikimedia.org/show_bug.cgi?id=24105
Summary: Lists in multiple columns have improper HTML
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: Normal
Component: Semantic MediaWiki
AssignedTo: [email protected]
ReportedBy: [email protected]
When creating an inline query with SMW, if using the "format" of "ul" or "ol",
with "columns" set to a number higher than "1", the HTML code breaks. For
example:
{{#ask:[[Class::MyClass]]
|format=ul
|columns=3
}}
Produces lists that look like:
<ul><div style="float: left; width: 25%">
<li><a href="/wiki/index.php/MyPage" title="MyPage">MyPage</a></li>
<li><a href="/wiki/index.php/MyPage" title="MyPage">MyPage</a></li>
<li><a href="/wiki/index.php/MyPage" title="MyPage">MyPage</a></li>
<li><a href="/wiki/index.php/MyPage" title="MyPage">MyPage</a></li>
</div><div style="float: left; width: 25%">
<li><a href="/wiki/index.php/MyPage" title="MyPage">MyPage</a></li>
<li><a href="/wiki/index.php/MyPage" title="MyPage">MyPage</a></li>
<li><a href="/wiki/index.php/MyPage" title="MyPage">MyPage</a></li>
<li><a href="/wiki/index.php/MyPage" title="MyPage">MyPage</a></li>
</div><div style="float: left; width: 25%">
<li><a href="/wiki/index.php/MyPage" title="MyPage">MyPage</a></li>
<li><a href="/wiki/index.php/MyPage" title="MyPage">MyPage</a></li>
<li><a href="/wiki/index.php/MyPage" title="MyPage">MyPage</a></li>
<li><a href="/wiki/index.php/MyPage" title="MyPage">MyPage</a></li>
</div>
</ul><br style="clear: both" />
As you can see, the closing "</li>" tags are not interpreted as a proper ending
of a list element, which may be because the "<ul>" tags are outside the "<div>"
tags breaking up the list.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l