Page MenuHomePhabricator

Special:Categories : Show the number of articles in the category
Closed, ResolvedPublic

Description

Author: xmlizer

Description:
This is list is useful, but with the number of link pointing on each category it
will be very useful


Version: unspecified
Severity: enhancement

Details

Reference
bz146

Revisions and Commits

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 6:42 PM
bzimport set Reference to bz146.

There is already a count of the number of articles and subcategories for a category.
I am not sure how usefull it is to get the number of articles leading to that
category.
Maybe a count can be shown when a user request the "whatlinkshere" page.

xmlizer wrote:

(In reply to comment #1)

There is already a count of the number of articles and subcategories for a

category.

Yes you're right but you must click the link and see the page

I am not sure how usefull it is to get the number of articles leading to that
category.

It's more a king of beeing homogeneous than to be usefull
Because in most of listings there is "page size"...here "page size" has to be
replaced by number of article, isn't it ?

Maybe a count can be shown when a user request the "whatlinkshere" page.

do you mean whatlinkshere of "Special:Categories"? If so, why not !
but what would be the difference, may be the sorting order (by date)

xmlizer wrote:

now that [[Special:Categories]] become huge it will become useful to check how
much is a category used, to know if we can easily rename it or something else
A presentation like

:

  1. Mathematics (345 articles)

:
and even, but it is a bonus, to sort by number of articles in category

richholton wrote:

Looking for a clarification:

Is the request for the number of articles in a given category? Or is the request
for the number of articles that link to the given category?

In other words, if an article includes a link like [[:Category:Foo]] but not a
category entry like [[Category:Foo]], would that page be counted?

bugzilla.wikipedia.org wrote:

I think this means the number of articles in parenthesis behind the cateogory
link in lists of categories, like Special:Categories and Category: pages that
have subcategories. I agree that this would be quite useful.

gattonero wrote:

I'll find it useful too.
Most of Wikis are introducing Babel Templates... Babel templates create
categories in which every user is listed, so it will be nice for a user,
searching for someone who speaks a certain language, to know if in a category
there are people listed or not.

(Gosh, my english is awful!)

bugzilla.wikipedia.org wrote:

Also maybe have options to sort category lists by number of articles.

robert_horning wrote:

It would also be useful to know how many categories each "sub category" is
linked to, especially in a heirarchical setup. You don't want to go more than
one layer deep (to avoid having to deal with circular paths), but when a
category is displaying subcats, put like:

Subcategory (5 articles 3 categories)

to show that something is there.

Marking this as INVALID, it's not clear which of many different things the
request is about. Provide more details in a specific request, however note
that many possible areas are unlikely to ever have such numbers added.

jnothman wrote:

Patch

places (n links) after category title in Special:Categories

attachment patch146.diff ignored as obsolete

jnothman wrote:

Comment on attachment 1094
Patch

sets count to value, ie sort-key. Therefore very inefficient.

jnothman wrote:

More efficient patch

Leaves sort key constant, thus removing huge overhead.

Attached:

webmaster wrote:

Has this been considered for inclusion in the forthcoming 1.6 version?

jnothman wrote:

It seems it's been included already in the current version. Maybe this
ticket should be closed, then.

epriestley added a commit: Unknown Object (Diffusion Commit).Mar 4 2015, 8:24 AM