用户:Taketa/Images
System to get images on articles by checking if Wikipedia and/or Wikidata have an image and providing lists of pages that can be improved. This system is already succesfully in use on the Danish Wikipedia and Dutch Wikipedia. So far images have been added to 1000-1100 pages on zh.wikipedia.
Overview
编辑- Category:维基数据有相关图片而本地未添加的条目 - 8.522 pages (<- add images to Wikipedia)
- Category:本地相关图片与维基数据相同 - 4.554 pages (<-- no change needed)
- Category:本地相关图片与维基数据不同 - 20.967 pages (<-- no change needed)
- Category:维基数据和本地均无相关图片的条目 - 89.074 pages (<-- Wikidata is incomplete, img can exist)
- Category:本地有相关图片而维基数据未添加的条目 - 7.964 pages (<-- add images to Wikidata)
Total pages covered by the system: 131.081 (16,94% of all pages).
For the templates used see User:Taketa/Images/Templates.
How you can help
编辑- Go to Category:维基数据有相关图片而本地未添加的条目 and add images from Wikidata to the articles on Wikipedia.
The system will update itself once you have added an image to an article, though this might take halve a day.
Note; Some pages cannot be improved and will clutter the category, ignore these
Problems you can run into
编辑After images have been added to all articles some articles will be left without images. This is due to some images on Wikidata not being usefull to Wikipedia, or because there is a second template on the page without an image, or because the images are on the page, but not in the template. About 15% of the pages in Category:维基数据有相关图片而本地未添加的条目 cannot be improved. This amount will increase as improved pages are taken off the list. Eventually all pages on the list cannot be improved. It will then only function as a way to monitor any changes.
How it works
编辑This is done by Template:Wikidata image, which when added to a template can see whether or not the pages that use that template have an image in the template. The pages are then put in a category to differentiate them. To add the template Wikidata image, add the following to a template (example [1]) and change the "image"to whatever that templates uses, like "image" or "Image" or "images":
<includeonly>{{Wikidata image|1={{{image_name|}}}{{{圖像|}}}{{{image|}}}{{{图像|}}}{{{Img|}}}{{{圖片|}}}{{{photo|}}}{{{圖片尺寸|}}}{{{圖片簡介|}}}{{{圖片簡介|}}} }}</includeonly>