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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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)
unspecified
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.marveldatabase.com/wiki/Ca...
:
Depends on:
Blocks:
  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: ---


Attachments

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 
anyway.

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 
suppose.

:)
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.


Navigation
Links