Last modified: 2007-02-22 15:11:16 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 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
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Categories (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 8025 (view as bug list)
Depends on:
Blocks:
  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: ---


Attachments

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.

thanks!
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.


Navigation
Links