İstemci kitaplıkları, geliştiricilerin ortak ve temel görevlere yardımcı olmak için kullanabilecekleri kod içerir, böylece projeleri bir API ile etkileşime girdiğinde kodu sıfırdan yazmak zorunda kalmazlar.
Bu sayfa, MediaWiki Eylem API ile kullanılabilecek en fazla üç önerilen istemci kitaplığının diline göre bir listesini içerir.
Öneriler, API:Client_code/Gold_standard kullanan değerlendirmelere dayanmaktadır.
Yeni ve / veya değerlendirilmemiş kütüphaneler API:Client_code/All eklenmelidir.
API istemci kitaplıkları
Last activity refers to the last commit in the repository. Dates and version numbers were updated on 2019-06-19.
Mwn is a modern and feature-rich API client with support for both JavaScript and TypeScript.Has classes for conveniently working with page titles and parsing wikitext.Supports both OAuth and BotPasswords.
Generic MediaWiki API client for client-side JavaScript.It ships with MediaWiki core as a ResourceLoader module bundle.It abstracts some high-level concepts and provides a generic client for other queries.
Makes query (tokens, userinfo), clientlogin, upload, and logout calls.It handles HTTPS requests and cookies and can be used to upload files to Wikimedia Commons.
Sometimes people try to use these kind of libraries to access a MediaWiki installation on the same server.This is often unnecessary because MediaWiki itself is written in PHP, especially when the only purpose of the script is interacting with MediaWiki.With requireWebStart.php (MW_INSTALL_PATH may need to be set beforehand, see Manual:$IP), a script gets access to MediaWiki components and consequently it can call the API internally or use other MediaWiki classes and functions directly, which greatly reduces server load.
A minimalistic library that handles some of the core MediaWiki API complexities like handling continuations, login, errors, and warnings, but does not impose any additional abstraction layers.
A wrapper for the MediaWiki API, aimed particularly at the Wikimedia 'production' wikis, such as Wikipedia.Can be used to retrieve page text, information about users or the history of pages, and elements of the category tree.