MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=growthinvalidateimagerecommendation

(main | growthinvalidateimagerecommendation)
  • This module is internal or unstable. Its operation may change without notice.
  • This module requires read rights.
  • This module only accepts POST requests.
  • Source: GrowthExperiments
  • License: GPL-3.0-or-later

Invalidate an image recommendation.

Calling this API will:

  • Generate and send an event to EventGate to the image-suggestion-feedback stream. This allows improvements in the image suggestion pipeline, as the code in the pipeline can account for user feedback when generating recommendations.

Further reading: mw:Growth/Personalized_first_day/Structured_tasks/Add_an_image

Parameters:
title

Title of the article the image recommendation task is for

This parameter is required.
Type: page title
Accepts non-existent pages.
filename

The unprefixed filename for the image recommendation, e.g. Foo.jpg

This parameter is required.
token

A "csrf" token retrieved from action=query&meta=tokens

This parameter is required.