Page MenuHomePhabricator

Option to show/hide disambiguation pages in Special:ShortPages
Closed, DuplicatePublic

Description

Author: shijualex

Description:
This enhancement request affects two Special pages.

  1. Special:ShortPages
  2. Special:AllPages ------------------------------------------------------------------------------------

*Request 1
Currently the [[Special:ShortPages]] link displays all the short pages irrespective of its nature.

http://en.wikipedia.org/w/index.php?title=Special:ShortPages&limit=500&offset=0

It will be nice if there is some option/link that which will help me to sort out the (disambiguation) pages from this list. The reason is, in most cases content will not be added to disambiguation pages once the various articles are created. Hence all these pages will always show up as the first enteries in the ShortPages list. And it is very difficult to hunt for the actual short pages from the sea of (disambiguation) pages.

The current implimentation may make sense from the perspective of english wikipedia. But for some wikies (like Malayalam), where the community does not allow the creation of unnecessary stubs the current implimenation is a headache. http://en.wikipedia.org/w/index.php?title=Special:ShortPages&limit=500&offset=0

Because of this almost all the pages that are listed on the short pages are disambiguation pages. We would like to see an option that will hide all the xxxxx(നാനാര്‍ത്ഥങ്ങള്‍) pages (equivalent of disambiguation page) in Malayalam wiki.

*Request 2
I request a similar feature to sort out the redirect pages from the [[Special:AllPages]] list.


Version: unspecified
Severity: enhancement
URL: http://mediawiki.org

Details

Reference
bz15341

Event Timeline

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

shijualex wrote:

Hello,

If this enhancement can be implimented it would be of great help for the wikipedias (especially big wikipedias) to view the stub articles very easily and improve it.

In malayalam wikipedia it is extremely difficult to locate the stub articles from the short page list (http://ml.wikipedia.org/w/index.php?title=Special:ShortPages&limit=500&offset=0
). The reason is, most of the article links that are listed on the short page list are disambiguation pages (atleast the first 1000 entries in the short page list).

Also it would be great if a similar feature can be implemented for filtering out the redirerct pages from the [[Special:AllPages]] list.

aeronmichaelangelo wrote:

I completely agree. Disambiguation pages, by definition, aren't pages at all. They are more like redirects that take you to multiple different pages instead of one, reader driven. I would think that something as simple as making the Special page read the {{Disambig}} tag would allow it to know better and overlook it.

Strongly recommend WONTFIX for performance reasons. Because of the index on page_len, the Shortpages query is efficient enough so it doesn't have to be cached on big wikis like Wikipedia. Filtering by disambig status is very expensive and would destroy that advantage.

  • Bug 19465 has been marked as a duplicate of this bug. ***
  • Bug 32342 has been marked as a duplicate of this bug. ***
  • Bug 22582 has been marked as a duplicate of this bug. ***

is it possible to index disambiguation pages in database like interwiki or category?

See
http://toolserver.org/~schutz/cgi-bin/displayshortpages.pl
for an example of a list of short pages with more features. Unfortunately it only works for enwiki.

shijualex wrote:

(In reply to comment #9)

See
http://toolserver.org/~schutz/cgi-bin/displayshortpages.pl
for an example of a list of short pages with more features. Unfortunately it
only works for enwiki.

Is it possible to extend this tool for other languages?

(In reply to comment #10)

Is it possible to extend this tool for other languages?

Keep an eye on the author's talk page: [[User talk:Schutz#Short pages on Portuguese Wikipedia]].

Maybe this is easier to solve now that [[mw:Extension:Disambiguation]] is available?

(In reply to comment #12)

Maybe this is easier to solve now that [[mw:Extension:Disambiguation]] is
available?

Kaldari, do you know if the new extension helps with this bug?

(In reply to comment #12)

Maybe this is easier to solve now that [[mw:Extension:Disambiguation]] is
available?

I mean, [[mw:Extension:Disambiguator]].

Yes, it should be relatively easy to solve this bug now. The only complication is that since Disambiguator is an extension, you'll want to modify the query via a hook instead of directly in the special page code.