At the moment, it is allowed (seen on Wikidata) but it makes the system unstable. When the filter is saved, the tag can be added by both filters and users but cannot be removed.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Clarify ChangeTagValidator::validateTag and disallow user-defined tags | mediawiki/extensions/AbuseFilter | master | +25 -17 |
Related Objects
Related Objects
Event Timeline
Comment Actions
Change 700850 had a related patch set uploaded (by Matěj Suchánek; author: Matěj Suchánek):
[mediawiki/extensions/AbuseFilter@master] Clarify ChangeTagValidator::validateTag and disallow user-defined tags
Comment Actions
Occurrences across wikis: P56851 (111 filters on 40 wikis)
Query:
SELECT afa_filter, ctd_name FROM change_tag_def, abuse_filter_action WHERE ctd_user_defined = 1 AND afa_consequence = 'tag' AND ( afa_parameters = ctd_name OR afa_parameters LIKE CONCAT('%\n', ctd_name) OR afa_parameters LIKE CONCAT(ctd_name, '\n%') OR afa_parameters LIKE CONCAT('%\n', ctd_name, '\n%') );