Last modified: 2007-02-22 15:11:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T10025, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8025 - "Articles in Category" displays when there are none.
"Articles in Category" displays when there are none.
Status: RESOLVED DUPLICATE of bug 8132
Product: MediaWiki
Classification: Unclassified
Categories (Other open bugs)
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-11-24 02:23 UTC by Jamie Hari
Modified: 2007-02-22 15:11 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Jamie Hari 2006-11-24 02:23:41 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 

It should be checked for > 1 article before displaying that section, otherwise it takes 
up space unnecessarily.

(As of: MediaWiki: 1.9alpha (r17555))
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-11-24 02:27:40 UTC
Either the Articles/Subcategories behavior or the Media behavior should be
changed.  I'd be inclined to the latter.
Comment 2 Jamie Hari 2006-11-24 02:32:12 UTC
You think "Media in category" should always display instead of "Articles in Category" 
being dynamic?

Just curious, why? 
Query cost?
Comment 3 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-11-24 02:33:17 UTC
No, clarity.  Saying "there are 0 articles/files in this category" is clearer
than that section mysteriously failing to appear.
Comment 4 Jamie Hari 2006-11-24 02:45:07 UTC
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 

Comment 5 Raimond Spekking 2007-02-22 15:11:15 UTC

*** This bug has been marked as a duplicate of 8132 ***

Note You need to log in before you can comment on or make changes to this bug.