https://bugzilla.wikimedia.org/show_bug.cgi?id=32131
Web browser: ---
Bug #: 32131
Summary: #subpagelist: Incorrect HTML code.
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: SubPageList
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
{{ #subpagelist: page=page | kidsonly=yes }}XX
generates code:
<div class="subpagelist">
<ul><li><a href="...">Subpage1</a>
</li><li><a href="...">Subpage2</a></div>XX
</li></ul>
Note intersection between div and ul: <div><ul></div></ul>. That's incorrect.
must be <div><ul></ul></div>.
The problem is in `makeList' function and MediaWiki parser. MediaWiki parsers
thinks a list item is finished by newline; while `makeList' function adds
newline /before/ each item, and omits newline after the last item of the list.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l