Issue:Imagelinks criteria

From FollowTheScore
Jump to: navigation, search
Description: Allow page selection based on imagelinks
Extension / Version: DPL   /   1.6.9
Type / Status: Change Request   /   closed

Problem

I have a potential usage case where I need to retrieve a list of pages that use a particular image, but I found that neither linksto nor uses can do that.

For example, using linksto=Image:Baka dancers June 2006.jpg will effectively get the pages listed at Special:Whatlinkshere/Image:Baka_dancers_June_2006.jpg, rather than a list like that at Image:Baka_dancers_June_2006.jpg#Links.

In other words, I guess I would like a mechanism similar to linksto, but checks the imagelinks table instead of pagelinks.

Reply

This sounds reasonable. Could you make the necessary change? If you send me the modified source I will test it, adapt the documentation and make the change part of the next release. But I do not have time to develop this functionality. Although the DPL source code has grown quite a bit it should not be too complicated to make the change because it is basically an analogy to other, existing pieces of functionality. Gero 12:56, 17 April 2008 (CEST)

Done, see File:Imageused submission.zip. --Rezyk 00:25, 19 April 2008 (CEST)
Thanks, now it is part of DPL 1.7.0 --Gero 00:28, 21 April 2008 (CEST)

imageused=Baka dancers:

vs.

linksto=Baka dancers:

Nice. Thanks! --Rezyk 04:40, 21 April 2008 (CEST)