Last modified: 2007-02-22 15:11:15 UTC
When there are no media files in a category, the "Media in category" section does not display, but when there are no articles in a category, "Articles in Category" appears anyway. It should be checked for > 1 article before displaying that section, otherwise it takes up space unnecessarily. (As of: MediaWiki: 1.9alpha (r17555))
Either the Articles/Subcategories behavior or the Media behavior should be changed. I'd be inclined to the latter.
You think "Media in category" should always display instead of "Articles in Category" being dynamic? Just curious, why? Query cost?
No, clarity. Saying "there are 0 articles/files in this category" is clearer than that section mysteriously failing to appear.
Fair enough. I definitely think a lot can be said for clarity, but I am trying to respect page 'real estate', too. Those headers are bulky and seem redundant if not in use. If we are consistant, I am sure either way is fine. Whoever is willing to make the necessary code changes can make the decision, I suppose. :)
*** This bug has been marked as a duplicate of 8132 ***