Proof of concept: add work form, with autocomplete
This MR (closes T407558 introduces a new page, add-work.html, that serves as a proof of concept for creating a new "Work" item form in Paulina.
Details:
Added a basic web form with input fields for:
Title
Description
Work Type (includes real-time autocomplete functionality)
Implemented autocomplete using the Wikibase REST API endpoint: https://www.wikidata.org/w/rest.php/wikibase/v0/entities/search?site=wikidata&language=en&limit=10&search=
The autocomplete dynamically fetches and displays possible values for the P31 (instance of) property as the user types.
Maintains Paulina’s consistent layout by inheriting the existing header and footer components.
This is a proof of concept only — no form submission or backend logic implemented yet.
This page lays the foundation for a future workflow that allows users to easily create new Wikidata “Work” items without manually entering QIDs. It enhances usability by leveraging live search to surface entity suggestions from Wikidata. Screen_Recording_2025-10-17_at_1.09.31_AM