Problem
As @DannyS712 pointed out the TimelineRowFormatter uses a custom signature for the msg method.
Proposed Solution
TimelineRowFormatter could implement MessageLocalizer interface which would make the msg method consistent with other places it is found in MediaWiki.