Anomie added a comment.
If we want to remove the Message handling from CommentStore and let Wikibase do its i18n based on `->data` (in either a modified 'FormatAutocomments' that gets the data or some higher-level hook added to `Linker::formatComment()`), I can't think of any major objection at the moment. The main benefit of the built-in Message handling is that it's easier for a caller in the simple case where an i18n message is used to generate `comment_text` and we want to effectively re-generate `comment_text` from the same message (potentially in a different language) at render time. TASK DETAIL https://phabricator.wikimedia.org/T218127 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Anomie Cc: hoo, Aklapper, Lucas_Werkmeister_WMDE, Anomie, daniel, pdehaye, alaa_wmde, Michael, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, YULdigitalpreservation, LawExplorer, Salgo60, _jensen, rosalieper, MGChecker, abian, Wikidata-bugs, aude, Dinoguy1000, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
