Page MenuHomePhabricator

WantedPages only shows pages wanted by 2 or more links
Closed, ResolvedPublic

Description

Author: ekb87ds02

Description:
WantedPages only shows pages with a link count greater than 1. This might mean a
speed up on Wikipedia, but on a small installation it's not very useful this
way. If it's a mistake, then a small patch should be enough:

in Includes/SpecialWantedPages.php change:

HAVING COUNT(*) > 1";

into

HAVING COUNT(*) >= 0";

Unfortunately it then says "(1 links)" in the page, but I don't really care
enough about that.


Version: 1.5.x
Severity: minor

Details

Reference
bz5011

Event Timeline

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

ekb87ds02 wrote:

A short explanation of why this is invalid would be nice...

robchur wrote:

Because the code works as intended. I don't see that this is a particular
request to change something, nor is it reporting a bug or behaviour we don't want.

We get asked about this a lot; it might be worth going ahead and making it a
config option. We can leave it at 0 for the n00bs and keep it at 1 for Wikimedia.

robchur wrote:

(In reply to comment #3)

We get asked about this a lot; it might be worth going ahead and making it a
config option. We can leave it at 0 for the n00bs and keep it at 1 for Wikimedia.

Done that, now in CVS HEAD. $wgWantedPagesThreshold; defaults to requiring at
least 1 link.