[Feature]: replace share url with "use in wiki as" button
What is the user problem or growth opportunity you want to see solved?
replace share url with "user in wiki as" button
This will allow users to copy the wiki style image URL from Wiki Commons App and paste it directly into wikipedia app.
Essentially, asking to place the functionality of "copy the wikitext to clipboard" blue colour button at the top bar
How do you know that this problem exists today? Why is this important?
Getting the https URL of the image serves lesser purpose than getting the wiki style image URL.
Providing use in wiki as button, which is present in Wiki Commons web page will allow users to add images to wikipedia more easily.
Who will benefit from it?
Wikipedia editors who wish to add images to wikipedia pages using Android app
Anything else you would like to add?
Adding user in wiki as button will make wiki commons Android app interface to be uniform with web version
There is already a button to copy wikicode at the bottom of the activity. Does it give the content you want?
There is already a button to copy wikicode at the bottom of the activity. Does it give the content you want?
Yes @nicolas-raoul the blue colour text button at the bottom does give the needed wiki style image URL.
I'm requesting to provide the functionality of the bottom blue color text button in the topbar.
Kindly replace the topbar URL with use in wiki as button. It will make the interface uniform across web and mobile versions
I'm requesting to provide the functionality of the bottom blue color text button in the topbar.
@nicolas-raoul i agree with the point @gangaasoonu made here.
there are two advantages. First, if a Wikipedia editor is editing an article inside the Wikimedia app or on a mobile browser and wants to insert an image, pasting an HTTPS link won't work, it will just show an hyperlink instead of rendering the photo inside the article.
The second advantage is that it matches the desktop version of Wikimedia Commons. On the website, clicking on an image gives us the "Use this file" button, which copies the file URL, so we can directly paste it and edit the article.
@Kota-Jagadeesh Is the database select happening in the python code in other repo called commons ?
Is the database select happening in the python code in other repo called commons ?
no @gangaasoonu, this doesn't involve any pythonn code or backend database queries! this issue is a purely an UI change within this repository. the app already generates and possesses the wikitext string locally (which is how the blue button at the bottom displays it)
@nicolas-raoul Can you share your opinions on this issue ?
OK feel free to decide between you two on the best UI for this. Maybe make the link copy the wikitext, and remove the blue button from the bottom?
Thanks @nicolas-raoul! That makes total sense.
so, i will proceed with:
- Updating the topbar menu action to copy the formatted Wikitext (
[[File:...]]). - Removing the bottom blue button to avoid duplication
@gangaasoonu Do you have any suggestions or is this fine for you?
@nicolas-raoul Can i get this issue assigned to me?
This is perfect.
Consistent UI in both web version and mobile version
Thank you @nicolas-raoul and @Kota-Jagadeesh
Hi @Kota-Jagadeesh! Any progress to share? Even if you don't have a solution yet, would you mind sharing what you found, what you checked/tried, maybe what did not work? I assume you still intend to work on this, but if not please let us know. :-)