مساعدة API ميدياويكي
هذه صفحة توثيق ميدياويكي API التي تم إنشاؤها تلقائيا.
وثائق وأمثلة: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=growthinvalidateimagerecommendation
(main | growthinvalidateimagerecommendation)
- هذه الوحدة داخلية أو غير مستقرة. قد تتغير عمليتها دون إشعار.
- هذه الوحدة تتطلب صلاحيات القراءة.
- هذه الوحدة تقبل طلبات POST فقط.
- المصدر:GrowthExperiments
- الترخيص: GPL-3.0-or-later
إلغاء اقتراح صورة.
Calling this API will:
- Reset the "hasrecommendation:image" weighted tag for the article, so the article is no longer returned in search results for image suggestions.
- Add the article to a short-lived cache, which the GrowthExperiments extension's ImageRecommendationFilter consults to decide if the article should be excluded from the user's suggested edits queue when accessed on Special:Homepage or via the action=query&list=growthtasks API.
- 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
نوع المهمة (المستوى الأعلى أو مستوى القسم)
- إحدى القيم التالية: image-recommendation، section-image-recommendation
- الافتراضي: image-recommendation
- title
عنوان المقالة الخاصة بمهمة اقتراح الصورة
- هذه المعلمة مطلوبة.
- النوع: عنوان صفحة
- يقبل الصفحات غير الموجودة.
- filename
اسم المِلَفّ، دون البادئة، لاقتراح الصورة، على سبيل المثال Foo.jpg
- هذه المعلمة مطلوبة.
- sectiontitle
عنوان القسم الذي يوصى له بصورة، على سبيل المثال التاريخ
- sectionnumber
الفِهْرِس القائم على 1 للقسم الذي يوصى له بصورة، على سبيل المثال 3
- النوع: 2 = قائمة الأعداد الصحيحة
- token
تم استرداد رمز مميز "csrf" من action=query&meta=tokens
- هذه المعلمة مطلوبة.