| thiemowmde added a comment. |
In addition to what I already prepared in https://gerrit.wikimedia.org/r/399203, I suggest to add a CommonsMediaParser that enforces all normalization before the value is stored. This needs to happen in the file /var/www/mediawiki/core/extensions/Wikibase/repo/WikibaseRepo.datatypes.php, by adding a "parser-factory-callback" to the "PT:commonsMedia" datatype.
This parser will normalize new file names only. Old file names will remain unnormalized. That's why it's actually critical to have https://gerrit.wikimedia.org/r/399203, and stick to this basically forever (because unnormalized values might remain in the database forever).
TASK DETAIL
EMAIL PREFERENCES
To: thiemowmde
Cc: TerraCodes, gerritbot, Ricordisamoa, daniel, hoo, thiemowmde, Lydia_Pintscher, Lokal_Profil, Aklapper, Cpaulf30, Lahi, Gq86, Baloch007, Lordiis, GoranSMilovanovic, Adik2382, Soteriaspace, RazeSoldier, Jayprakash12345, Th3d3v1ls, JakeTheDeveloper, Ramalepe, Liugev6, QZanden, CXuesong, Zoranzoki21, Lewizho99, Maathavan, MuhammadShuaib, SimmeD, Wikidata-bugs, aude, TheDJ, Mbch331
Cc: TerraCodes, gerritbot, Ricordisamoa, daniel, hoo, thiemowmde, Lydia_Pintscher, Lokal_Profil, Aklapper, Cpaulf30, Lahi, Gq86, Baloch007, Lordiis, GoranSMilovanovic, Adik2382, Soteriaspace, RazeSoldier, Jayprakash12345, Th3d3v1ls, JakeTheDeveloper, Ramalepe, Liugev6, QZanden, CXuesong, Zoranzoki21, Lewizho99, Maathavan, MuhammadShuaib, SimmeD, Wikidata-bugs, aude, TheDJ, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
