Topic on Project:Support desk

How to subscribe to a Phabricator file?

9
Guycn2 (talkcontribs)

Hello. I want to be notified every time the "MessagesHE.php" file is modified (whether via an email or an alert on Phabricator, it doesn't matter).

In the "MessagesHE.php" page on Phabricator, I don't see any button that says "Subscribe" or something similar. Is there any way to get notifications or emails for changes to this file?

AKlapper (WMF) (talkcontribs)
This, that and the other (talkcontribs)

You can add yourself to Git/Reviewers#mediawiki/core if you want. This will add you as a Gerrit reviewer to every patch that modifies a file matching the given regular expression. The file_regexp for you could simply be MessagesHe\.php.

Guycn2 (talkcontribs)
AKlapper (WMF) (talkcontribs)

You wrote file-regexp. The parameter is called file_regexp.

This, that and the other (talkcontribs)
Guycn2 (talkcontribs)

Thank you so much! Where will I be able to see new changes to this file? Also, is it possible to add me as a reviewer to the he.json file (which is the main file of Hebrew system messages)?

This, that and the other (talkcontribs)

You can separate the regular expressions by a pipe character (|). So you would use MessagesHe\.php|/he\.json. I put the extra forward slash in there to avoid getting notified for any language codes which happen to end in he, such as (made-up example) the.json.

As for what happens, you'll get a series of emails. You may find you need to set up some email rules in your mail program/website to filter some of these out, but that aspect of it is up to you.

Guycn2 (talkcontribs)

Thanks a lot, I really appreciate your help!

Reply to "How to subscribe to a Phabricator file?"