Mediawiki Authentication plugin for server wikis

Mediawiki Authentication plugin for server wikis

Postby gpcf » Wed Apr 17, 2019 10:14 am

This project allows you to create a wiki for your server that uses the minetest username and passwords as login data. It is still quite experimental, mostly since I wrote the code in an afternoon and I don't think the architecture of this mod is very nice, and the parts were cannibalized from different projects because I'm lazy. I took the minetest side from the webmail mod by BuckarooBanzai and the MediaWiki side from a Moodle authentication plugin (see README files for details), and I wrote a rudimentary web server in python to glue it all together.

This system powers the linuxworks server wiki, which can be found at https://wiki.linux-forks.de

The components can be found at:

Please reports bugs on our bugtracker.
gpcf
Member
 
Posts: 302
Joined: Fri May 27, 2016 10:48 am
In-game: gabriel

Re: Mediawiki Authentication plugin for server wikis

Postby BuckarooBanzay » Wed Apr 17, 2019 6:31 pm

Interesting :) Thanks for sharing that.

I hacked something together myself:
a http-mw-proxy that accepts a http-call from the /wikipassword command and upserts the user table with the hashed password in the mediawiki postgres database :P

It works nicely but i don't think neither of those solutions is very elegant :(
If there only would be some kind of lua-controlled http-server on the minetest-server...
BuckarooBanzay
Member
 
Posts: 217
Joined: Tue Apr 24, 2018 5:58 am
GitHub: thomasrudin-mt
In-game: BuckarooBanzai

Re: Mediawiki Authentication plugin for server wikis

Postby gpcf » Wed Apr 17, 2019 6:45 pm

Well, at least my solution uses the documented APIs of Mediawiki instead of postgres injection. lua http-server in minetest would be nice for this thing.
gpcf
Member
 
Posts: 302
Joined: Fri May 27, 2016 10:48 am
In-game: gabriel



Return to Minetest-related projects



Who is online

Users browsing this forum: Yandex Bot [Bot] and 0 guests