Page MenuHomePhabricator

Special:OrphanedPages does not list pages referenced only by themselves
Closed, ResolvedPublic

Description

The Special:OrphanedPages is supposed to list all "pages not linked from any other page". I noticed that the "other" part is not true: if a page links to itself, it won't show up in this list and it's not linked from *other* pages.

Example:

I create a new page "test" and I include just the following wikitext:

[[test]]

Next time the orphaned pages is updated, this page won't show up there because there's one record in the pagelinks table where the "to" page is the page with title "test", despite the fact that the "from" page is also the "test" page.
I.e., the select should check [AND pl_from != pl_to] (or something like that; I don't have the table struct here right now)

According to the intended concept, I believe what people are expecting is that all pages not linked from somewhere ELSE should be listed, hence this bug submission.

Thanks!


Version: 1.16.x
Severity: enhancement

Details

Reference
bz23973

Event Timeline

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

Any thoughts/comments, anyone?

Agabi10 claimed this task.
Agabi10 subscribed.

I don't know when this has been fixed but in current master if you add a the wikitext [[text]] in a page with the name Text no entry is recorded in the pagelinks table for that page, so the described behavior is impossible to replicate now.