Help talk:Notifications

Jump to navigation Jump to search

About this board

A question about Notifications? Please share it with us by starting a new topic!

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?"
جولينا (talkcontribs)

مرحبا انا مستخدمة مسجلة بحساب اخر باسم ارينا سجلت الخروج بدون قصد ونسيت كلمة السر

Trizek (WMF) (talkcontribs)

Hello

You can retrieve the password if a email address has been attached to the account (help). If that's not the case, no one can do anything.

On most wikis, you are not supposed to act on behalf of someone. You should create a new account.

جولينا (talkcontribs)

مرحبا اسفة انا لم افهم ما تحاول قوله لأنني في الحقيقة معلوماتي في الإنجليزية محدودة ايمكن ان تشرحلي بالعربية

Trizek (WMF) (talkcontribs)
Avicenno (talkcontribs)

ييمكنك استخدام خيار نسيت كلمة السر لتصلك كلمة السر على البريد الذي اضفتيه للحساب واذا لم تستطيعي فعلى الاغلب عليك القيام بانشاء حساب جديد

Avicenno (talkcontribs)
Trizek (WMF) (talkcontribs)

Great! Much thanks!

جولينا (talkcontribs)

آسفة لم أضع بريد الكتروني كما انني كلما أردت إنشاء حساب جديد اجدنفسي ممنوعة برغم ان المستخدمة ارينا غير ممنوعة انا حزينة

Avicenno (talkcontribs)

من هي أرينا؟

جولينا (talkcontribs)

ارينا هو حسابي في ويكيبيديا

Avicenno (talkcontribs)

ممكن رابط له؟

جولينا (talkcontribs)

لم افهم

جولينا (talkcontribs)

لم افهم

Avicenno (talkcontribs)

رابط لحسابك ارينا

جولينا (talkcontribs)

اسفة لم افهمك يمكن شرح تفصيلي

Avicenno (talkcontribs)

اريد رابط للصفحة الشخصية لحسابك الاخر على ويكيبيديا

جولينا (talkcontribs)

انا كاتبه عن اول نوفمبر وعن حكم أعجبتني

جولينا (talkcontribs)

أهذا يكفي ام تود المزيد

Avicenno (talkcontribs)

لم اجد حسابا يحمل هذا الاسم هل يمكنك تقديم وصلة لمقالة عدلتها او كتبتها؟

جولينا (talkcontribs)

أخي مصعب اود إنشاء حساب جديد

جولينا (talkcontribs)

ايمكنك مساعدتي

Avicenno (talkcontribs)
جولينا (talkcontribs)

قالو لي انني ممنوعة ساعدني 😞

Avicenno (talkcontribs)

ارسلي نص الرسالة التي تظهرلك

جولينا (talkcontribs)

لا يمكنك إنشاء حساب انت ممنوعة

جولينا (talkcontribs)

هذا هو نص الرسالة 😞

Avicenno (talkcontribs)

ممكن ترسلي صورة او تنسخي نص الرسالة حرفيا

جولينا (talkcontribs)

اسفة لا أعرف ان انسخ

جولينا (talkcontribs)

😞😞😞😭😭😩

Avicenno (talkcontribs)

للاسف لا يمكنني المساعدة فلا أمتلك البيانات اللازمة لمساعدتك

جولينا (talkcontribs)

لا عليك صديقي العزيز في النهاية انت اتعبتك معي كثيرا واوجعت لك راسك شكرا جزيل الشكر وأتمنى لك باقي الوقات سعادة اسفة سامحني ☺

جولينا (talkcontribs)

ولكن سؤال خارجي مامعنى بيانات لازمة ممكن تشرحلي اذا اردت طبعا وان كان هذا لا يزعجك

Avicenno (talkcontribs)

يعني رسالة المنع، رابط للحساب الممنوع او اسمه الدقيق او رابط لسجل المنع او توقيته وهذا يساعدني على التحقق اما الوضع الحالي فلا استطيع التحقق من شيء

جولينا (talkcontribs)

اتقصد متى منع المستخدم مثلا؟

Avicenno (talkcontribs)

يمكن لو كان بدقة توقيته

جولينا (talkcontribs)

حسنا ولكن انا لا اظن ان المستخدم ارينا منع وذلك عندما كنت مسجلة لم اقم باي مخالفات

تؤدي الى منعي

