Page MenuHomePhabricator

Hovercards: Only have Hovercards turned on for links to $wgContentNamespaces
Closed, ResolvedPublic

Description

List of Pages where hover cards should be turned off:

  • Article History

Version: unspecified
Severity: enhancement

Details

Reference
bz63181

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:51 AM
bzimport added a project: Page-Previews.
bzimport set Reference to bz63181.

-Article History
-Talk Page for the article
-Homepage - User Guide, Development

Lets try to get the list of pages together in the thursday meeting so Prateek can submit the patch for this.

Dan, Assigning this to you so you can drive the final list.

Renaming to reflect the consensus of the team.

We still need the list of where all it "doesn't" need to show up because that is how I'll have to write the code. It'll have to be subtractive. Sorry, I didn't realize this during the call.

Dan:
Do you/we want it to only function /in/ the main namespace?
Or, to only function for /links to/ the main namespace?
I assume both are possible.

Prateek:
Re: lists, possibly you're looking for [[Wikipedia:Namespace]] and [[wikt:Wiktionary:Namespace]] and [[m:Help:Namespace]] ?

(In reply to Quiddity from comment #6)

Dan:
Do you/we want it to only function /in/ the main namespace?
Or, to only function for /links to/ the main namespace?
I assume both are possible.

I think a tightly narrowed focus would give us the best success for the first release, so I think having it only function in the mainspace would be best.

@Prateek: Note that Dan and I discussed this in today's meeting, and he's going to be giving the matter more thought. So don't change anything yet. ;)

(Ie. It /might/ be worth continuing to allow Hovercards to function for links /to/ mainspace articles, from other namespaces. Eg. a link to [Foobar] in the [WP:Village pump (technical)].

I'm in agreement with Quiddity. I think it would be preferable for Hovercards to function for links /to/ the main namespace, even when on pages in other namespaces.

I guess keeping the links would only make sense once bug 65117 is resolved.

What about the other content namespaces in $wgContentNamespaces?

(In reply to Helder from comment #11)

What about the other content namespaces in $wgContentNamespaces?

Errr. That'll teach me for not adding my hesitation within a comment! IANAD. I was just trying to amend the (old old) summary, to be clearer. Please fix it, in a way that makes the most sense. (Perhaps: "Only have Hovercards turned on for links to $wgContentNamespaces" ?) Thanks.

phuedx claimed this task.
phuedx added subscribers: wctaiwan, phuedx.

AFAICT this was fixed by @wctaiwan in 642bdf0 as part of T93605.