I've copied the token from my settings page, but it just doesn't work: https://de.wikipedia.org/w/api.php?action=feedwatchlist&wlowner=Sascha_GPD&wltoken=86fb884e4bbcd5b887832a712184b6d079d6a343
API talk:Watchlist feed
It just doesn't work
I just tried mine using both the English Wikipedia and the German one and it works fine in both places. Are you sure you're using the key from the same-language wiki?
Yes, here is a screenshot from https://de.wikipedia.org/wiki/Spezial:Einstellungen#mw-prefsection-watchlist
@Anomie: Is this something you can help with? Short of a bug in the code, I can't see anything wrong here.
User "Sascha GPD" does not have a watchlisttoken saved in the database on dewiki. Try going to de:Special:Preferences and saving the preferences.
So should I revert my settings to default, or what do you mean?
A better idea, go to de:Spezial:Tokens zurücksetzen and reset the token directly.
Thanks, was so easy.
@Anomie: Should there be some kind of indicator in the interface when this is the case? It seems counter-intuitive to present someone with a token that won't actually work.
It'd probably be a good idea to file a bug in Phabricator about it. It looks like gerrit:235647 removed the setting of the preference in the database when it's viewed-but-unset but didn't change any of the callers to use the new derived HMAC default value.
Is it possible to add multiple wlexcludeuser variables?
Adding multiple names with a pipe didn't work.
No, it's not possible. Internally, the condition that's used is "rc_user_text != <wlexcludeuser>", so only a single user is possible.
But maybe we can change internal code to sth like:
preg_match( '/(^|\|)' . rc_user_text . '(\||$)/' , <wlexcludeuser> ) == 0