[07:55:46] I have a generic Mediawiki question, I hope you will be ok me asking here: [07:55:46] [07:55:47] We are uploading media files via the Action API and some uploads are rejected because of illegal characters. How should we encode the filenames in Vue.js to make correct strings for upload? [08:19:28] which characters are being rejected? (re @Susannaanas: I have a generic Mediawiki question, I hope you will be ok me asking here: [08:19:29] [08:19:31] We are uploading media files via the Action API and ...) [08:20:49] Some characters are illegal in a filename, there is not much you can do about that. https://www.mediawiki.org/wiki/Manual:$wgIllegalFileChars (re @Susannaanas: I have a generic Mediawiki question, I hope you will be ok me asking here: [08:20:50] [08:20:52] We are uploading media files via the Action API and ...) [08:22:20] In general, make sure you use UTF-8 and percent encoding. It should be the default in most tools. (re @Susannaanas: I have a generic Mediawiki question, I hope you will be ok me asking here: [08:22:20] [08:22:22] We are uploading media files via the Action API and ...) [08:34:43] Thank you both! We are struggling with colons but maybe also percentage marks. I hope Tuukka or Zexi can give details. [08:50:10] Existing percent encoding seems to have been the issue, as the upload went through after we decoded the filename (re @gtisza: In general, make sure you use UTF-8 and percent encoding. It should be the default in most tools.) [10:34:15] Some chars in file names will never work no matter how you encode it (re @Susannaanas: Thank you both! We are struggling with colons but maybe also percentage marks. I hope Tuukka or Zexi can give details.) [10:35:31] https://github.com/multichill/toollabs/blob/99a96e49cfe6b2d3151da7ad5469792d80171be3/bot/commons/wikidata_uploader.py#L496