Page MenuHomePhabricator

Add an image: quality gate is no longer applied (regression)
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

  • Betalabs w/imagerecommendation variant
  • Go to Special:Homepage
  • Click on task card on desktop

What happens?:
I was able to proceed to the article. There is a console error:

load.php?lang=en&modules=ext.growthExperiments.Homepage.SuggestedEdits|jquery%2Coojs-ui-core%2Coojs-ui-widgets&skin=vector&version=17wjj:64 Uncaught TypeError: Cannot read properties of undefined (reading 'mobileOnly')
    at QualityGate.checkMobileOnlyGate (load.php?lang=en&modules=ext.growthExperiments.Homepage.SuggestedEdits|jquery%2Coojs-ui-core%2Coojs-ui-widgets&skin=vector&version=17wjj:64)
    at QualityGate.<anonymous> (load.php?lang=en&modules=ext.growthExperiments.Homepage.SuggestedEdits|jquery%2Coojs-ui-core%2Coojs-ui-widgets&skin=vector&version=17wjj:64)
    at QualityGate.<anonymous> (load.php?lang=en&modules=ext.growthExperiments.Homepage.SuggestedEdits|jquery%2Coojs-ui-core%2Coojs-ui-widgets&skin=vector&version=17wjj:64)
    at Array.every (<anonymous>)
    at QualityGate.checkAll (load.php?lang=en&modules=ext.growthExperiments.Homepage.SuggestedEdits|jquery%2Coojs-ui-core%2Coojs-ui-widgets&skin=vector&version=17wjj:64)
    at SuggestedEditsModule.<anonymous> (load.php?lang=en&modules=ext.growthExperiments.Homepage.SuggestedEdits|jquery%2Coojs-ui-core%2Coojs-ui-widgets&skin=vector&version=17wjj:18)
    at HTMLDivElement.dispatch (load.php?lang=en&modules=ext.growthExperiments.Homepage.SuggestedEdits|jquery%2Coojs-ui-core%2Coojs-ui-widgets&skin=vector&version=17wjj:168)
    at HTMLDivElement.elemData.handle (load.php?lang=en&modules=ext.growthExperiments.Homepage.SuggestedEdits|jquery%2Coojs-ui-core%2Coojs-ui-widgets&skin=vector&version=17wjj:164)

What should have happened instead?:
A dialog should be shown.

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:
1.38.0-alpha (a2b9593)

Event Timeline

Change 739613 had a related patch set uploaded (by MewOphaswongse; author: MewOphaswongse):

[mediawiki/extensions/GrowthExperiments@master] Set qualityGateConfig when filtering link recommendation tasks

https://gerrit.wikimedia.org/r/739613

We would like to backport this so that it can be included in ambassador testing, which starts on Friday, and so that their communities can see it in action if more people test out "add an image".

This is caused by https://gerrit.wikimedia.org/r/c/mediawiki/extensions/GrowthExperiments/+/722593 which is in MW-1.38-notes (1.38.0-wmf.11; 2021-11-30). We may not need to backport if the patch gets merged into the same milestone.

Change 740110 had a related patch set uploaded (by Gergő Tisza; author: Kosta Harlan):

[mediawiki/extensions/GrowthExperiments@master] Structured tasks: Caching/filtering related improvements

https://gerrit.wikimedia.org/r/740110

Change 739613 abandoned by MewOphaswongse:

[mediawiki/extensions/GrowthExperiments@master] Set qualityGateConfig when filtering link recommendation tasks

Reason:

In favor of https://gerrit.wikimedia.org/r/c/mediawiki/extensions/GrowthExperiments/+/740110

https://gerrit.wikimedia.org/r/739613

Change 740110 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Structured tasks: Caching/filtering related improvements

https://gerrit.wikimedia.org/r/740110

Etonkovidova subscribed.

Checked in betalabs and wmf.9 - the warning dialog to users is displayed.