Improve Vanilla import script. (PR #11701)

  • import groups and group users
  • import uploads/attachments
  • improved code tag parsing
  • improved text formatting
  • mark topics as solved

GitHub

I see a lot of changes here that aren’t tested for below. Should we add more tests to cover all these new cases?

Agreed, will add more tests in separate PR.