Jump to content

Show links from template inclusions separately in WhatLinksHere, just like links to redirects (Community Wishlist/W185/fr)

Proposed wish
From Meta, a Wikimedia project coordination wiki

View all wishes.

Description

This is about the Special:WhatLinksHere page.

Currently, if I visit Special:WhatLinksHere/XYZ:

  • Pages that link to redirect to the XYZ show up as a sublist under the redirect page. That is very practical.
  • Pages that include a template that links to XYZ show up in the main list, just as if they were directly linking to XYZ. That is much less practical, as they get in the way of actual pages with direct links.

This is a wish for displaying pages including templates with links the same way as pages linking to redirects.

A made-up example below.

Currently would be:

Special:WhatLinksHere/Pineapple

  • Apple
  • Economy of Brazil
  • Peach
  • Template:Fruit navigation
  • Cuisine of Hawaii
  • Banana
  • List of juices
  • Ananas (redirect)
    • List of Brazilian fruits
    • List of plant names
    • Romance languages
  • Pear
  • Blueberry

Ideally it should show up as:

Special:WhatLinksHere/Pineapple

  • Economy of Brazil
  • Cuisine of Hawaii
  • List of juices
  • Ananas (redirect)
    • List of Brazilian fruits
    • List of plant names
    • Romance languages
  • Template:Fruit navigation (inclusion)
    • Apple
    • Peach
    • Banana
    • Pear
    • Blueberry

Souhait connexe : W338 : Ajouter l'option masquer les modèles à la page Liens vers cette page

Assigned focus area

Unassigned

Type of wish
System change
Tags
Affected users

Contributors who use Special:WhatLinksHere

Phabricator tasks
Other details
  • Created: 08:47, 2 August 2024
  • Last updated: 03:23, 7 November 2026
  • Author: Nclm (talk)
Voting

This wish currently has 16 supporters. Voting for this wish is open until it is completed.

Supporters of this wish
Support Nclm (talk) 08:47, 2 August 2024
Support Pppery (talk) 16:31, 10 October 2025
Support as good as the related wish if one can collapse / hide these lists of wikilinks from only the template but not the article body (it can be a very long list) Prototyperspective (talk) 17:55, 13 October 2025
Support Nardog (talk) 09:27, 22 October 2025
Support Toadspike (talk) 12:57, 24 November 2025
Support Jmabel (talk) 00:50, 5 December 2025
Support This would be very helpful indeed! Waldyrious (talk) 22:30, 12 December 2025
Support But care will be needed to avoid usability regressions. The feature will need to be able to be turned off (on Wiktionary, virtually all links come from templates, so the feature will probably be much less useful there than on Wikipedia). And careful thought will need to be given to the best way to display links passed INTO templates (e.g. {{infobox country|capital=[[Springfield]]}} or {{quote|four [[score]] and seven years ago}}). This, that and the other (talk) 05:14, 15 March 2026
Support Ponor (talk) 18:04, 24 October 2026
Support With the same caveats that This, that and the other point out. Axolitl (talk) 04:43, 25 October 2026
Support W338 is probably the better option GhostInTheMachine (talk) 07:58, 25 October 2026
Support This or W338. Draceane (talk) 15:13, 27 October 2026
Support Ahecht (talk) 16:11, 27 October 2026
Support Ideally this will apply to navigation templates that contain a bunch of links, but not to templates that are used to create specific links (such as en:Template:See_also). This might be accomplished by a flag on each template, or by checking whether the template itself (with no parameters) outputs the same link. Jruderman (talk) 08:07, 29 October 2026
Support Rusalkii (talk) 17:34, 29 October 2026
Support This is the exact specific implementation I mentioned on W338. Would be a tremendous change. Chipmunkdavis (talk) 13:48, 31 October 2026