-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
T248611 Restore "about" feature in article gallery view #195
Conversation
Reviewing this PR was useful for me to further understand how to use |
this pr requires more update on the api, see the comment in ticket, in short summary, the image is not always from Commons. |
Ok, change is done and ready to be reviewed again, thanks for the input! |
title: item.title, | ||
canonicalizedTitle: | ||
item.title && canonicalizeTitle(item.title.split(':')[1]) | ||
item.title && canonicalizeTitle(item.title.split(':')[1]), | ||
fromCommon: source.indexOf('/commons') !== -1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, good idea to declare source
at the top
Tested latest change on banana device using Brasilien article and it worked as expected, btw |
Phabricator Link: https://phabricator.wikimedia.org/T248611
Problem Statement
pcs
media
api is being removed recently, switch to mw apiSolution
fetch the api only when user press About center key
Note
|