Learning patterns/Batch categorizing users' photos in Wikimedia Commons
What problem does this solve?
editIn photo events, GLAM projects, and other media-content projects, it helps to have photos (or any media) that were uploaded to Wikimedia Commons categorized as belonging to or generated by the project. Such categories can be used for project management purposes, and are especially helpful for gathering metrics, such as through the use of the GLAMorous tool. Unfortunately, users sometimes forget to add such categories, especially if they upload the photos manually and not via a batch upload tool.
What is the solution?
editUse the VisualFileChange tool to batch categorize users' photos. Please read the tool's documentation for general information on how to install and use the tool.
- When you have launched the tool, select "User name" and then enter the username of the user whose uploaded files need to be categorized.
- Under "Action", select "append any text".
- Check the "(De-)select all loaded" check box to select all files. Alternatively, you may browse through the file gallery and individually select files that you want to categorize. You can hover your mouse pointer over the "C" text icon to see which categories the file already belongs to.
- To avoid files that have already been categorized:
- Click on the "Advanced Select Files" button.
- Uncheck the "Select (/Deselect)" check box.
- Add the category name in the "In Category" field (without the "Category:" prefix).
- Click on the "Apply" button.
- In the "Please insert the text to be added to each selected file.:" text box, place the wikicode link for the category. It should be of the form "[[Category:<category name>]]".
- Click on "Execute (append any text)" button. The files should now be categorized.
Note that VisualFileChange does not load all the selected user's files at once. During step 3, you may need to scroll down the file gallery repeatedly to completely load all of the user's files in one go. Alternatively, you can use the tool's batch "mode" to categorize in batches. Please read the tool's documentation to learn more.
Things to consider
edit- VisualFileChange is a very powerful tool! Be careful in using it.
- Do not blindly categorize all of a user's photos/files. The user may have uploaded photos and files unrelated to your project.