Implement "Add New Work" feature with form and autocomplete functionality

To begin, get an authorization token from https://www.wikidata.org/wiki/Wikidata:REST_API/Authentication

  • Added a new route and template for adding a new work item.
  • Implemented a form with fields for title, work type, description, language, country of origin, publication date, genre, authors, and external links.
  • Integrated autocomplete functionality for the work type input, fetching suggestions from Wikidata.
  • Updated CSS for improved styling of the new form and suggestions.

The work form Screenshot_2025-10-17_013603

Note

This uses authorization token which can be gotten from https://www.wikidata.org/wiki/Wikidata:REST_API/Authentication

Edited by Afanyulionel

Merge request reports

Loading