Difference between revisions of "Issue:Find unused files"

From FollowTheScore
Jump to: navigation, search
m
Line 10: Line 10:
 
Is there a way to select images that are used (il_to NOT NULL, linked to by any other page)) or unsed?<br>I want to return a simple list of unused images, but also in combination, e.g. unused files, uploaded by a specifed user.<br>This should actually return a simple list of 5 unused files (if I understand the parameter correctly), but it doesn't.
 
Is there a way to select images that are used (il_to NOT NULL, linked to by any other page)) or unsed?<br>I want to return a simple list of unused images, but also in combination, e.g. unused files, uploaded by a specifed user.<br>This should actually return a simple list of 5 unused files (if I understand the parameter correctly), but it doesn't.
 
<pre>{{#dpl:
 
<pre>{{#dpl:
 +
|debug=3
 
|namespace=Image
 
|namespace=Image
 
|notlinksfrom=%
 
|notlinksfrom=%
Line 15: Line 16:
 
}}</pre>
 
}}</pre>
 
{{#dpl:
 
{{#dpl:
 +
|debug=3
 
|namespace=Image
 
|namespace=Image
 
|notlinksfrom=%
 
|notlinksfrom=%
 
|count=5
 
|count=5
 
}}
 
}}
 
 
  
 
== Reply ==
 
== Reply ==
 +
The problem is that <tt>notlinksfrom</tt> expects an exact article name; it does not understand 'LIKE %'.

Revision as of 20:44, 1 May 2009

Description: Return unused files
Extension / Version: DPL   /   ?
Type / Status: Change Request   /   open

Problem

Is there a way to select images that are used (il_to NOT NULL, linked to by any other page)) or unsed?
I want to return a simple list of unused images, but also in combination, e.g. unused files, uploaded by a specifed user.
This should actually return a simple list of 5 unused files (if I understand the parameter correctly), but it doesn't.

{{#dpl:
|debug=3
|namespace=Image
|notlinksfrom=%
|count=5
}}

Reply

The problem is that notlinksfrom expects an exact article name; it does not understand 'LIKE %'.