미디어위키 API 도움말
이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.
설명 문서 및 예시: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=growthinvalidateimagerecommendation
(main | growthinvalidateimagerecommendation)
- 이 모듈은 내부용이거나 불안정합니다. 동작은 예고 없이 변경될 수 있습니다.
- 이 모듈은 read 권한을 요구합니다.
- 이 모듈은 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
특정 변수:
다른 일반 변수를 사용할 수 있습니다.
- tasktype
Task type (top-level or section-level)
- 다음 값 중 하나: image-recommendation, section-image-recommendation 또는 다른 문자열: 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에서 가져옵니다
- 이 변수는 필수입니다.