Topic on Extension talk:MsCalendar

No wiki markup renders after usage line

3
Summary by Sophivorus

This bug was due to defective documentation which has been fixed now.

96.252.89.80 (talkcontribs)

I have installed this extension on my Mediawiki 1.20 and for whatever reason, wiki markup text fails to load anywhere after I use the calendar usage text. Sections, regular text, even categories do not render if inserted below the calendar line. Kind of frustrating since the calendar works flawlessly otherwise. The markup text does remain, it simply doesn't render. Details on my environment are below, thanks.

Product Version MediaWiki 1.20.3 PHP 5.3.3-7+squeeze19 (apache2handler) MySQL 5.1.66-0+squeeze1

Hardware: VMware Virtual Machine v.7 - Single Processor - 2048MB Memory - 20GB Storage Operating System: Debian Squeeze 6.0.6

Deli68 (talkcontribs)

If you insert wiki markup text above the calendar line, it will render. So I did with categories and a short introduction. Of course regular text will be shown above the calendar - that's probably not so nice if you have a lot of text. Categories will be shown at the bottom of the site as usual.

Sophivorus (talkcontribs)

This bug was almost surely because you copy-pasted the wikitext in the documentation, which said:

<mscalendar name="Name_of_Calendar" sort="abc"></calendar>

If you look closely, the opening tag is "mscalendar", while the closing tag is "calendar", so the "mscalendar" tag never got properly closed, and all wikitext after it was considered part of it. Close the tag properly and the bug is gone. I've fixed the documentation to prevent further confusion.