User:TechieNK/Cat2Data
Appearance
![]() | |
Description | Batch editor for adding and removing Wikidata property-value pairs |
---|---|
Author | TechieNK, Yaron_Koren |
Status | Stable |
First released | May 20, 2025 |
Updated | See latest edit |
Source | User:TechieNK/Cat2Data.js |
Install Cat2Data and easily manage Wikidata property-value edits for all files in a Commons category using an intuitive, conflict-free interface with autocomplete and live search support.
Install
[edit]Append the following line to your your common.js file.
importScript("User:TechieNK/Cat2Data.js");
Usage
[edit]- Go to your target Commons category page (e.g., Category:LibriVox - Les Misérables, by Victor Hugo).
- You will see a new tab labelled Data for files in the top navigation bar.
- Click on Data for files to open the property editor interface.
- Use the form to select properties and values you want to add or remove for all files in the category.
- Autocomplete suggestions and live Wikidata search help you quickly find valid properties and items.
- Click Go to apply your changes. A summary will display which values were added or already existed.
- All changes are applied safely and in bulk with edit summaries like Added via Cat2Data.
Note
[edit]- The Data for files tab will only appear on Commons category pages (i.e., pages in the Category: namespace). It will not be visible on file pages, user pages, or other namespaces.
- ⚠️ Currently, Cat2Data only supports editing the following Wikidata data types: wikibase-item, string, Point in time.
Demo video
[edit]
Credits
[edit]Cat2Data was created by Naresh Kumar Babu and Yaron Koren. Elements of the code and interface were inspired by the Wikidata Forage script.
The creation of Cat2Data was funded by a Wikimedia Rapid Grant.