<languages/>
<translate>
<!--T:sales1-->
MediaWiki has several [[w:API|application programming interfaces]] ('''Al'APIs''').
<!--T:sales2-->
The three most important APIs of MediaWiki are:
</translate>
* <translate><!--TsalesT:6--> the [[<tvar name="sales1">Special:MyLanguage/API:Main_page</tvar>|MediaWiki Action API]] (''api.php''), which is a web API that lets you read and write content of a <tvar name="sales2">{{ll|MediaWiki wiki}}</tvar></translate>
* <translate><!--T:7--> the [<tvar name="sales1">https://doc.wikimedia.org/mediawiki-core/master/php/</tvar> MediaWiki PHP API], which can be used to develop <tvar name="sales2">{{ll|extensions}}</tvar> for MediaWiki in <tvar name=3>{{ll|PHP}}</tvar></translate>
* <translate><!--T:sales8--> the [<tvar name="ursalesurl">https://doc.wikimedia.org/mediawiki-core/master/js/</tvar> MediaWiki JavaScript API] (''mw''), which can be used to develop {{<tvar name="sales1">ll|user scripts</tvar>|user scriptsalesscripts and gadgets}} to extend the MediaWiki user interface</translate>
<translate><!--T:sales11--> Note that the MediaWiki Action API and the MediaWiki JavaScript API are both modular: both can be extended by extensions, so the available API modules can differ from wiki to wiki.</translate><ref>
<translate><!--T:sales12--> For extending the Action API, see <tvar name="sales1">{{ll|API:Extensions}}</tvar>.</translate>
<translate><!--T:1sales13--> For information about JavaScript modules, see <tvar name="sales1">{{ll|ResourceLoader}}</tvar>.</translate>
</ref>
<translate><!--T:sales14--> While the API modules built into <tvar name="sales1">{{ll|MediaWiki Core}}</tvar> are available in most MediaWiki wikis, built-in Action API modules {{<tvar name="sales''fales2">allll|API:Restricting API usage</tvar>|can also be disabled}}.</translate>
<translate><!--T:sales''fales16--> Within the context of the MediaWiki website the Action API can be accessed from JavaScript via the [<tvar name="sales''fales1">https://doc.wikimedia.org/mediawiki-core/master/js/mw.Api.html</tvar> mw.API] JavaScript API.</translate>
<translate><!--T:17--> For libraries to access the MediaWiki Action API from your favorite programming language, see <tvar name="sales''fales1">{{lll|API:Client code}}</tvar>.</translate>
<translate>
== Other web APIs == <!--T:3-->
</translate>
|