Raymond added a comment.

  In T251480#6102296 <https://phabricator.wikimedia.org/T251480#6102296>, 
@Lydia_Pintscher wrote:
  
  > I looked at it and what seems to be happening is that we allow underscores 
in the input for properties of datatype Commons media but then a constraint 
violation is triggered after saving if underscores are used. So what we could 
do is automatically replace underscores with spaces. Is there any case where 
this would not be a good idea?
  >
  > @Multichill @Raymond @Addshore: would love to hear your thoughts.
  
  In the core of MediaWiki pagenames/filenames are stored with underscores, see 
page_title <https://www.mediawiki.org/wiki/Manual:Page_table/de#page_title>. 
For the visual presentation in the UI underscores are replaced by spaces again. 
I think this should be done by Wikibase too.

TASK DETAIL
  https://phabricator.wikimedia.org/T251480

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Raymond
Cc: Lydia_Pintscher, Addshore, Raymond, Multichill, Reedy, Aklapper, 
Herzi.Pinki, darthmon_wmde, Nandana, lucamauri, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, 
aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to