Last modified: 2014-08-14 15:35:26 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 T18807, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16807 - show number of leaf articles in parentheses instead of number of number of subcategories
show number of leaf articles in parentheses instead of number of number of su...
Status: NEW
Product: MediaWiki
Classification: Unclassified
Categories (Other open bugs)
1.24rc
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-27 01:08 UTC by Etienne Vouga
Modified: 2014-08-14 15:35 UTC (History)
0 users

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


Attachments

Description Etienne Vouga 2008-12-27 01:08:27 UTC
Consider a typical category page, such as
http://en.wikipedia.org/wiki/Category:Science
or
http://en.wikipedia.org/wiki/Category:Articles_needing_attention .
Currently, the user sees various subcategories, such as "Dance articles needing attention," followed by a number in parentheses, indicating the number of subcategories in this category.

Let the set D of "descendant categories" of a category X be the least set such that
a) X is in D,
b) If a category Y is in D, all subcategories of Y are in D.

Let the set of "leaf articles" of X be the (nondisjoint) union of all articles belonging to a descendant category of X.

I propose that the number in parentheses be the number of leaf articles of X, instead of the number of subcategories of X.

Rationale:
a) This number is more useful: when I see "Dance articles needing attention" or "Philosophy of Science," what I really want to know at a glance are how many dance articles need attention, or how many articles there are about the philosophy of science. Rarely am I as interested in how many subcategories have been created of these topics.
b) This number is less confusing: A user who sees "Youth science (0)" may be inclined to think there are no articles on Wikipedia about youth science. This point is closely related to a), and both sprout from the number of leaf articles being a more "natural" number to associate to a category than the number of subcategories.
Comment 1 Andre Klapper 2014-08-14 15:35:26 UTC
Still valid in 1.24, e.g. "Articles to be expanded‎ (94 C, 3 P)" where 3P only refers to articles on the first sublevel of that category but does not include the number of articles in subcategories (second and third sublevels).

Wondering if there is general support and agreement for this change though, plus how this would affect performance.

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


Navigation
Links