Reply to "Password issue"

Site wide configuration of notifications

4
TitusiMW (talkcontribs)

I run a private wiki. I would like to configure what type of notifications users of my site get. Users may have ability to change them independently, but I would like to be able to provide a default configuration for all users on my wiki.

I looked at this page : Special:DisplayNotificationsConfiguration

Seems like it only "displays" the configuration but does not let me change anything. Is there a way to change what these notification configurations across site for all users? Further, I don't like the logic of splitting Notifications between Notices and Alerts. I would like to call everything as Alert and have only one fly-out and only one badge show up. Is that possible?

I have shell access. If I need to do it through some script, that is fine as well.

Roan Kattouw (WMF) (talkcontribs)

Some of these things can be changed through $wg variables in LocalSettings.php, others can't. You can't easily make everything an alert without editing the code in a number of places (although the edits wouldn't be too bad). If you want to do that, I can help you with it, it depends on which other extensions you have enabled that provide notification types.

The default configuration of whether people get notified through the web or email can be changed in LocalSettings.php. For example, to make article-linked notifications send email notifications by default, use $wgDefaultUserOptions['echo-subscriptions-email-article-linked'] = true;, and to make emailuser notifications not send web notifications by default, use $wgDefaultUserOptions['echo-subscriptions-web-emailuser'] = false;.

If you want to change "Allowed notification methods", you can do that in LocalSettings.php too. For example, users are not allowed to enable email notifications for emailuser because it would be silly to send them an email saying they got an email, but if you want to allow that anyway you can do $wgNotifyTypeAvailabilityByCategory['emailuser']['email'] = true;. If you want to disallow users from getting web notifications for reverts, you can do $wgNotifyTypeAvailabilityByCategory['reverted']['web'] = false;.

These vars are also documented here, along with some others. If you can't find what you want to change, feel free to ask me and I'll point you to it.

TitusiMW (talkcontribs)

@Roan Kattouw (WMF), thanks. This was super helpful!

One quick question. What is the precise difference between "Alert" and "Notice". This is very confusing. What is the precise definition?

Roan Kattouw (WMF) (talkcontribs)

The only effective difference is that "alerts" appear in the leftmost notification widget (the bell, with numbers in red) and "notices" appear in the rightmost one (the inbox, with numbers in blue). Alerts are meant for things that are urgent and/or directly involve the user (e.g. mentions, reverts, user talk messages) whereas notices are meant for less urgent things and/or things that don't directly involve the user (e.g. thanks, new topics/posts on a Flow board/topic you watch.

Reply to "Site wide configuration of notifications"
IKhitron (talkcontribs)

Hi. Could you please add an explanation of muted users list. Should it have each user on a new line? Comma separated? Semicolon separated? Users in double brackets single space separated? Something else? Thank you.

Quiddity (WMF) (talkcontribs)
IKhitron (talkcontribs)

Great. Thank you.

118.212.156.189 (talkcontribs)
Quiddity (WMF) (talkcontribs)

Is that on a Wikimedia wiki, or a 3rd party wiki?

If Wikimedia: Can you tell us what happens when you click the "..."?

If 3rd party: I'm not familiar with a bug like that. More details about your setup might help someone to diagnose the problem.

Reply to "Empty messages"
Murbaut (talkcontribs)

I not see all notify on myuserpage and cross x wiki. I need restore, if notify in version 1.28 it very easy and don't have problem.

Quiddity (WMF) (talkcontribs)

Murbaut, do you see any notifications in the flyout menu, or the special:notifications page? (From the local wiki, or cross-wiki)

Please could you take some screenshots, and either email them to me (nwilsonwikimedia.org) or upload it here? Thanks.

Murbaut (talkcontribs)

I can't see okay I'll send

Murbaut (talkcontribs)
Murbaut (talkcontribs)

Already send

Quiddity (WMF) (talkcontribs)

I've filed a bug as phab:T152799. Thank you for the details (via email).

Murbaut (talkcontribs)

okay :)

Reply to "Notifications not load"
IronClark (talkcontribs)

Hello, my question is that on my Wiki, I have issues reading the notifications. When the flyout menu is selected after multiple messages, the boxes highlight completely white, save for black text. This causes the White, unclicked message header links to be unreadable. I was wondering if this was simply an issue with my skin or some other issue I have not yet thought of. Thank you for your time.

