In T204090#4632426 @stjn points out that secondary information is being incorrectly displayed in Russian Wikipedia
Ideally, we only want to show the first line and when clicked show the rest of the text to the user.
Minerva currently looks for the hide-when-compact class to identify secondary information but Russian uses mbox-textsmall-div
Ideally we'd use a shared definition to describe secondary information.
Developer notes
Possible options
- Russian templates are updated so that elements with mbox-textsmall-div also have hide-when-compact class
- English templates are updated to have mbox-textsmall-div class when using hide-when-compact class AND Minerva is updated to use mbox-textsmall-div
- New class is used to describe this kind of content and adopted on Russian and English
Note: an alternative solution is we support both classes mbox-textsmall-div and hide-when-compact, however I can see this becoming a big maintenance burden and would like to avoid this.