Thread:Extension talk:Cite/Number of references/reply (2)

reading the original request more carefully, my reply was not very useful.

you can still use JS to *hide* the "references" section in case it's empty, but it may not be very pretty - the section will momentarily appear, and only after the page finishes rendering it will disappear (somewhat like "collapsible" elements). it will also not solve the case where there *are* references but no section.

again, you can use a pre-save JS hook that will at least warn the user when they are going to save a page with tags but no tag. you want to be careful, and not trigger the warning when editing a section.

peace.