미디어위키 API 도움말
이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.
설명 문서 및 예시: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=wikiforum-set-thread-stickiness
(main | wikiforum-set-thread-stickiness)
- 이 모듈은 read 권한을 요구합니다.
- 이 모듈은 write 권한을 요구합니다.
- 이 모듈은 POST 요청만을 허용합니다.
- 출처: WikiForum
- 라이선스: GPL-3.0-or-later
Set the stickiness status of a thread, i.e. make a previously sticky thread a regular thread or turn a regular thread into a sticky thread
특정 변수:
다른 일반 변수를 사용할 수 있습니다.
- id
ID of the thread
- 이 변수는 필수입니다.
- 유형: 정수
- stickiness
Action to take, either set to make a thread sticky or remove to remove a thread's sticky status
- 이 변수는 필수입니다.
- 다음 값 중 하나: remove, set 또는 다른 문자열: remove, set
- token
"csrf" 토큰은 action=query&meta=tokens에서 가져옵니다
- 이 변수는 필수입니다.
예시:
- Make the thread with the ID #666 sticky
- api.php?action=wikiforum-set-thread-stickiness&id=666&stickiness=set [연습장에서 열기]