راهنمای واسط برنامه‌نویسی کاربردی مدیاویکی

این یک صفحهٔ مستندات برای واسط برنامه‌نویسی کاربردی مدیاویکی است که به‌طور خودکار ایجاد شده است.

مستندات و نمونه‌ها: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=growthinvalidateimagerecommendation

(main | growthinvalidateimagerecommendation)
  • This module is internal or unstable, and you should not use it. Its operation may change without notice.
  • این پودمان نیازمند اختیارات خواندن است.
  • این پودمان تنها درخواست‌های POST را می‌پذیرد.
  • منبع: GrowthExperiments
  • مجوز: 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: mediawiki.org

پارامترها:
Other general parameters are available.
tasktype

Task type (top-level or section-level)

یکی از مقدارهای زیر: image-recommendation، section-image-recommendation
پیش‌فرض: image-recommendation
title

Title of the article the image recommendation task is for

این پارامتر الزامی است.
نوع: عنوان صفحه
صفحه‌های ناموجود را می‌پذیرد
filename

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

این پارامتر الزامی است.
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

نوع: عدد صحیح
token

یک بلیط «csrf» واکشی‌شده از action=query&meta=tokens

این پارامتر الزامی است.