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