How to mark a list for translation in the Wiki?

Lists are generated by starting the line with an asterisk in the Wiki. When I want to mark such list for translation should the list as a whole be marked

<translate>
* first item
* second item
* third item
</translate>

Or should each list item be individually marked
* <translate> first item </translate>
* <translate> second item </translate>
* <translate> third item </translate>

The MediaWiki docs suggest to break long lists into pieces, but…

…these days I do each item individually like in your second example. To help with it, I have a snippet in my Kate editor, with a function in the script library:

function listTranslate() {
  const re = new RegExp(/^([\*#\:]+) *(.+)/mg);
  return view.selectedText().replace(re, '$1 <translate>$2</translate>');
}

and then ${listTranslate()} as the actual snippet.

If you need help, it is usually very fast for me to do these changes thanks to my snippet library.