File metadata cleanup drive/How to fix metadata
Add information templates to files that don't have oneFor each wiki, we need to identify files that don't have any information templates, then add one. Finding images without an information templateTo find images without an information template, look at the automatically-added categories for files missing a description, missing an author and missing a source. If you can't find the categories on your wiki, check their name on your wiki at For example, on the Italian Wikipedia, MediaWiki:Commonsmetadata-trackingcategory-no-author is Adding the information template with botsTry to find groups of files whose description pages are similar, so that we can use bots to automatically take that information and put it into an information template. Once you find groups of files with information in the same order or format, you can use a bot to add the information template around the existing information (example). If you don't have a bot, you can ask a bot owner on your wiki to help you.
Using the add-information toolAlternatively, you can use the Labs tool to see files that don't have any of the accepted information templates. The tool tries to guess how to add the information template and suggests a possible edit for you (example). Sadly, this tool is limited to English wikis. Add machine-readable markers to information templatesFor wikis outside Commons, we need to check the list of interwiki links to see if your wiki already has an Information template. Your wiki doesn't have an information template yet
Your wiki already has an information templateIf the template on your wiki was imported from Commons in the last few years, it probably has the markers. Otherwise, you can add them:
<td id="fileinfotpl_desc">Description:</td> <td>{{{description}}}</td>
If you're unsure how to mark the fields, check the example or ask for help. Add machine-readable markers to copyright templatesIn order for tools to be able to correctly identify the license of a file, we need to edit the license templates to add machine-readable markers. This is easy and only needs to be done once on each licence template.
Optional tags:
Templates containing multiple licensesIf a template contains several licenses (for example, successive Creative Commons versions), add the markers for each license, and wrap everything in a block using the Assessments that are not licenses (Public domain, fair use)For Public domain assessments, fair use assessments etc., use the same CSS classes:
For non-free images (under fair use, etc.), also add the See an example: Fair use template on the English Wikipedia. Note: Adding the markers to the page doesn't mean you have to show them. For example, you can hide the field containing |
Measure your progressOnce you've added the markers to the templates, you need to wait a little for the markers to propagate to the files. After a few days, you should see a change on the progress dashboard for your wiki. You can also find templates to work on with a database query to list most common templates in a category. Get help
Read more |