Last modified: 2007-02-22 15:11:16 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 T10132, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8132 - Suppress "Pages in this category" heading in categories when there are none
Suppress "Pages in this category" heading in categories when there are none
Product: MediaWiki
Classification: Unclassified
Categories (Other open bugs)
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: 8025 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2006-12-03 09:50 UTC by brianna.laugher
Modified: 2007-02-22 15:11 UTC (History)
3 users (show)

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


Description brianna.laugher 2006-12-03 09:50:43 UTC
Just as the "Subcategories" and "Media in category" headings are suppressed on
Category: namespace pages when there are none, so should "Pages in category"
headings be suppressed.

This is useful on Commons and for wikis with deep category trees.

Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-12-03 16:50:42 UTC
I know this is a duplicate of something, although I can't find it . . . anyway,
the interesting question is, what happens if there are no subcategories *or*
pages *or* media in a category?  Should it display like a normal page?  Would
that confuse people?
Comment 2 JePe 2006-12-03 18:06:13 UTC
In that case it could display a text like:

"This category is empty."
Comment 3 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-12-03 18:25:00 UTC
Under what heading?
Comment 4 JePe 2006-12-03 19:01:19 UTC
Just under the page-title, because in this case there are no headings. A
wiki-specific message, maybe in bold or in a bigger font-size, which clearly
states that there isn't any content in the category.
Comment 5 Rob Church 2006-12-03 22:05:17 UTC
Sounds sane to me.
Comment 6 brianna.laugher 2007-01-05 05:26:18 UTC
So, could this be enabled, please?
Comment 7 Duncan Harris 2007-01-06 17:49:41 UTC
I don't see there being much of a problem if a category is empty and there are
no headings as a result.  Yes, it'll look a little odd to start with but that's
just because it's different from how they are now. Once people get used to it,
it'll be fine.

(PS if you want a bug fixed, then voting for it helps)
Comment 8 Raimond Spekking 2007-02-22 15:05:56 UTC
Fixed with r20039 without a separate message. Now an empty category is an empty
category is an empty category...
Comment 9 Raimond Spekking 2007-02-22 15:11:16 UTC
*** Bug 8025 has been marked as a duplicate of this bug. ***

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