[Bug]: Link to actual username page if a licensing name is set
Summary
Let's say my username is zzz, and I want to be licensed as yyy.
In the Wikimedia Commons website settings you can choose a licensing name, that will create author=[[User:zzz|yyy]] on future uploads. In the Wikimedia Commons app there's also an option to choose the licensing name, but this created author=[[User:yyy|yyy]], which links to a non existent user page.
Steps to reproduce
- Open the app
- Hamburger menu
- Settings (gear icon)
- Uploads > Personalised author name
- Type your author name and press OK
- Upload a file
- Check the result
Expected behaviour
Add author=[[User:zzz|yyy]] instead of author=[[User:yyy|yyy]].
Actual behaviour
Adds author=[[User:yyy|yyy]] instead of author=[[User:zzz|yyy]].
Device name
Google Pixel 6
Android version
Android 14
Commons app version
5.0.2
Device logs
No response
Screen-shots
No response
Would you like to work on the issue?
None
Hi, I have an idea for fixing this bug. Can you assign this issue to me?
Example image: https://commons.wikimedia.org/wiki/File:%E6%9D%89%E4%B8%A6%E5%8C%BA_%E5%A4%A7%E5%AE%AE%E5%85%AB%E5%B9%A1%E5%AE%AE.jpg notice how the author field is a red link.
The task involves modifying how the app generates the wikicode of the image description.