Thread:Extension talk:SectionHide/Some odd formatting in MediaWiki 1.22

I have noticed two odd things in MediaWiki 1.22...


 * MediaWiki normally indents subsections slightly (at least with the Vector skin I am using) and I like this feature. With the extension installed, however, subsections are no longer indented, apparently because the divs have a new class name. I'm not sure if you can do much about this, but in case anyone else noticed the same thing, I fixed this by adding the following line to Common.css:

You can adjust the px measurement to make the indentations bigger or smaller, of course.


 * The extension is somehow inserting the following block of white space between headers (right before a new header), which is disorienting and looks bad:

Worse still, if you're moving from a lower-numbered header to a higher-numbered header -- e.g. you have an H2 header, then you have an H3 header -- then it inserts it twice before the higher-numbered header. Needless to say, that's quite a lot of blank space.

I... cannot for the life of me figure out how that's happening. I'm not great with PHP or JavaScript but nothing obvious in the extension code sticks out to me. If I disable the extension, that goes away. I am using the Vector skin.