Page MenuHomePhabricator

Wikisource Integration (Case Visualization via Wikisource API)
Closed, InvalidPublic

Description

Description:
A new feature will be added to integrate the Wikisource API, allowing the web app to visualise and display full Supreme Court case texts directly from Wikisource. When a case is uploaded to Wikisource under a designated category (e.g., “Ghana Supreme Court Cases”), it will automatically link to the corresponding Wikidata item and appear on the web app interface.

Functionality:

When a case exists both on Wikidata (metadata and structured data) and Wikisource (full text or scanned copy), the web app will detect this link automatically.

The integration uses the Wikisource API to:

  • Fetch the case text, including formatting and annotations.
  • Display the text inline within the web app or as a preview panel beside the case metadata.
  • Provide a direct link to view the full document on Wikisource for further reading or citation.
  • Whenever a new case document is uploaded to Wikisource under a recognized category, it is automatically associated with its Wikidata QID (unique item identifier).
  • This creates a live connection between both platforms, ensuring the web app always reflects the latest available cases without requiring manual updates.

Purpose/Benefit:

  • Provides users with a complete experience—viewing both the structured data (metadata) and the full case text in one place.
  • Strengthens interoperability between Wikidata and Wikisource, encouraging collaborative documentation of Ghanaian and African legal materials.
  • Reduces redundancy and manual linking efforts by automating synchronisation between Wikidata and Wikisource.
  • Promotes transparency and open access to primary legal documents, empowering researchers, students, and the public to engage directly with source material.

Event Timeline

Yawtuba changed the task status from Open to In Progress.Dec 16 2025, 2:33 PM
Yawtuba changed the task status from In Progress to Open.Dec 16 2025, 4:03 PM
Yawtuba removed Yawtuba as the assignee of this task.
Yawtuba subscribed.

i will work on this task if the mentor approves me to do so
@JorisDarlingtonQuarshie and @SincerelySaeed5000
Note that this task does not have WMA-Hackchallenge tag, please kindly add the tag.

thanks

Maxicov subscribed.