Difference between revisions of "Issue:Notimageused"

From FollowTheScore
Jump to: navigation, search
m
m (Reply)
Line 36: Line 36:
 
imageused=Bob Ross.gif
 
imageused=Bob Ross.gif
 
</dpl></pre>
 
</dpl></pre>
:This returns <nowiki>[[Muha Test]] and [[Muha Test 2]], but I'd like to have the other page as result: [[User:Subfader/P1]]</nowiki> cos that doesn't use <nowiki>[[Image:Bob Ross.gif]]</nowiki> --[[User:Subfader|Subfader]] 21:23, 4 February 2010 (UTC)
+
:This returns <nowiki>[[Muha Test]] and [[Muha Test 2]], but I'd like to have the other page in [[:Category:Test Images]] as result: [[User:Subfader/P1]]</nowiki> cos that doesn't use <nowiki>[[Image:Bob Ross.gif]]</nowiki> --[[User:Subfader|Subfader]] 21:23, 4 February 2010 (UTC)

Revision as of 22:25, 4 February 2010

Description: List pages not using a certain image.
Extension / Version: DPL   /   ?
Type / Status: Change Request   /   open

Problem

Enable the opposite of imageused to find pages which do not use a certain image. Eaxmple:

<dpl>
category=Foo
notimageused = File:Test.jpg
</dpl>

This would return pages in Category:Foo which don't use [[File:Test.jpg]].

Reply

I couldn' t think of anyone who might need something like NOTimageused ...

Could you send me a working example of a SQL statement (maybe a derivative of the statement produced by DPL when specifying the imageused clause) ?

Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results.


Gero 15:55, 4 February 2010 (UTC)

"imageused=x.jpg" what did you test there? I mean the opposite. Find out which pages in a category don't use a certain image.
<dpl>
category=Test Images
imageused=Bob Ross.gif
</dpl>
This returns [[Muha Test]] and [[Muha Test 2]], but I'd like to have the other page in [[:Category:Test Images]] as result: [[User:Subfader/P1]] cos that doesn't use [[Image:Bob Ross.gif]] --Subfader 21:23, 4 February 2010 (UTC)