Issue:Hook into Special:Whatlinkshere

From FollowTheScore
Revision as of 02:13, 8 July 2009 by Subfader (talk | contribs)
Jump to: navigation, search
Description:
Extension / Version: DPL   /   1.6.8
Type / Status: Change Request   /   open

Problem

Special:Whatlinkshere does not detect DPL-generated lists, of course. It would be great if it could detect them. Right now, if you visit Special:Whatlinkshere for a given article, and it returns no results, you can be fooled that nobody links to your article, and perhaps it's safe to delete... but DPL-generated lists might link to it, and you'll never know about it.

Reply

You are not right. Look at the example Test what links here. This article lists a certain page. And that is the only reference to that page. Go to that page and check the "what links here". It will show the article containing the DPL query.

There is, however, a way to explicitly PREVENT MediaWik from showing links which come from DPL queries: See the reset and eliminate Command.

Gero 09:14, 9 April 2008 (CEST)

Test case

OK, here is a test case that shows Special:Whatlinkshere does not detect some DPL-generated lists. The article Test what links here with categories contains a DPL tag that selects on a category:

<dpl>
category = Whatlinksheretest
</dpl>

The article Article connected by DPL category keyword is in the category "Whatlinksheretest". However, when you visit Special:WhatLinksHere/Article connected by DPL category keyword, the results do not contain Test what links here with categories. Maiden taiwan 21:30, 7 July 2009 (UTC)

Haha, exactly the opposite of what I want. I see DPL as dynamic, i.e. it outputs lists for queries like a search result. It checks which pages match your DPL criteria and outputs links in most case. And in fact, actually no page LINKS to your article. DPL just lists it on your test page because you searched for articles in a certain category the article belongs to. If your page was deleted it wouldn't be resulted by the DPL query. A handmade link on a page would be defunct. Big difference. Furthermore, if your DPL output was a long list with navigation and your article on navigation page 2, the DPL page wouldn't be counted as LINKING TO as well (I suppose). What's the sense then??? Think about it. I'm in favour of disabling all references for "what links here" and "file links" on image pages, then add a parameter to ENABLE the reference like enablerefs=true (still if the DPL list had a navi it wouldn't make sense, at least it's not DPL's fault when a user enables refs on navigations list oputput). --Subfader 01:02, 8 July 2009 (UTC)