Page MenuHomePhabricator

collapsible section breaks viki
Open, Needs TriagePublic

Description

Tried to add viki to pages but hide it unless wanted. Tried using https://www.mediawiki.org/wiki/Manual:Collapsible_elements

<div class="toccolours mw-collapsible mw-collapsed" style="width:40em">
{{ #viki:pageTitles={{FULLPAGENAME}} }}
</div>

The viki call works outside of the div, but inside the div it just seems to render many words printed on top of each other.

Event Timeline

Maybe I should explain. What I was really trying to do is add easy access to this to any page. I could have seen it being a tab a the top, or something in the sidebar using {{PAGENAME}}, but since it seems to have to sit on a page, I thought I'd add it to a template or similar.
What might be even better is if it were accessible like the SMW queries, where I essentially build a query and store it as a link and the page it goes to doesn't need to "exist".