In theory, ParserOptions::isMessage() is an improved version of ParserOptions::getInterfaceMessage(), allowing us to detect when a message is being parsed in any language, not just user interface language.
In practice, trying to make this change caused T395034: Incorrect and doubled empty talk page onboard messages on every talk page of Chinese Wikipedia.
To do:
- Add a regression test for that bug
- Find out why that happened and fix the underlying problem
- Reapply https://gerrit.wikimedia.org/r/c/mediawiki/extensions/DiscussionTools/+/1143704