diff options
author | Bartosz Dziewoński <matma.rex@gmail.com> | 2021-12-23 18:34:33 +0100 |
---|---|---|
committer | Bartosz Dziewoński <matma.rex@gmail.com> | 2021-12-23 17:49:59 +0000 |
commit | 006afaea046dd6d887c53cebd1c6f61079bebfe5 (patch) | |
tree | c37ccb1d2ea05263ec242809fc741fd8bfe8a0ba | |
parent | 0e7515ff6725b300df0d8786ccf122d55a8c4310 (diff) |
Disable querying the 'wikieditor' change tag temporarily
Bug: T298225
Change-Id: I637cf0c5bd664267622251234708b0e02197b85d
-rw-r--r-- | includes/changetags/ChangeTags.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/includes/changetags/ChangeTags.php b/includes/changetags/ChangeTags.php index 4244e9915b54..250e3f40b7ed 100644 --- a/includes/changetags/ChangeTags.php +++ b/includes/changetags/ChangeTags.php @@ -950,6 +950,11 @@ class ChangeTags { $filterTagIds = []; $changeTagDefStore = MediaWikiServices::getInstance()->getChangeTagDefStore(); foreach ( (array)$filter_tag as $filterTagName ) { + if ( $filterTagName === 'wikieditor' ) { + // Return nothing. + $conds[] = '0=1'; + break; + } try { $filterTagIds[] = $changeTagDefStore->getId( $filterTagName ); } catch ( NameTableAccessException $exception ) { |