Want to contribute? Join the Discord and ask for the editor role.
RTGame:Application programming interface: Difference between revisions
API usage on the RTGame Wiki
No edit summary Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
{{Shortcut|RT:API}} | {{Shortcut|RT:API}} | ||
The RTGame Wiki provides an action API that can be accessed [https://wiki.rtgame.co.uk/api.php here]. Additional documentation is available on the [https://www.mediawiki.org/wiki/API:Main_page Mediawiki Action API page]. Some features are limited to logged in users, administrators, and bureaucrats. The [[Special:ApiSandbox|API Sandbox]] special page may be useful for users new to creating requests. | The RTGame Wiki provides an action API that can be accessed [https://wiki.rtgame.co.uk/api.php here]. Additional documentation is available on the [https://www.mediawiki.org/wiki/API:Main_page Mediawiki Action API page]. Some features are limited to logged in users, administrators, and bureaucrats. The [[Special:ApiSandbox|API Sandbox]] special page may be useful for users new to creating requests. | ||
Latest revision as of 12:38, 6 May 2021
The RTGame Wiki provides an action API that can be accessed here. Additional documentation is available on the Mediawiki Action API page. Some features are limited to logged in users, administrators, and bureaucrats. The API Sandbox special page may be useful for users new to creating requests.
Below are a few useful modules under the query action:
Module | Use |
---|---|
prefixsearch | Take user input and return the best-matching titles. Should be used with generator. |
description | Returns a short description of the given pages. |
pageimages | Returns information about images on the page, such as thumbnail and presence of photos. |
extracts | Returns plain-text or limited HTML extracts of the given pages. |
Note: A portion of the text above is originated from the Star Citizen Wiki under CC BY-SA 4.0 license.
RTGame Wiki community | ||
---|---|---|
Projects | Search Engine Optimization • | |
Policies | Application programming interface • Copyrights • Lua • Policies • Redirect • Short description • Shortcut • Style guide • Templates • | |
Editing guides | Advanced editing • Cheat sheet • Source mode basics • VisualEditor advanced • VisualEditor basics • Your first edit • |