Last Comment Bug 813484 - Kuma: Add a "what links here" feature
: Kuma: Add a "what links here" feature
Status: NEW
Product: Mozilla Developer Network
Classification: Other
Component: General (show other bugs)
: unspecified
: All All
P2 enhancement (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
: 1038515 (view as bug list)
Depends on:
Blocks: 724930 1023763
  Show dependency treegraph
Reported: 2012-11-20 02:49 PST by Louis-Rémi BABE
Modified: 2014-07-15 00:17 PDT (History)
5 users (show)
See Also:
QA Whiteboard:
Iteration: ---
Points: ---


Description User image Louis-Rémi BABE 2012-11-20 02:49:30 PST
Before marking a page as junk, it is important to know "what links here".

This feature was available before the switch to Kuma.
Comment 1 User image Eric Shepherd [:sheppy] 2013-03-26 09:36:11 PDT
This would go in the "Site tools" drop-down menu we haven't added yet, along with the dashboards. See bug 841534.
Comment 2 User image Nickolay_Ponomarev 2013-05-01 13:20:52 PDT
bug 773855 is about the same feature for templates.
Comment 4 User image Les Orchard [:lorchard] 2014-06-13 10:37:29 PDT
(In reply to Florian Scholz [:fscholz] (elchi3) from comment #3)
> fwiw, Sumo has exactly this feature:
> firefox/links

Hmm, though also FWIW, I'm not sure I'd do it *exactly* the way kitsune does it [1].

Looks like they maintain a MySQL table with an inventory of links between docs. Rows get deleted and reinserted on parsing the doc at render time. I'd rather try doing this in elasticsearch as a parse-and-index job in the background, similar to what we do with CSS class names and such.

Comment 5 User image Les Orchard [:lorchard] 2014-06-13 10:42:24 PDT
Oh, and another reason why I'd rather do it in elasticsearch: One of our use cases is bug 1023763, where docs are possibly linking to wiki URLs that don't exist yet. The kitsune approach tracks existing docs linking to existing docs. So, that is kind of a non-starter.

I think we need to find all docs that contain a link to some arbitrary URL string, whether that doc exists yet or not.
Comment 6 User image Florian Scholz [:fscholz] (MDN) 2014-07-15 00:17:23 PDT
*** Bug 1038515 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.