رہنمائے میڈیاویکی اےپیآئی
ذیل میں میڈیاویکی اےپیآئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔
دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=growthinvalidateimagerecommendation
(main | growthinvalidateimagerecommendation)
- یہ ماڈیول اندرونی یا غیر مستحکم ہے۔ چنانچہ بغیر کسی اطلاع کے اس کا طریقۂ کار تبدیل ہو سکتا ہے۔
- اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
- یہ ماڈیول فقط POST کی درخواستیں قبول کرتا ہے۔
- ماخذ: GrowthExperiments
- اجازت نامہ: GPL-3.0-or-later
Invalidate an image recommendation.
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
مخصوص پیرامیٹر:
دیگر عمومی پیرامیٹر دستیاب ہیں۔
- 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
- یہ پیرامیٹر لازمی ہے۔
- Type: page title
- Accepts non-existent pages.
- 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
- Type: integer
- token
A "csrf" token retrieved from action=query&meta=tokens
- یہ پیرامیٹر لازمی ہے۔