Page MenuHomePhabricator

in Page namespace, provide link(s) to ns0 page(s) which transclude the current Page:
Open, LowPublic


In pages of Page namespace, it would be useful to have a direct link to the pages in ns0 that transclude the current Page.

Example: I have a page Page:SomeNovel.djvu/42. This page contains the end of Chapter 3 and the beginning of Chapter 4 of SomeNovel, so Page:SomeNovel.djvu/42 is transcluded into SomeNovel/3 and SomeNovel/4.
So on the top of the screen, near the tabs "<", ">", "Page", "Image", "Index", I would like to have 2 similar tabs: "Chapter 3" and "Chapter 4".
In this way, from Page 42 I can go directly to Chapter 3 and check if page 42 looks nice when transcluded there.

This has been implemented on it.source as a gadget, but I think it would be nice to embed this feature in the ProofreadPage extension.

Gadget source code:

Example page with 2 links (the two tabs with the open book icon):

The gadget calls the API with action=query, list=embeddedin, einamespace=0, and the Page title, to obtain the list of ns0 pages where Page is transcluded, and then for each result just puts a new tab in the #p-namespaces bar.
So this task is about doing the same thing at the ProofreadPage extension level, to make it into a standard feature of ProofreadPage.

Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:46 AM
bzimport added a project: ProofreadPage.
bzimport set Reference to bz49023.
bzimport added a subscriber: Unknown Object (MLST).
Candalua created this task.May 31 2013, 7:38 PM
Phe added a comment.Jul 10 2013, 12:50 AM

Isn't 'What links here' sufficient ?

(In reply to comment #1)

Isn't 'What links here' sufficient ?

No, absolutely. 'What links here' takes you to a *separate* page, where you see links, transclusions, redirect, all together. My proposal is to have a *direct* link to only the pages of ns0 that transcludes the current page, excluding links and other stuff that one doesn't really need to see. On it.source this has proved to be really useful, you can quickly and easily check whether a Page is transcluded or not and where, and check how it looks when it's transcluded, without losing any time searching in the 'What links here' page.

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 17 2015, 12:30 PM
Candalua updated the task description. (Show Details)Jan 7 2017, 1:22 PM