Page MenuHomePhabricator

On "what links here", limit applies to outer linking items, not total items on page, offset is ignored, and "previous page" is always empty.
Open, LowPublic

Description

Special:Whatlinkshere shows the very same - incomplete - List, regardless of
parameter selections, such as Number of items to show (limit), where to start
(offset), etc.

The sample List under the URL above should be 20 entries long, it shows some
400+ entries.
In basically aphabetical order, it ends somwhere inside "J..." while it is known
that linking pages run to "Z...".
Special:Mostlinked tells us of one redirect page alone contributing 1400+ Links
being redirected here, so some 1000 at least are not shown.

Making a selection that allows the link "show previous N" to show, then
following that link, always showed an empty list with our sample page.

A caching problem is unlikely, since the situation persists since 10+ days, and
all other pages that display caching warnings, have been refreshed several times
since.

A word of caution: Do not expect the abovementioned sample to be stable for
long. The problem was detected during the process of reorganizing a huge part of
the 1400+ links in question to a more precise Lemma which is not a redirect any
more.


Version: unspecified
Severity: normal
URL: http://ksh.wikipedia.org/w/index.php?title=Special:Whatlinkshere/Affk%C3%B6%C3%B6zung_%28Watt_%C4%97%C3%9F%C3%9F_datt%3F%29&limit=20&from=0
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=42357

Details

Reference
bz6424

Event Timeline

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

robchur wrote:

The parameters are being honoured, but not in the most intuitive manner. The
limit is applied to the outer level, i.e. the number of direct links. If one of
those links comes from a redirect, all the links to the redirect are shown
too...or not, which corresponds to the second problem.

As far as I remember, the second part is a duplicate bug elsewhere.

I thought so, at 1st sight, that limit/offset might be:

  1. applied to the outer level, and
  2. then at any inner level, limit too, to the number of entries at this level.

My test verified that at least 1. is not the case. With the sample page from
above, where there are 3 items at the outer level, an URL with offset=0,
offset=1, offset=2, offset=3 should display diffent lists. It does not.

robchur wrote:

*** Bug 9496 has been marked as a duplicate of this bug. ***

Does this still occur in 1.14 ?

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

(In reply to comment #4)

Does this still occur in 1.14 ?

Or 1.17?

Aaron's work to fix this was reverted. Don't remember it ever seeing a final resolution.

So, we need someone to see if the equivalent of r35371 is done.

And if that's the only rev that matters here, it looks like the answer is "no, it is still reverted" since there is (to my naive understanding) no mention of LinkBatch or Pager.