Difference between revisions of "Issue:Imagelinks criteria"

From FollowTheScore
Jump to: navigation, search
(New page: {{Issue |Type = Change Request |Extension = DPL |Version = 1.6.9 |Description = Allow page selection based on imagelinks |Status = open }} == Problem == I have a po...)
 
m (Reply)
 
(5 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
  |Version    = 1.6.9
 
  |Version    = 1.6.9
 
  |Description = Allow page selection based on imagelinks
 
  |Description = Allow page selection based on imagelinks
  |Status      = open
+
  |Status      = closed
 
}}
 
}}
  
Line 15: Line 15:
  
 
== Reply ==
 
== 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. [[User:Gero|Gero]] 12:56, 17 April 2008 (CEST)
 +
:Done, see [[Image:Imageused submission.zip]]. --[[User:Rezyk|Rezyk]] 00:25, 19 April 2008 (CEST)
 +
:: Thanks, now it is part of DPL 1.7.0 --[[User:Gero|Gero]] 00:28, 21 April 2008 (CEST)
 +
 +
imageused=Baka dancers:
 +
<dpl>
 +
imageused = Baka dancers June 2006.jpg
 +
</dpl>
 +
 +
vs.
 +
 +
linksto=Baka dancers:
 +
<dpl>
 +
linksto = Image:Baka dancers June 2006.jpg
 +
</dpl>
 +
:::Nice. Thanks! --[[User:Rezyk|Rezyk]] 04:40, 21 April 2008 (CEST)

Latest revision as of 03:40, 21 April 2008

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)