Steps to replicate the issue:
- Open an article (Using Minerva/mobile site) with an image (uploaded in Commons) (like گربه or آنجلینا جولی)
- click on the image
What happens?:
- An error occurs: در هنگام بارگذاری این تصویر، خطایی رخ داد ("An error occurred when uploading this image")
What should have happened instead?:
The image box with relevant info and a link to commons should have been shown instead—this happens only on fawiki and for images that are uploaded in commons.
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
Android 13 - Chrome 117
Windows 10 - Chrome 117
How it should look like:
How it is on fawiki:
I didn't know which tags to use so I'm just using MinervaNeue.
Requirement
Ensure that clicking on image thumbnails on the Persian Wikipedia (fawiki) using the Minerva/mobile site opens the image overlay with relevant information and a link to Commons. Fix the issue caused by the Gadget-Direct-link-to-Commons.js attaching the uselang parameter that breaks this functionality. Conduct exploratory testing on the beta cluster to verify similar functionality.
BDD
gherkin Feature: Fix Image Thumbnails on Persian Wikipedia Scenario: Verify image overlay functionality on beta cluster Given the user is on the beta cluster using the mobile site When the user clicks on an image thumbnail Then the image overlay should open, and the navigation arrows should be functional Scenario: Clicking on image thumbnails on fawiki should open the image overlay Given the user is on the Persian Wikipedia (fawiki) using the Minerva/mobile site When the user clicks on an image thumbnail Then the image overlay with relevant information and a link to Commons should appear
Test Steps
Test Case 1: Exploratory Testing on Beta Cluster
- Navigate to an article with images on the beta cluster using the mobile site.
- Click on an image thumbnail.
- AC1: Confirm that the image overlay opens correctly.
- Use the arrows within the overlay to navigate between images.
- AC2: Confirm that the navigation arrows are functional.
Test Case 2: Verify Image Overlay Opens Correctly on fawiki
- Visit an article on the Persian Wikipedia using the mobile site (e.g., گربه or آنجلینا جولی).
- Click on an image thumbnail that was uploaded to Commons.
- AC3: Confirm that the image overlay opens with relevant information and a link to Commons.
- AC4: Ensure no error messages are displayed when clicking the image.
QA Results - Beta
AC | Status | Details |
---|---|---|
1 | ✅ | T348939#10098548 |
2 | ✅ | T348939#10098548 |
3 | ⬜ | T348939#10098548 |
4 | ⬜ | T348939#10098548 |
QA Results - PROD
AC | Status | Details |
---|---|---|
1 | ✅ | T348939#10136054 |
2 | ✅ | T348939#10136054 |
3 | ✅ | T348939#10136054 |
4 | ✅ | T348939#10136054 |