Comments (2)
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.
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)
- parse fails if Umlaut in pagename HOT 1
- add support for semantic mediawiki api
- Javadoc link leads to 404 HOT 1
- Links on github HOT 1
- SMW API Version 2
- Upgrade support and test to MW 1.33 and MW 1.31 LTS
- createAccount not working anymore for MW 1.27 up
- getVersion fails for MW 1.33
- Do not throw exception on The upload is an exact duplicate of the current version of
- Enable commandline interface with page transfer option HOT 1
- Spaces in pageTitles for CommandLine HOT 1
- isVersion128 check for MediaWiki 1.35
- CommandLine copy should not create empty pages but issue a warning
- Server Errror codes are not handled properly
- Update of use Wiki from https://github.com/MER-C/wiki-java HOT 3
- Fetching a token via "action=login" is deprecated. HOT 2
- use docker images for testing
- be lenient when comparing versions
- Catch java.net.ConnectException
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mediawiki-japi.