MediaWiki API yardımı

Bu otomatik olarak oluşturulan bir MediaWiki API belgelenme sayfasıdır.

Belgeler ve örnekler: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=wblinktitles

(main | wblinktitles)
  • Bu modül okuma hakları gerektirir.
  • Bu modül yazma hakları gerektirir.
  • Bu modül yalnızca POST isteklerini kabul eder.
  • Kaynak: WikibaseClient
  • Lisans: GPL-2.0-or-later

İki farklı vikideki iki sayfayı bir Wikibase öğesiyle ilişkilendirir.

Parametre:
Other general parameters are available.
returnto

Page title. If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to the given page, instead of the page that was edited.

Tür: sayfa başlığı
Var olmayan sayfaları kabul eder.
returntoquery

URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.

Varsayılan: (boş)
returntoanchor

URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.

Varsayılan: (boş)
tosite

Sayfanın bulunduğu site için bir tanımlayıcı. Tam bir site bağlantısı oluşturmak için totitle ile birlikte kullanın.

Bu parametre gerekli.
Aşağıdaki değerlerden biri:
totitle

İlişkilendirilecek sayfanın başlığı. Tam bir site bağlantısı oluşturmak için tosite ile birlikte kullanın.

Bu parametre gerekli.
fromsite

Sayfanın bulunduğu site için bir tanımlayıcı. Tam bir site bağlantısı oluşturmak için fromtitle ile birlikte kullanın.

Bu parametre gerekli.
Aşağıdaki değerlerden biri:
fromtitle

İlişkilendirilecek sayfanın başlığı. Tam bir site bağlantısı oluşturmak için fromsite birlikte kullanın.

Bu parametre gerekli.
token

action=query&meta=tokens üzerinden alınan bir "csrf" anahtarı

Bu parametre gerekli.
bot

Bu düzenlemeyi bot olarak işaretleyin. Bu URL işaretine yalnızca kullanıcı "bot" grubuna aitse saygı gösterilir.

Tür: boole (ayrıntılar)
Örnek:
İngilizce sayfasından Almanca sayfasında "Wasserstoff" linkine "Hydrogen" bağlantısı ekleyin
api.php?action=wblinktitles&fromsite=enwiki&fromtitle=Hydrogen&tosite=dewiki&totitle=Wasserstoff [sandbox'ta açın]
"https://kayipmedya.org/wiki/Özel:ApiHelp" sayfasından alınmıştır