Jump to content

Topic on Help talk:Notifications

how to implement on a MW 1.31 wikifarm?

3
Revansx (talkcontribs)

I'm running a 1.31 wiki-farm using meza which does not configure cross-wiki notifications by default. How do I implement this? Where are the config instructions?

Roan Kattouw (WMF) (talkcontribs)

Config instructions for the Echo extension are here. For cross-wiki notifications, you have to set $wgEchoCrossWikiNotifications = true; in the settings file for each wiki.

Cross-wiki notifications only work if you have shared user logins across your farm. I'm not very familiar with Meza, but it looks like you have to set up a shared user table for this to work, by designating a primary wiki. Then set $wgEchoSharedTrackingDB to the database name of the primary wiki.

Finally, you'll need the main stash ($wgMainStash) and the WAN cache ($wgMainWANCache) to be shared between all wikis. Without this, cross-wiki notifications will work, but the counters showing how many notifications you have won't update correctly. I don't know whether Meza uses shared caches by default, or how to set that up within Meza, that's a question for the Meza people. But if you follow these instructions and then notice that you can see unread notifications from one wiki on another wiki, but that marking a notification as read doesn't decrease the unread notification counters on other wikis (or that receiving a new notification doesn't increase the counters on other wikis), this is probably what's wrong.

Revansx (talkcontribs)

I'll give it a try and let you know. Thanks!

Reply to "how to implement on a MW 1.31 wikifarm?"