summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>2022-01-05 19:33:48 +0000
committerGerrit Code Review <gerrit@wikimedia.org>2022-01-05 19:33:48 +0000
commit02267f7d936e1a2c1cf8c7629d08b94b4382a3a3 (patch)
treefac7165c4da06a228d14e3807946f1ce7d151835
parenta8e7ba207c1a96de2e6a5455a9b4e42282241615 (diff)
parentd72241080959bcbb5c7c881e853a97592efa9ae1 (diff)
Merge "Disable querying the 'wikieditor' change tag temporarily" into wmf/1.38.0-wmf.16
-rw-r--r--includes/changetags/ChangeTags.php5
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 ) {