The future of deprecation messages …
How to handle deprecation messages in the future?
- 1.12 displayed them ingame to everybody playing it
- 1.14 hides them from everybody, except of the crazy people who start wesnoth from a terminal, or find the logs on Windows.
The old way was annoying, but it had better chances that someone gets involved and fixes it. The current one somehow undermines the deprecation policy, as things are deprecated properly, but people won't fix it.
Maybe it's possible to display the deprecation messages dependent on whether the player has a _server.pbl in the add-on, or lacks an _info.cfg?
Current situation is, that as soon as I have other peoples add-ons installed, I get more deprecation messages than my terminal displays (I did set the buffer to 1000 lines).
In case we don't want to change anything about how / whom to display deprecation messages to, the log spam is mostly about FOREACH & NEXT. De-deprecating these two macros or dropping them already in 1.16 would be an alternative.
Source: wesnoth/wesnoth