Thread:JoePlay/@comment-4190137-20121025102558/@comment-171752-20121025183526

First, I see that you inserted the  line 4 times. Only once is necessary, and listing it more than once could possibly slow down page load times.

Reading the page on the dev wiki, I think that each of those example uses are mutually exclusive, meaning you must choose one method to use. I think inserting the javascript for all of the methods causes none of it to work, but I'm not 100% sure. In case you're unclear, I'll explain the 4 methods listed on that page, using my best interpretation (I've never used the feature myself).

Method #1 - the default

If you simply insert only the  line of code, it works when the word "spoiler" is in the page's title.

Method #2 - the spoiler CSS class

If you insert the first box of code in the Triggers section, it works when you use  on the page, either on a   or a table.

Method #3 - spoiler category

If you insert the second box of code in the Triggers section, it works when the page is in.

Method #4 - h2 spoiler

If you insert the third box of code in the Triggers section, it works when the word "spoiler" is included in one of the page's h2 section headings. Example: ==Spoiler==

So I would recommend choosing a method, then making any necessary changes to the pages you want to be affected by this feature.