Thread:Extension talk:SectionHide/A Show/hide all sections button would be a nice feature/reply

Thank you very much :)

A hide all should be quite simple to add to the parseafterparse hook function, wrapping the whole article in a &lt;p>&lt;span>&lt;a javascript="toggle id zero">hideall&lt;/a>&lt;/span>&lt;/p>&lt;div id zero>[artile goes here]&lt;/div id zero>

It should be backwards compatible as far as the two hooks and various other standards go, but as I dev'd it on 1.21.1 to replace a version that no longer worked and was dev'd on 1.16 I didn't feel I could guarantee more.

I could do a zip file but found the introductory help on the gerrit site impenetrable and aimed at main code developers rather than extension writers. As I said I'm happy for anyone with more experience to transfer it to the source control system.

Once again, thank you for your endorsement! :)