Difference between revisions of "Issue:Notimageused"

From FollowTheScore
Jump to: navigation, search
m
m (Reply)
Line 31: Line 31:
 
[[User:Gero|Gero]] 15:55, 4 February 2010 (UTC)
 
[[User:Gero|Gero]] 15:55, 4 February 2010 (UTC)
  
 +
:NOTimageused comes in handy for image maintenance when you use your wiki more like a content management system.
 
:"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.
 
:"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.
 
<pre><dpl>
 
<pre><dpl>

Revision as of 22:26, 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)

NOTimageused comes in handy for image maintenance when you use your wiki more like a content management system.
"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)