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)
  • Questo modulo è interno o instabile e non dovresti usarlo. Il suo funzionamento potrebbe variare senza preavviso.
  • Questo modulo richiede i diritti di lettura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: GrowthExperiments
  • Licenza: 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

Parametri specifici:
Sono disponibili altri parametri generali.
tasktype

Task type (top-level or section-level)

Uno dei seguenti valori: image-recommendation, section-image-recommendation
Default: image-recommendation
title

Title of the article the image recommendation task is for

This parameter is required.
Tipo: titolo della pagina
Accetta pagine non esistenti.
filename

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

This parameter is required.
sectiontitle

The title of the section the image recommendation is for, e.g. History

sectionnumber

The 1-based index of the section the image recommendation is for, e.g. 3

Type: integer
token

Un token "csrf" recuperato da action=query&meta=tokens

This parameter is required.