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> | 2022-01-05 17:56:54 +0000 |
commit | d72241080959bcbb5c7c881e853a97592efa9ae1 (patch) | |
tree | 8cdfd6213c9f7fb0e1530927e500de3efb737fd1 | |
parent | 42fc7554c8f0f5ddb679a3aa4a4381a33b505e9b (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 c49743147144..10a99922d9c8 100644 --- a/includes/changetags/ChangeTags.php +++ b/includes/changetags/ChangeTags.php @@ -955,6 +955,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 ) { |