Currently the tagfilter query string parameter only accepts one value, but for T161650: Replace "Tag filter" input with a dropdown+lookup widget in RCFilters we need it to accept multiple values. This should be an OR of tags (not an AND).
Description
Details
Event Timeline
Change 351363 had a related patch set uploaded (by Sbisson; owner: Sbisson):
[mediawiki/core@master] RC Filters: Support multiple tag filters
Change 351363 merged by jenkins-bot:
[mediawiki/core@master] RC Filters: Support multiple tag filters
Moving back to "in dev" since using the comma as a separator won't work with page inclusion. See https://phabricator.wikimedia.org/source/mediawiki/browse/master/includes/specials/SpecialRecentchanges.php;f72f4b759591c27c03154d10528a4096b3bb6cea$278
Change 352542 had a related patch set uploaded (by Mattflaschen; owner: Mattflaschen):
[mediawiki/core@master] Change delimiter for multiple namespaces and tags to semi-colon
Change 352733 had a related patch set uploaded (by Mattflaschen; owner: Mattflaschen):
[mediawiki/extensions/AbuseFilter@master] Check tags with ChangeTags::canCreateTag
@SBisson noted that I should check into existing tags using semi-colon. I wrote a quick script to check (P5403). It turns out there are a small number of existing tags using semi-colon (2), slash (15) (another character that is already forbidden), or both:
mrwiki: 'कोण म्हणते/समजते/मानते,कसे उमजते ?; संदर्भ आहेत ना ? ' contains ';' outreachwiki: 'pattern bot; redundant' contains ';'
The mrwiki has 1 change and the outreachwiki has 0. Both are also disabled. (See https://mr.wikipedia.org/wiki/%E0%A4%B5%E0%A4%BF%E0%A4%B6%E0%A5%87%E0%A4%B7:%E0%A4%96%E0%A5%82%E0%A4%A3%E0%A4%BE?uselang=en and https://outreach.wikimedia.org/wiki/Special:Tags).
I confirmed (via AbuseFilterHooks::onListDefinedTags) that both of the semi-colon ones are from AbuseFilter.
I changed AbuseFilter https://gerrit.wikimedia.org/r/352733 to enforce these rules on tag names.
I don't think we have to worry about the existing ones, because they're disabled, and if they try to enable them, they'll have to change the tag name (the check runs on all edits as well).
bgwiki: 'етикет: премахнати източници/бележки' contains '/' enwikibooks: 'newbie external link/email' contains '/' frwikinews: 'PU/PdD créée par un compte non titulaire' contains '/' huwiki: 'Анна Озерова/Anna Jarvinen' contains '/' mediawikiwiki: 'newbie external link/email' contains '/' mrwiki: 'कोण म्हणते/समजते/मानते,कसे उमजते ?; संदर्भ आहेत ना ? ' contains '/' rowiki: 'modificare legătură imagine și/sau descriere' contains '/' scowiki: 'Changin hicht/wicht in an infobox' contains '/' sgwiki: 'newbie external link/email' contains '/' simplewiki: 'copy/paste from another Wikipedia?' contains '/' skwiki: 'emotikony/ideogramy' contains '/' testwiki: 'Edit Adding/Removing Only Numbers' contains '/' thwiki: 'แก้ไขผิดปกติ FA/GA' contains '/' urwiki: 'اضافہ مواد نقل شدہ از کتاب/ویب سائٹ' contains '/' wikidatawiki: 'adding potentially mistaken label/description/alias' contains '/'
I think many/all of the slash ones are also from AbuseFilter, but I didn't need to check that.
Change 352733 merged by jenkins-bot:
[mediawiki/extensions/AbuseFilter@master] Check tags with ChangeTags::canCreateTag
Change 352542 merged by jenkins-bot:
[mediawiki/core@master] Change delimiter for multiple namespaces and tags
Checked in enwiki betalabs - tags are accepted with pipe, e.g. &tagfilter=visualeditor%7Cmobile+edit%7Cvisualeditor-switched.
The result set is filtered according to the selected tags.