Giter Club home page Giter Club logo

Comments (2)

WolfgangFahl avatar WolfgangFahl commented on August 18, 2024

You might want to look into SSLWiki which also has a separated login method. So having an OAuthWiki extending com.bitplan.mediawiki.japi.Mediawiki and implementing MediawikiApi might be the way to go. At this point i do not understand your Use Case enough to be sure what to recommend. What are you automating that you'd like to use several accounts? For most of my use cases i simply create a separate bot account with special rights (e.g. API access). Giving a lot of users API access might give you extra headaches.

from mediawiki-japi.

benjavalero avatar benjavalero commented on August 18, 2024

Thanks a lot for your answer. I already have a bot account to be used to automatized tasks. The purpose of this tool is to be able to modify just little pieces of text, mainly to fix spelling errors, but manually from a web interface.

On the other hand, I have debugged and found that, when retrieving the edit token, the current logged user is taken from the cookies set from the previous login. Thus I don't see an easy way of passing the OAuth access token.

So for the moment I will keep my current use of the library and close the question. Thanks again.

from mediawiki-japi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.