Thank you for your link, it will be definitely interesting to see how other people are doing it.
As I see now, they are not extending existing header widget. They just copy-pasted it from the core and customised it.
In that case they have to support that code themselves, and Discourse most likely to break it on next update.