MetaWiki mentions the following [1]:
If you have a template/parser function that produces * and you WANT it to be parsed as wikitext — but without adding a newline, you can write <li>; a <ul> element will be added by the software.
I tried to do that, but the <ul> tag is not added (at least on MW-1.22.12). This template:
<includeonly><li>test</li></includeonly>
produces only '<li>test</li>' upon transclusion.
What is the intended behaviour here? Have I misunderstood the MetaWiki section? Thanks for your replies,
-- jlk
[1]: https://meta.wikimedia.org/wiki/Help:Newlines_and_spaces#Automatic_newline
That probably only works when Tidy is enabled.
https://www.mediawiki.org/wiki/Manual:$wgUseTidy
On 11.10.14 at 20:54, Bartosz Dziewoński wrote:
That probably only works when Tidy is enabled.
Thanks! I don't know if the wiki I was testing this on sets $wgUseTidy to true, but multiple other discussions about Tidy suggest it doesn't.
-- jlk
mediawiki-l@lists.wikimedia.org