User:Zexi.gong721/Final Report

Project Overview
The objective of this project was to establish an efficient workflow that enables users to retrieve media relevant to a currently viewed topic in Wikidocumentaries from a designated media repository and upload it to Wikimedia Commons while incorporating structured data statements. The project aimed to address various challenges in authentication, media upload, and structured data generation.

Mentors: Susannaanas, TuukkaH

Authentication
The authentication component was a pivotal aspect of the project, as it allowed users to securely interact with Wikimedia Commons. The authentication process presented challenges, primarily in comprehending the OAuth 2.0 workflow and adapting it to the context of the project. Until now, the OAuth 2.0 authentication mechanism was successfully integrated into the project.

The authentication aspect of the project was addressed by introducing a visual indicator in the toolbar that reflects the user's status.

//picture of icon

Clicking on this icon triggers a dropdown menu that provides options for logging in or logging out, along with displaying the username if the user is logged in.

//picture of icon

Upon clicking the login option, users are redirected to the Wikimedia Commons authentication page. After successful login, users are automatically redirected back to the previous page in Wikidocumentaries, creating a cohesive and uninterrupted experience.