Difference between revisions of "Issue:Hook into Special:Whatlinkshere"

From FollowTheScore
Jump to: navigation, search
Line 16: Line 16:
 
There is, however, a way to explicitly PREVENT MediaWik from showing links which come from DPL queries: See the [[reset]] and [[eliminate]] Command.
 
There is, however, a way to explicitly PREVENT MediaWik from showing links which come from DPL queries: See the [[reset]] and [[eliminate]] Command.
 
:[[User:Gero|Gero]] 09:14, 9 April 2008 (CEST)
 
:[[User:Gero|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:
 +
 +
<pre>
 +
<dpl>
 +
category = Whatlinksheretest
 +
</dpl>
 +
</pre>
 +
 +
The article [[Test what links here with categories page]] is in the category "Whatlinksheretest". However, when you visit [[Special:WhatLinksHere/Test_what_links_here_with_categories_page]], the results are blank. [[User:Maiden taiwan|Maiden taiwan]] 21:30, 7 July 2009 (UTC)

Revision as of 22:30, 7 July 2009

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 Test what links here with categories page is in the category "Whatlinksheretest". However, when you visit Special:WhatLinksHere/Test_what_links_here_with_categories_page, the results are blank. Maiden taiwan 21:30, 7 July 2009 (UTC)