Remember the earlier discussion: there are two different types of "online": the client device being online, and the local server being online, and different things need to be shown depending on which if these we mean.

Right now, it's not doing the right thing: it looks like it's showing the wiki link, for example, if the *server* is online, when what matters for that is whether the *client* is online.