Hi,
I am setting up a Wiki that organizes information on a series of books. I want the site to still be accessible to those who have not read all the books, so I am adding a spoiler extension. For example, <book2> Spoilers about book 2 </book>, if the person's cookie says they haven't read book2, the spoilers will not be in the page.
I still want all the wiki tags within the spoilers to be parsed. How would I use a Parser object to make sure the stuff inside the tags show up exactly how they would if the tags weren't there?
Thanks, Ian
southdii@onid.orst.edu wrote in gmane.science.linguistics.wikipedia.technical:
I still want all the wiki tags within the spoilers to be parsed. How would I use a Parser object to make sure the stuff inside the tags show up exactly how they would if the tags weren't there?
http://mail.wikimedia.org/pipermail/mediawiki-l/2005-February/003580.html
Thanks, Ian
kate.
southdii@onid.orst.edu wrote:
Hi,
I am setting up a Wiki that organizes information on a series of books. I want the site to still be accessible to those who have not read all the books, so I am adding a spoiler extension. For example, <book2> Spoilers about book 2 </book>, if the person's cookie says they haven't read book2, the spoilers will not be in the page.
how about instead of an extension allowing something like: <span class="spoiler book2">spoil!</span>
Then you could hide it with some quite simple CSS.
I still want all the wiki tags within the spoilers to be parsed. How would I use a Parser object to make sure the stuff inside the tags show up exactly how they would if the tags weren't there?
Thanks, Ian
On Thu, 17 Mar 2005 11:53:41 +0000, Jim Higson jh@333.org wrote:
how about instead of an extension allowing something like: <span class="spoiler book2">spoil!</span>
Then you could hide it with some quite simple CSS.
The problem with that is that it assumes that everyone who doesn't want to see the content is using a CSS-enabled browser. OK, so that may be the majority of people, but it's kind of awkward to have "hidden" content that defaults to being visible.
Rowan Collins wrote:
On Thu, 17 Mar 2005 11:53:41 +0000, Jim Higson jh@333.org wrote:
how about instead of an extension allowing something like: <span class="spoiler book2">spoil!</span> Then you could hide it with some quite simple CSS.
The problem with that is that it assumes that everyone who doesn't want to see the content is using a CSS-enabled browser. OK, so that may be the majority of people, but it's kind of awkward to have "hidden" content that defaults to being visible.
Well, at present *everyone* sees it, so it'd be a new shiny thing on top of that, rather than leading to an unexpected result on old browsers.
- d.
wikitech-l@lists.wikimedia.org