A MediaWiki extension that implemented DiscourseConnect consumer, allows your MediaWiki instance login with Discourse account, and more features are working in progress.
WARNING: It’s a crude extension that may have bugs that harm the security of your website.
I’m afraid I’m not using either extension any more. There was an idea of Wikimedia using Discourse a while ago, which is why I was looking into it all, but that idea has passed now unfortunately.
Yep, just OAuth, although I’m not sure how much custom work there was to support it (I vaguely remember something about differing OAuth spec versions).
Everything is working well after few tweaks, at least for 1.35.0:
includes/DiscourseServices.php required <?php instead of <?. Because of this, i got the error while linking users: DiscourseConnect/maintenance/manageDiscourseUser.php: Class 'DiscourseConnect\DiscourseServices' not found
i had to replace DB_PRIMARY with DB_MASTER in includes/Service/DiscourseUserService.php to make the plugin working.
I hope this helps someone
I would love to see more features you’ve planned like replacing the default talk function of MediaWiki and populating other fields like email. Any plans for this?
Some regrets, I’m no more working on this extension since the initial version was published cause I realized that the MediaWiki is too complicated for our community members, even to me(as a MediaWiki instance maintainer, extension developer, and editor).
As you can see the git repository has been archived by me it is now read-only, so please feel free to fork it if you still need it(under MIT license if necessary).
P.S. We community-powered Wiki finally switch back to Discourse Wiki Post and try to extend it via the Discourse Plugin/Theme system.