Page MenuHomePhabricator

Provide a count in Special pages that list articles/pages (e.g. special:whatlinkshere)
Open, LowPublicFeature

Description

Author: stanley

Description:
similar but not the same to T3212

Please provide count of total articles linked to this foo template in Special:Whatlinkshere/Template.

Usefull for ex: information about how many stub articles, how many need_for_translation articles, how many NPOV articles, how many need_improved articles etc..


URL: https://en.wikipedia.org/wiki/Special:WhatLinksHere/Template:Cleanup-spam

Details

Reference
bz4394

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:00 PM
bzimport set Reference to bz4394.
bzimport added a subscriber: Unknown Object (MLST).

stanley wrote:

I will use this bug to request also for count of total articles in special pages
which has list of articles, such as Special:Wantedpages,
Special:Wantedcategories and Special:Uncategorizedpages. I found that special
pages will inform the correct count of articles if the count is <1000 (look
http://id.wikipedia.org/wiki/Istimewa:Deadendpages) but it will failed to inform
the count if the count is>1000 (look
http://en.wikipedia.org/w/index.php?title=Special:Deadendpages&limit=1000)

chris.mckenna wrote:

changed summary to reflect that this isn't just about one special page, but all
special pages that list articles

yonatanh wrote:

Also, it might be good to have it number the links like it does here
(http://commons.wikimedia.org/w/index.php?title=Special:BrokenRedirects&limit=500&offset=0).
This is already implemented in Special:BrokenRedirects (as well as the number of
entries on the special page being shown at the top) but not in
Special:Protectedpages for example.

russblau wrote:

Comment #3 could be accomplished simply by (a) changing the <ul></ul> tags
around the list of links to <ol></ol> or (b) giving the <ul> element
a "class=something" attribute so that users could change the display in their
personalized .css files. And doing that would probably accomplish most of what
the original report was looking for.

  • Bug 11228 has been marked as a duplicate of this bug. ***
  • Bug 17644 has been marked as a duplicate of this bug. ***

(In reply to comment #0)

similar but not the same to Bug 1212

Please provide count of total articles linked to this foo template in
Special:Whatlinkshere/Template.

Usefull for ex: information about how many stub articles, how many
need_for_translation articles, how many NPOV articles, how many need_improved
articles etc..

This should already be long since done, unless I'm greatly misunderstanding the request. Special:WhatLinksHere lists transclusions, redirects to and actual pagelinks to the target. It can be filtered by all 3 (although that is more recent).

(In reply to comment #1)

I will use this bug to request also for count of total articles in special pages
which has list of articles, such as Special:Wantedpages,
Special:Wantedcategories and Special:Uncategorizedpages. I found that special
pages will inform the correct count of articles if the count is <1000 (look
http://id.wikipedia.org/wiki/Istimewa:Deadendpages) but it will failed to inform
the count if the count is>1000 (look
http://en.wikipedia.org/w/index.php?title=Special:Deadendpages&limit=1000)

This is just a longstanding issue of Special pages being database heavy. On WMF sites, many of these are cached at 1000 entries per-batch. Not ideal, but whatever. Not a part of this bug (there's probably several bugs out for this and related problems).

Comment 3 is out of scope of the original request (and I'm not 100% sure what is being asked there). I think we can mark this thing FIXED.

Doofus. I see what's going on. Reopening.

All I know is I vow to clean up all the spam on Wikipedia,
so I go to
http://en.wikipedia.org/wiki/Special:WhatLinksHere/Template:Cleanup-spam
but I can't tell if there are 66, 666, 6666, 66666 spams I should clean up.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:01 AM

For what it's worth: Storing count of every link or template is unfeasible. There are millions and millions of them in each wiki. OTOH, it can be easily stored as a count–min sketch via a trade-off between losing a bit of accuracy and but gaining a lot of storage. I'd be happy to help getting this off the ground if others want to make this happen too (this also could be implemented as a toolforge too)

The task title and the task description ask for totally different things, which is the real one?

There is https://templatecount.toolforge.org/ already for transclusion count. And most backlog special pages cut off at 5000 results so there is nothing to count there.