The Sims Wiki:Todo/explained: Difference between revisions

added duplicate images
imported>Duskey
(added orphaned pages)
imported>Duskey
(added duplicate images)
Line 1:
Here you will find the tasks from the [[{{NAMESPACE}}:{{BASEPAGENAME}}|To-do list]] in greater detail.
 
==Dead-end pages==
Line 6:
|diff=1
|pages=
 
*[[Special:DeadendPages]]
*[[Help:Links]]
Line 18 ⟶ 19:
|diff=1
|pages=
 
*[[Special:LonelyPages]]
*[[Help:Links]]
Line 24 ⟶ 26:
New articles often end up here as no other articles link to them. You can think of related articles and link the orphaned page in a "See also" section. We also have many [[:Category:Lists]], perhaps the orphaned page fits in on one of them.
{{clr}}
 
==Duplicate images==
{{Task-infobox
|title=Duplicate images
|diff=Admin
|pages=
}}
At the bottom of an image page it will show a link to a duplicate image, just above 'what links here' if the [[Wikipedia:Hash function|hash values]] of the images are the same. This means the images have to be completely identical, if someone changes just one pixel in an image and uploads it again, it will not be detected.
 
The [[Special:FileDuplicateSearch]] page leaves much to be desired since you can only search for the title of an image, which is silly since then you'd have to know beforehand that the image is a duplicate. There's a forum thread about how to more effectively search for duplicate images on [[w:Forum:Search for duplicate files|Community Central]].
 
Luckily there is a work-around. The [http://www.wikia.com/api.php Wikia API] can be used to produce a list of all images where the duplicates are marked:
 
<code>http://sims.wikia.com/api.php?action=query&generator=allimages&prop=duplicatefiles&gailimit=500</code>
 
Just look for the indented <code><duplicate file></code> in the list. Regular users are limited to displaying 500 files at a time. To continue on "the next page" add <code>&gaifrom=</code> and then the last file on the list (without the File: prefix) eg.
 
<code>http://sims.wikia.com/api.php?action=query&generator=allimages&prop=duplicatefiles&gailimit=500&gaifrom=filename.ext</code>
 
If you have a bot account or if you are at least a sysop, the <code>&gailimit=</code> can go up to 5,000.
 
<code>http://sims.wikia.com/api.php?action=query&generator=allimages&prop=duplicatefiles&gailimit=5000</code>
 
{{SITENAME}} currently has {{NUMBEROFFILES}} files. That's some pages to search for regular users, but only 2 pages for bots and admins.
 
[[Category:Site maintenance|{{PAGENAME}}]]
Anonymous user