Page MenuHomePhabricator

Disambiguation pages should not be listed in Special:Lonelypages
Closed, ResolvedPublic

Description

Disambiguation pages should not be listed in [[Special:Lonelypages]] because
there's a conflict of interest: disambiguations should be solved and they don't
necessarily need to be linked to, so they could be "lonely" (that's what
[[Special:Disambiguations]] is trying to achieve). Since there is already a
trigger for a page to be listed as a disambig (the template), I think it's
fairly easy to exclude those pages from the list of lonely pages.


Version: unspecified
Severity: enhancement
See Also: T8651

Details

Reference
bz3483

Event Timeline

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

webmaster wrote:

More to this:

As disambiguation pages are a class unto themselves, they should be
considered 'categorized' and not show up here: [[Special:Uncategorizedpages]]...

webmaster wrote:

Might this have something to do with bug 4302?

Something, but still a different issue.

mashiah.davidson wrote:

Have a connection to #8516

mashiah.davidson wrote:

The meaning of a disambiguation supposes this page is not to be linked directly from
other pages. This way all the pages linked from disambiguation pages only are orphaned
and not linked to other main namespace pages.

As well as the disambiguation pages are not to be listed and links from them are not to
be threated as links from main namespace, it is expedient to change the lonelypages
collection algorithm or put all the disambiguation pages into a separate table in
Database.

romaine.wiki wrote:

I hope this bug can be viewed again, should not be that hard: all pages with on it a template mentioned at http://nl.wikipedia.org/wiki/MediaWiki:Disambiguationspage should be left out of the special page https://en.wikipedia.org/wiki/Special:LonelyPages

Currently I think disambiguation pages are not handled any differently in code, so this won't be trivial to support.

(In reply to comment #7)

Currently I think disambiguation pages are not handled any differently in
code,
so this won't be trivial to support.

They will be soon, hopefully. Marking this as dependent on bug 6754.

(In reply to comment #8)

They will be soon, hopefully. Marking this as dependent on bug 6754.

They are creating an extension for that, if that's the case it won't help this bug :(

(In reply to comment #9)

They are creating an extension for that, if that's the case it won't help
this bug :(

Actually, this has already been implemented both as an extension and as a core change. There's a thread in wikitech-l[1] to discuss which approach should be used. I suggest you (and anyone else interested in this bug) to comment there voting for the core change option :)

See also [[mw:Suggestions for extensions to be integrated#Extension:Disambiguator]].

[1] http://www.gossamer-threads.com/lists/wiki/wikitech/327285

(In reply to comment #10)

See also [[mw:Suggestions for extensions to be
integrated#Extension:Disambiguator]].

Hm, that didn't get linked. Let me try again:
[[mw:Suggestions for extensions to be integrated]] (section "Extension:Disambiguator")

(In reply to comment #10)

(In reply to comment #9)

They are creating an extension for that, if that's the case it won't help
this bug :(

Actually, this has already been implemented both as an extension and as a
core
change. There's a thread in wikitech-l[1] to discuss which approach should be
used. I suggest you (and anyone else interested in this bug) to comment there
voting for the core change option :)

See also [[mw:Suggestions for extensions to be
integrated#Extension:Disambiguator]].

[1] http://www.gossamer-threads.com/lists/wiki/wikitech/327285

Looks like the rough consensus on wikitech-l was as an extension but the rough consensus on the mediawiki "Suggestions for extensions to be integrated" page was for in Core. I don't think we have a decision yet, 5 months later :-). These two issues are also a bit off topic for this bug report, from my understanding.

Also, on ENWP Special:Lonelypage it says:
"Updates for this page are currently disabled. Data here will not presently be refreshed." And the last update of the page was in January of '13. However, other MW wikis do use and keep that page updated/turned on.

Just updating the bug...

The disambiguation functionality ended up being implemented as an extension. That makes this bug a bit more challenging to fix, but not impossible. A hook could be added to LonelyPagesPage::getQueryInfo() allowing extensions to override the query parameters. Then a handler for that hook could be added to the Disambiguator extension. As long as the extension is installed, the disambiguation state is actually queryable in the database (which is 90% of the solution).

Change 106318 had a related patch set uploaded by Kaldari:
Add hook to allow extensions to modify the LonelyPages query

https://gerrit.wikimedia.org/r/106318

Change 106435 had a related patch set uploaded by Kaldari:
Modify the Special:LonelyPages query to ignore disambiguation pages

https://gerrit.wikimedia.org/r/106435

Change 106318 merged by jenkins-bot:
Add hook to allow extensions to modify the LonelyPages query

https://gerrit.wikimedia.org/r/106318

Change 106435 merged by jenkins-bot:
Modify the Special:LonelyPages query to ignore disambiguation pages

https://gerrit.wikimedia.org/r/106435