Page MenuHomePhabricator

Misleading error message for adding an image statement for incomplete filenames
Closed, ResolvedPublic

Description

Misleading error message for add an image value for incomplete filenames: "File names are not allowed to contain characters like colons or slashes. Only paste the file name after "File:", please."

Steps to reproduce:

  1. Add a statemanent for an image
  2. Enter an incomplete filename, i.e. "Köln Panorama" w/o the file type .jpg

Error message when publishing "File names are not allowed to contain characters like colons or slashes. Only paste the file name after "File:", please."

This is misleading. I suggest to use an error message like "Filename not found, check for filetype".

Task is based on https://de.wikipedia.org/w/index.php?title=Wikipedia:Fragen_zur_Wikipedia&oldid=179079700#Falscher_Hilfetext_bei_WIkidata

Event Timeline

Raymond created this task.Jul 12 2018, 9:25 AM
Restricted Application added a project: Wikidata. · View Herald TranscriptJul 12 2018, 9:25 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

I could reproduce this and it happens the same as claimed by Raymond.

Greta_Doci_WMDE triaged this task as Low priority.Jul 12 2018, 2:00 PM
D3r1ck01 renamed this task from Misleading error message for add an image statement for imcomplete filenames to Misleading error message for adding an image statement for imcomplete filenames.Aug 14 2018, 11:32 AM
D3r1ck01 renamed this task from Misleading error message for adding an image statement for imcomplete filenames to Misleading error message for adding an image statement for incomplete filenames.
D3r1ck01 updated the task description. (Show Details)

Change 474691 had a related patch set uploaded (by Greta WMDE; owner: Greta Doçi):
[mediawiki/extensions/Wikibase@master] I changed the error pop up message for adding an imagge, to make it more clear

https://gerrit.wikimedia.org/r/474691

Change 474691 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Split media validator to have 2 different errors (chars & extension)

https://gerrit.wikimedia.org/r/474691