Topic on API talk:Watchlist feed/Flow

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?"