Page MenuHomePhabricator

Organize Whatlinkshere by section (and support transclusion)
Closed, ResolvedPublic

Description

For long pages, whatlinkshere organized by section would be most useful... especially as deep linking to sections becomes more prominent.

In particular, for long pages that one wants to scroll through, one often transcludes a number of shorter [sub]pages. This makes editing and history browsing easier on the subpages, allows direct links to talk and navigation for each subpage, and provides a clean summary view.

However, this plays tricks on whatlinkshere. If you link to subpages, that info is hidden when checking whatlinkshere for the full page with transclusions. If you link to sections in the transcluded page, it becomes difficult to figure out which inbound links correspond to which section/subpage.

A good solution to this would both support whatlinkshere sorting/organization by section (which would be useful for all long pages), and/or a separte option to see "whatlinkshere" for both the page and all transcluded pages. As a matter of fact, this is one place where the difference between a transcluded template and a transcluded page can be put to use : a template is one such that 'wlh' for it is not interesting to the pages that transclude it; any other page is one for which it is likely to be.

(Aside : there should be a 'transclusion' component, not just one for templates)


Version: unspecified
Severity: enhancement

Details

Reference
bz13087

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:04 PM
bzimport set Reference to bz13087.
bzimport added a subscriber: Unknown Object (MLST).
  • This bug has been marked as a duplicate of bug 10310 ***