ReactNative login app with mediawiki API login

Client will need to log in to MediaWiki if:

  • 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.


Screen Shot 2018-08-10 at 9.07.46 AM


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



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s