Skip to content
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

[Bug]: Link to actual username page if a licensing name is set #5803

Open
ivanbranco opened this issue Sep 2, 2024 · 2 comments · May be fixed by #5859
Open

[Bug]: Link to actual username page if a licensing name is set #5803

ivanbranco opened this issue Sep 2, 2024 · 2 comments · May be fixed by #5859
Assignees
Labels

Comments

@ivanbranco
Copy link

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

  1. Open the app
  2. Hamburger menu
  3. Settings (gear icon)
  4. Uploads > Personalised author name
  5. Type your author name and press OK
  6. Upload a file
  7. 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

@ivanbranco ivanbranco added the bug label Sep 2, 2024
@qinjuewu00
Copy link

Hi, I have an idea for fixing this bug. Can you assign this issue to me?

@nicolas-raoul
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants