Go to file
Thalia 8de5b4e1aa Improve workflow for protecting filters with protected variables
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
2024-11-14 18:24:27 +00:00
.phan phan: Update config to load ConfirmEdit 2024-05-05 11:02:07 +03:00
db_patches Drop af_user(_text) and afh_user(_text) fields 2024-06-10 18:48:21 +02:00
i18n Improve workflow for protecting filters with protected variables 2024-11-14 18:24:27 +00:00
includes Improve workflow for protecting filters with protected variables 2024-11-14 18:24:27 +00:00
maintenance Use namespaced classes 2024-10-19 21:55:40 +02:00
modules Clean up an unused OOUI infuse 2024-10-28 05:54:31 +00:00
tests Improve workflow for protecting filters with protected variables 2024-11-14 18:24:27 +00:00
.eslintignore Add docs, i18n to eslintignore 2024-09-24 12:40:48 +01:00
.eslintrc.json build: Update linters 2022-03-17 22:19:08 +00:00
.gitignore Add config for Selenium and basic tests 2019-09-17 16:23:07 +00:00
.gitreview Whoops, track not trace 2016-10-24 17:01:30 -07:00
.phpcs.xml build: Updating mediawiki/mediawiki-codesniffer to 45.0.0 2024-11-01 01:02:33 +00:00
.stylelintrc.json build: Update linters 2023-11-08 14:05:03 +00:00
AbuseFilter.alias.php AbuseFilter.alias.php: Sync Korean translation with English text 2024-11-12 21:54:19 +09:00
CODE_OF_CONDUCT.md build: Updating mediawiki/phan-taint-check-plugin to 1.4.0 2018-09-01 05:29:54 +00:00
composer.json build: Updating mediawiki/mediawiki-codesniffer to 45.0.0 2024-11-01 01:02:33 +00:00
COPYING
extension.json Give the sysop group protected vars access rights 2024-10-17 03:00:32 -07:00
Gruntfile.js build: Run stylelint for less file 2023-11-28 20:06:41 +01:00
package-lock.json build: Updating micromatch to 4.0.8 2024-08-24 14:37:14 +00:00
package.json build: Updating npm dependencies 2024-06-16 16:32:36 +00:00
quibble.yaml build: Add quibble.yaml and enable early warning bot feedback 2024-05-10 14:25:14 +02:00