MediaWiki API súgó
Ez egy automatikusan generált MediaWiki-API-dokumentációs lap.
Dokumentáció és példák: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=growthinvalidateimagerecommendation
(main | growthinvalidateimagerecommendation)
- Ez a modul belső használatú vagy nem stabil. A működése értesítés nélkül változhat.
- Ez a modul olvasási jogot igényel.
- Ez a modul csak POST kéréseket fogad el.
- Forrás: GrowthExperiments
- Licenc: GPL-3.0-or-later
A képajánlási feladat érvénytelen
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
Jellemző paraméterek:
Other general parameters are available.
- tasktype
Task type (top-level or section-level)
- A következő értékek egyike: image-recommendation, section-image-recommendation
- Alapértelmezett: image-recommendation
- title
A szócikk címe a képajánló feladat
- Ez a paraméter kötelező.
- Típus: lapcím
- Nemlétező oldalakat is elfogad
- filename
The unprefixed filename for the image recommendation, e.g. Foo.jpg
- Ez a paraméter kötelező.
- 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
- Típus: egész szám
- token
Egy „csrf” token, az action=query&meta=tokens kéréssel lekérve
- Ez a paraméter kötelező.