ReactNative login app with mediawiki API for beginner mediawiki developer

Mediawiki has data it wants to share, so it exposes an API which is served by a REST server (several, in all likelihood). You want to write a mobile app that uses that API to fetch and expose tweets to a user, your mobile app would be the REST client.

  • it needs to obtain information or carry out an action that is restricted to users with certain rights
  • it is making large queries that would be inefficient without the higher per-request limits reserved for accounts with certain rights

On wikis that allow anonymous editing, it’s possible to edit through the API without logging in, but it’s highly recommended that you do log in. On private wikis, logging in is required to use any API functionality.

If your client is written in JavaScript running in the user’s browser, it will usually act with the credentials of the user who’s running it and so will not need to log in itself. In this case, you won’t need to login using the web service API–you’ll just need to ensure that the user has logged in through the web interface.

If your client is using OAuth or a similar mechanism, it will not need to explicitly log in as all OAuth requests are already authenticated.

Application-specific user accounts

Rather than having your application log in as yourself, you may want to create a separate user account just for your application. This is especially important if your application:

  • is carrying out automated editing or some other bulk operation.
  • invokes large or performance-intensive queries.

With a separate account, the changes made by your application can be easily tracked, and special rights (usually a “bot” user group) can be applied to the application’s account.



NOTE : If you need any help, feel free to revert on


@Cherishsantosh Thanks for sharing this cool demo app here! I will include it in the apps gallery that is currently being developed/ improved as part of the API documentation project: that you can keep an eye on :)

1 Like

Sure. You can do that.