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=wbcreateredirect

(main | wbcreateredirect)
  • 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

Varlık yönlendirmesi oluşturur.

Parametre:
Other general parameters are available.
from

Yönlendirme yapmak için varlık kimliği

Bu parametre gerekli.
to

Yönlendirmek için varlık kimliği

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ı "Botlar" grubuna aitse saygı gösterilir.

Tür: boole (ayrıntılar)
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ş)
Örnek:
Q999999998 ögesini Q999999999 ögesine döndürün
api.php?action=wbcreateredirect&from=Q999999998&to=Q999999999 [sandbox'ta açın]
"https://kayipmedya.org/wiki/Özel:ApiHelp" sayfasından alınmıştır