API talk:Watchlist feed

Jump to navigation Jump to search

About this board

Sascha GPD (talkcontribs)
RobinHood70 (talkcontribs)

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?

Sascha GPD (talkcontribs)
RobinHood70 (talkcontribs)

@Anomie: Is this something you can help with? Short of a bug in the code, I can't see anything wrong here.

Anomie (talkcontribs)

User "Sascha GPD" does not have a watchlisttoken saved in the database on dewiki. Try going to de:Special:Preferences and saving the preferences.

Sascha GPD (talkcontribs)

So should I revert my settings to default, or what do you mean?

Anomie (talkcontribs)
Sascha GPD (talkcontribs)

Thanks, was so easy.

RobinHood70 (talkcontribs)

@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.

Anomie (talkcontribs)

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.

Reply to "It just doesn't work"

Is it possible to add multiple wlexcludeuser variables?

3
1Veertje (talkcontribs)

Adding multiple names with a pipe didn't work.

RobinHood70 (talkcontribs)

No, it's not possible. Internally, the condition that's used is "rc_user_text != <wlexcludeuser>", so only a single user is possible.

Kaligula (talkcontribs)

But maybe we can change internal code to sth like:

preg_match( '/(^|\|)' . rc_user_text . '(\||$)/' , <wlexcludeuser> ) == 0

hm? :)

Reply to "Is it possible to add multiple wlexcludeuser variables?"
There are no older topics