mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 13:46:48 +00:00
8de5b4e1aa
Why: * Protected variables were introduced to support temporary accounts so that temporary users could be filtered based on their IP address. * Filters that use protected variables are protected in order to preserve privacy. This can't be undone. * The current workflow for protecting filters is to have a 'protect' checkbox that can be checked for any filter, even one without protected variables, to the discretion of the editor. This has led to mistakes (see T37765). What: * Do not show the 'protect' checkbox on the form by default. Instead, show it when saving a filter with protected variables, after form submission. The user must check it to save the filter. * Still show the checkbox in a disabled state with a warning message if a filter is already protected, so that the editor can easily see it is protected. Bug: T377765 Change-Id: Ie5c94ac1399860ccdca4482508dd37ff07309764 |
||
---|---|---|
.phan | ||
db_patches | ||
i18n | ||
includes | ||
maintenance | ||
modules | ||
tests | ||
.eslintignore | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
.stylelintrc.json | ||
AbuseFilter.alias.php | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING | ||
extension.json | ||
Gruntfile.js | ||
package-lock.json | ||
package.json | ||
quibble.yaml |