Page MenuHomePhabricator

Distinguish disambiguation pages in [[Special:Allpages]]
Open, LowPublic

Description

Author: dunc_harris

Description:
I'm not sure this can be done without fixing T8754 first, but...

[[special:allpages]] identifies redirect pages from all other pages. Redirects are in <i>italics</i>, whereas other pages are not. I want to split all other pages into article pages and disambiguation pages, so developing the theme, I think it would be good to put disambiguation pages in <b><i>bold italic</b></i>.

Details

Reference
bz7936

Event Timeline

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

This is currently implemented by putting the REDIRECT title in <div
class="allpagesredirect">…</div> and then applying a CSS style to that class: this
enables users to highlight the REDIRECTs (my custom CSS makes them smaller).

Maybe we could have <div class="allpagesdisambig">…</div> in similar vein?

lcarsdata wrote:

<div class="allpagesdisambig">…</div> would be a good method of doing this, it
may be possible to use code from [[Special:Disambiguations]]. See bug 9319 for a
similar request.

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

Change 241911 had a related patch set uploaded (by Eileen):
T9936 Civi46: remove calls to pseudoconstants:individualPrefix & Suffix

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

Change 241911 merged by Awight:
T9936 Civi46: remove calls to pseudoconstants:individualPrefix & Suffix

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

All pages in a namespace should be listed in [[Special:AllPages]].

You're looking at this problem the wrong way round. The solution to having disambiguation pages listed in the main namespace is to remove them from the main namespace and put them into a Disambiguation namespace. Use a bot to ensure that e.g. [[English]] redirects to [[Disambiguation:English]].

There will be pushback from the community for this, but for the invalid reason that "they changed it now it sucks" https://tvtropes.org/pmwiki/pmwiki.php/Main/TheyChangedItNowItSucks

The expectation that the mainspace of the wiki is basically closed in itself is quite reasonable, and the desire to not confront unsuspecting readers with prefixes like "Disambiguation:" as well. Finally, any suggestion which requires a regular bot run to restore basic functionality is obviously out of the question.