Page MenuHomePhabricator

Tooltip on "Article" tab sometimes does not match tooltip on "Talk" tab depending on namespace
Open, LowPublicFeature

Description

Author: Jason_quinn

Description:
On an article in MAIN space, the tooltip when the mouse hovers over the Article and Talk tabs are, respectively:

View the content page [alt-shift-c]
Discussion about the content page [alt-shift-t]

In TEMPLATE space we have

View the template [alt-shift-c]
Discussion about the content page [alt-shift-t]

In MEDIAWIKI namespace:

View the system message [alt-shift-c]
Discussion about the content page [alt-shift-t]

In USER namespace:

View the system message [alt-shift-c
Discussion about the content page [alt-shift-t]

and so on. Clearly somebody thought it would be a good idea to customize the tooltip for the Article tab based on namespace but forgot to make the Talk page's message match.

There are two possible solutions:

  1. Make them match or,
  2. Do not customize the messages in the first place.

I'm thinking that solution #2 is a good one. If the messages were just:

View the content page [alt-shift-c]
Discussion about the content page [alt-shift-t]

for all namespaces, I don't see any major problem. I think "content" can be interpreted as meaning more than just *article* content; so the need for the messages to be different may not exist in the first place. Plus, it's only clear where the "c" in the keyboard accelerator comes from "content page".
Getting rid of the specialized messages would be an easy way to simplify the code-base a tiny bit.


Version: 1.23.0
Severity: trivial

Details

Reference
bz63846

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:18 AM
bzimport set Reference to bz63846.
bzimport added a subscriber: Unknown Object (MLST).

Calling it "content" is imho inappropiate.

While you are right strictly speaking, in the English language, "content" can mean a lot. Certainly from the back-end perspective, all editable wiki pages have "content" (WikiPage content, ContentHandler etc.).

However from the user perspective, there's two things:

  • We refer to the main namespace as "Page", in e.g. tabs and other messages:

    ns=0: Page ns=1: Talk ns=2: User ns=10: Template ns=8: Message
  • We refer to namespaces holding the primary pages for readers "content namespaces" (as opposed to internal politics such as templates, discussion pages, wikiproject pages, user pages, etc.).
Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 5 2022, 2:35 PM
Aklapper removed a subscriber: wikibugs-l-list.