Snippets/Horizontal lists

Description
Enables the use of horizontal lists, inline formatted, sematically valid HTML lists using the   class.

Use
Using horizontal lists only requires adding the  class to a container element that holds a HTML list. Lists may be in both HTML and wiki markup. Two extra classes are available that alter the list's behaviour:
 * 1)   causes ordered list items to be numbered.
 * 2)   allows wrapping of (long) list items, which are nowrap by default.

Note
hlist formatting will break if the resulting HTML lacks a breakable character between list items. This happens when the following conditions are true: In such cases, building lists with  using HTML instead of wiki markup will work around this problem. See also 39617.
 * 1) The list is made using wiki markup (where HTML is built by parser.php)
 * 2) HTMLTidy is disabled or unavailable (such as on Special: pages)

Code
Place the folowing code in MediaWiki:Common.css:

Ensure something like the following exists in :

Then add (or ensure is present) the following code in :