Changes
Updating to match new version of source page
<noinclude>
<languages />
</noinclude>{{#switch:
| =
{{Mbox
|type = content
|image = [[File:API - The Noun Project.svg|30px|link=|alt=]]
|style = display: block; color:#222; border:solid 1px #A8A8A8; padding: .5em 1em; margin:0.5em 0em;
| text = This page is part of the [[Special:MyLanguage/API:Main_page|MediaWiki Action API]] documentation.
}}
{{Sidebar
| style = background: white; padding:10px; padding-{{dir|{{pagelang}}|left|right}}:13px; margin:{{dir|{{pagelang}}|5px 12px 5px 0|5px 0 5px 12px}}; width: 350px;
| name = API
| above =
| title = {{ll|API:Main page|MediaWiki Action API}}
| image =
| headingstyle = font-size: 130%; padding: .5em;
| contentstyle = text-align: {{dir|{{pagelang}}|right|left}}; font-size: 14px; padding: .5em; line-height: 1.5;
| abovestyle = text-align: {{dir|{{pagelang}}|right|left}};
| content1 =
;Basics:
* {{ll|API:Query|Interogări}}
* {{ll|API:Properties|Get properties of pages}}
* {{ll|API:Lists|List pages matching a criterion}}
* {{ll|API:Parameter information|Get module parameters information}}
* {{ll|API:Meta|Get meta information about the wiki and user}}
;Authentication:
* {{ll|API:Tokens|Get tokens for data modifying operations}}
* {{ll|API:Login|nsp=0}}
* {{ll|API:Logout|nsp=0}}
;Accounts and Users:
* {{ll|API:Account creation|Create an account}}
* {{ll|API:Block|Block or unblock a user}}
* {{ll|API:Userinfo| Get info about the current user}}
* {{ll|API:Watchlist feed|Get the current user's watchlist as a feed}}
* {{ll|API:Options|Change user options}}
* {{ll|API:User group membership|Change user group membership}}
* {{ll|API:Emailuser|Send an email}}
;Page Operations:
* {{ll|API:Parsing wikitext|Parse content of a page}}
* {{ll|API:Edit|Create and edit a page}}
* {{ll|API:Upload|Upload a file}}
* {{ll|API:Import|Import a page}}
* {{ll|API:Delete|Șterge pagini}}
* {{ll|API:Watch|Watch or unwatch a page}}
* {{ll|API:Purge|Purge cache for page(s)}}
* {{ll|API:Rollback|Rollback a page}}
* {{ll|API:Move|Move a page}}
* {{ll|API:Patrol|Patrol a page or revision}}
* {{ll|API:Undelete|Restore revisions of a deleted page}}
* {{ll|API:Protect|Change a page's protection level}}
* {{ll|API:SetPageLanguage|Change a page's language}}
* {{ll|API:Changing wiki content|Mai mult...}}
;Search:
* {{ll|API:Search|Search for a title or text}}
* {{ll|API:Opensearch|Fetch results in an OpenSearch format}}
* {{ll|API:Geosearch|Search for wiki pages near a location}}
* {{ll|API:Languagesearch|Search for a language}}
* {{ll|API:Prefixsearch|Perform a prefix search for page titles}}
;Developer Utilities:
* {{ll|API:Client code|Access libraries}}
* {{ll|API:Cross-site requests|nsp=0}}
* {{ll|API:Extensions|Creating an API module in an extension}}
* {{ll|API:Calling internally|Using the API in MediaWiki and extensions}}
* {{ll|API:Restricting API usage|nsp=0}}
* {{ll|API:Localisation|nsp=0}}
* {{ll|API:Implementation Strategy|nsp=0}}
; Tutorials:
* {{ll|API:Tutorial|Action API Tutorial}}
* {{ll|API:Article ideas generator|nsp=0}}
* {{ll|API:Nearby places viewer|nsp=0}}
* {{ll|API:Picture of the day viewer|nsp=0}}
* {{ll|API:Holidays viewer|nsp=0}}
}}<includeonly>{{#if:{{{nocat|}}}||[[Category:MediaWiki action API{{#translation:}}]]}}</includeonly>
| #default=
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:API|noshift=1}}
}}<noinclude>
[[Category:Navigation templates{{#translation:}}]]
[[Category:API templates{{#translation:}}|API Intro]]
[[Category:Exclude in print{{#translation:}}]]
[[Category:Categorizing templates{{#translation:}}]]
</noinclude>
<languages />
</noinclude>{{#switch:
| =
{{Mbox
|type = content
|image = [[File:API - The Noun Project.svg|30px|link=|alt=]]
|style = display: block; color:#222; border:solid 1px #A8A8A8; padding: .5em 1em; margin:0.5em 0em;
| text = This page is part of the [[Special:MyLanguage/API:Main_page|MediaWiki Action API]] documentation.
}}
{{Sidebar
| style = background: white; padding:10px; padding-{{dir|{{pagelang}}|left|right}}:13px; margin:{{dir|{{pagelang}}|5px 12px 5px 0|5px 0 5px 12px}}; width: 350px;
| name = API
| above =
| title = {{ll|API:Main page|MediaWiki Action API}}
| image =
| headingstyle = font-size: 130%; padding: .5em;
| contentstyle = text-align: {{dir|{{pagelang}}|right|left}}; font-size: 14px; padding: .5em; line-height: 1.5;
| abovestyle = text-align: {{dir|{{pagelang}}|right|left}};
| content1 =
;Basics:
* {{ll|API:Query|Interogări}}
* {{ll|API:Properties|Get properties of pages}}
* {{ll|API:Lists|List pages matching a criterion}}
* {{ll|API:Parameter information|Get module parameters information}}
* {{ll|API:Meta|Get meta information about the wiki and user}}
;Authentication:
* {{ll|API:Tokens|Get tokens for data modifying operations}}
* {{ll|API:Login|nsp=0}}
* {{ll|API:Logout|nsp=0}}
;Accounts and Users:
* {{ll|API:Account creation|Create an account}}
* {{ll|API:Block|Block or unblock a user}}
* {{ll|API:Userinfo| Get info about the current user}}
* {{ll|API:Watchlist feed|Get the current user's watchlist as a feed}}
* {{ll|API:Options|Change user options}}
* {{ll|API:User group membership|Change user group membership}}
* {{ll|API:Emailuser|Send an email}}
;Page Operations:
* {{ll|API:Parsing wikitext|Parse content of a page}}
* {{ll|API:Edit|Create and edit a page}}
* {{ll|API:Upload|Upload a file}}
* {{ll|API:Import|Import a page}}
* {{ll|API:Delete|Șterge pagini}}
* {{ll|API:Watch|Watch or unwatch a page}}
* {{ll|API:Purge|Purge cache for page(s)}}
* {{ll|API:Rollback|Rollback a page}}
* {{ll|API:Move|Move a page}}
* {{ll|API:Patrol|Patrol a page or revision}}
* {{ll|API:Undelete|Restore revisions of a deleted page}}
* {{ll|API:Protect|Change a page's protection level}}
* {{ll|API:SetPageLanguage|Change a page's language}}
* {{ll|API:Changing wiki content|Mai mult...}}
;Search:
* {{ll|API:Search|Search for a title or text}}
* {{ll|API:Opensearch|Fetch results in an OpenSearch format}}
* {{ll|API:Geosearch|Search for wiki pages near a location}}
* {{ll|API:Languagesearch|Search for a language}}
* {{ll|API:Prefixsearch|Perform a prefix search for page titles}}
;Developer Utilities:
* {{ll|API:Client code|Access libraries}}
* {{ll|API:Cross-site requests|nsp=0}}
* {{ll|API:Extensions|Creating an API module in an extension}}
* {{ll|API:Calling internally|Using the API in MediaWiki and extensions}}
* {{ll|API:Restricting API usage|nsp=0}}
* {{ll|API:Localisation|nsp=0}}
* {{ll|API:Implementation Strategy|nsp=0}}
; Tutorials:
* {{ll|API:Tutorial|Action API Tutorial}}
* {{ll|API:Article ideas generator|nsp=0}}
* {{ll|API:Nearby places viewer|nsp=0}}
* {{ll|API:Picture of the day viewer|nsp=0}}
* {{ll|API:Holidays viewer|nsp=0}}
}}<includeonly>{{#if:{{{nocat|}}}||[[Category:MediaWiki action API{{#translation:}}]]}}</includeonly>
| #default=
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:API|noshift=1}}
}}<noinclude>
[[Category:Navigation templates{{#translation:}}]]
[[Category:API templates{{#translation:}}|API Intro]]
[[Category:Exclude in print{{#translation:}}]]
[[Category:Categorizing templates{{#translation:}}]]
</noinclude>