I've been trying to get this going for several hours now with no real luck. I'm hoping someone can shed some light on the problem, because I've reached the end of what I can decipher by looking at all the code involved.
The problem is that I can Log In from QuickStatements via OAuth and approve the OAuth Consumer, but then when I am returned to the QuickStatements interface, I am not logged in.
Configuration
I have MagnusTools (from bitbucket) and QuickStatements (from github) both copied to my server. They are in an adjacent folder to that of our MediaWiki installation.
I've configured Apache to display QuickStatements on the root of port 9191 and that seems to be working well enough.
My OAuth Key and Secret are configured correctly because I can click the login link and receive the OAuth approval request, which is then saved in MediaWiki.
How did I get here
Well, for one, I had to make a lot of edits to make the Magnustools and Quickstatements work. There were hardcoded paths throughout the code, which I had to replace with my own paths. I've had to stumble over several other settings and changes in both the config.json config file as well as the code itself. Once I can get this working, I am happy to document those things that needed changing. (And this is something that should be addressed as part of making these components more ready for general use)
(additionally, the magnustools repo has a lot of repeated code, which is frustrating)
I see there is a schema.sql file in the QuickStatements /public_html/ directory, but there are no instructions on whether it's needed or how to configure it. I think it's needed. I created a database to add and maybe configured it, but no luck.
The README for QuickStatements is, in total, this.... and it's almost entirely unhelpful.
Using addwiki: https://github.com/addwiki/mediawiki-api Copy public_html/config.json.template to config.json and modify for your needs
I have the mediawiki-api installed via composer in the QuickStatements folder, which I have done.
Summary
I'm stuck. I'm in over my head with the unfamiliarity with all of the code and I've reached the end of what I can do to solve this. I don't know what the code is supposed to be doing, not without reading through every line of and spending another several hours making heads or tails of it.
Has anyone installed QuickStatements outside of Docker, and can they advise me on getting it running?
Thanks.