Jump to content

Extension talk:HideSection

About this board

Hide section as viewer. Autohide sections.

1
Blyatman9000 (talkcontribs)

Is it possible for viewers (i.e. those not logged in with their account) to hide sections while vieweing the page?

Is it also possible to autohide all sections when each page loads?

Reply to "Hide section as viewer. Autohide sections."

Is it possible to Hide only (H2) sections

1
2001:8F8:1E3D:FBFE:10F4:6355:E05A:7882 (talkcontribs)

Is it possible to hide or only select H2 sections during (preg_replace)?

Reply to "Is it possible to Hide only (H2) sections"

Set Hide as Default

1
TantalusSama (talkcontribs)

Is there a hook to set hide as default for a section (not all)?

If not, may we get one?

Cause hide by Section is way better than the for example Spoiler Extension, with Wiki Markup.

Link: Extension:Spoilers/de
Reply to "Set Hide as Default"

Can't find the extension for download?

3
Summary by Ztiruam

Linked the correct place on the page

Ztiruam (talkcontribs)
BrentLaabs (talkcontribs)

Ah, right. Linked the correct place on the page. I use git for everything, so I never even noticed those Download links before. Thanks for the report.

Ztiruam (talkcontribs)

Cool! Thanks dude

Unable to use HTML entities for hidesection messages

3
71.36.99.196 (talkcontribs)

If I try to use and ( and ) for MediaWiki:Hidesection-show and -hide, the links don't work in Firefox. After clicking a hide link, for instance, the link is replaced with the entity text instead of the symbol, and the link doesn't work.

Pasting the rendered symbols instead of the HTML entities works fine.

71.36.99.196 (talkcontribs)

... entities like ▼, etc.

BrentLaabs (talkcontribs)

Right, I understand.

I know what's happening here -- it's getting double-escaped. There will probably be something like data-hide="▼" in your HTML.

There's an obvious workaround. So what do you want me to do here? I guess I can unescape entities before having Mediawiki reescape here, but that seems like a kind of extra slowdown here.

Reply to "Unable to use HTML entities for hidesection messages"
There are no older topics