미디어위키 API 도움말

이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.

설명 문서 및 예시: https://www.mediawiki.org/wiki/API

action=wblinktitles

(main | wblinktitles)
  • 이 모듈은 read 권한을 요구합니다.
  • 이 모듈은 write 권한을 요구합니다.
  • 이 모듈은 POST 요청만을 허용합니다.
  • 출처: WikibaseClient
  • 라이선스: GPL-2.0-or-later

Associates two pages on two different wikis with a Wikibase item.

변수:
tosite

An identifier for the site on which the page resides. Use together with totitle to make a complete sitelink.

이 변수는 필수입니다.
다음 값 중 하나: 또는 다른 문자열:
totitle

Title of the page to associate. Use together with tosite to make a complete sitelink.

이 변수는 필수입니다.
fromsite

An identifier for the site on which the page resides. Use together with fromtitle to make a complete sitelink.

이 변수는 필수입니다.
다음 값 중 하나: 또는 다른 문자열:
fromtitle

Title of the page to associate. Use together with fromsite to make a complete sitelink.

이 변수는 필수입니다.
token

"csrf" 토큰은 action=query&meta=tokens에서 가져옵니다

이 변수는 필수입니다.
bot

Mark this edit as bot. This URL flag will only be respected if the user belongs to the group "bot".

Type: boolean (details)
예시:
Add a link "Hydrogen" from the English page to "Wasserstoff" at the German page
api.php?action=wblinktitles&fromsite=enwiki&fromtitle=Hydrogen&tosite=dewiki&totitle=Wasserstoff [연습장에서 열기]