Trizek (WMF) (talkcontribs)

@IronClark, hello!

Which skin do you use? Which browser to you use? Do you also use personal scripts or certain gadgets? Do you have that problem on all wikis?

Thanks!

IronClark (talkcontribs)

Hello! We have a custom skin, at the https://wiki.urealms.com/wiki/Main_Page URealms Wiki. I use Googe Chrome, and no I do not have this across all wikis. As far as personal scripts or gadgets, I am not certain. I sort of inherited the wiki.

Roan Kattouw (WMF) (talkcontribs)

I think just adding .mw-echo-title { color: white !important; } in the skin CSS (where you also have rules like .oo-ui-popupWidget-head { color: white !important; }) should change the poorly-readable gray-on-black text to white-on-black. Apart from that though, I'm not sure I understand what you're talking about exactly. Could you upload a screenshot of the problem somewhere?

IronClark (talkcontribs)
Roan Kattouw (WMF) (talkcontribs)

I see! It looks like this only happens the first time you view a new message. The best way I can think of to work around this is to add .mw-echo-ui-notificationOptionWidget-initiallyUnseen.mw-echo-ui-notificationOptionWidget-unread { -webkit-animation-name: none !important; animation-name: none !important; } to your skin CSS.

Reply to "Difficult to read Notifications."

Unread notifications and deleted edits

2
Tar Lócesilion (talkcontribs)

On every wiki I visit I can see 4 new (blue) notifications, which turn gray once I try to get them read. However, it's impossible to actually read them, because they are about 4 deleted edits (, , , ). So now, on every wiki I can see this. Unreadable 4 new notifs.

Quiddity (WMF) (talkcontribs)
Reply to "Unread notifications and deleted edits"

How to: Clear all notifications at a single wiki

6
Summary last edited by Quiddity (WMF) 20:48, 5 August 2016 3 years ago

Now also possible by using Special:Notifications - at the wiki you want to clear notifications from, click the "cog" icon in the upper corner, there's a link to "Mark all as read in selected wiki".

Quiddity (WMF) (talkcontribs)

If you have "99+" showing, even after clicking "Mark all as read" a few times, and you want to clear absolutely all local notifications at that wiki...

Steps to reset (mark as read) all local notifications on a single wiki:

  1. Go to the local special:mypage/common.js -- (At the wiki you want to reset)
  2. Edit that page, to add this line at the bottom
    new mw.Api().postWithToken('csrf', {action:'echomarkread', all:1});
  3. Save that.
  4. Open any regular page on that wiki, and watch the notifications badge-counter go to 0. -- (cross-wiki notifications will still exist)
  5. Important - Revert your edit at your common.js -- (otherwise it will autoclear everything before you see it, forever!)

Done!


There is a feature-request for making this short process into a single button, phab:T71732, but until that is completed, the manual instructions above will help a few people.

Catrope (talkcontribs)

If you know how to open your browser's JavaScript console you can also paste the line of code from step #2 directly into there. If you do that, you won't have to do any of the other steps.

Hoverfish (talkcontribs)

Thank you for the above tip. My notifications were cleared, but I still have a problem with the alerts, they go as far back as 3 years. Is there a similar common.js line to clear them too?

Quiddity (WMF) (talkcontribs)

If you go to Special:Notifications at the wiki you want to clear notifications from, and click the "cog" icon in the upper corner, there's a link to "Mark all as read in selected wiki". That should do it.

Hoverfish (talkcontribs)

I have all scripts enabled and no adblock for en.wikipedia. Clicking the cog offers two options: Preferences (my preferences page) and Learn More. Apart from the cog I see a "readState InboxWidget" All / Read / Unread. Clicking on the "Read" fades the list temporarily but does not clear the messages. I've tried it many times with Firefox and Chrome.

Quiddity (WMF) (talkcontribs)

Hoverfish, Oh, are you using the mobileweb version? (I see that version does not yet have the link). If so, please try the desktop version (this link should work).

If that doesn't explain it, then please tell me which browser/OS you are using, and optionally include a screenshot (feel free to email it to me at nwilsonwikimedia.org for privacy).

Reply to "How to: Clear all notifications at a single wiki"

أحتاج إلى المساعدة

1
Israa boubnane (talkcontribs)

أحتاج إلى المساعدة