MediaWiki用DiscourseConnect

:warning: No longer maintained

Original Description

A MediaWiki extension that implemented DiscourseConnect consumer, allows your MediaWiki instance login with Discourse account, and more features are working in progress.

:warning: WARNING: It’s a crude extension that may have bugs that harm the security of your website.

GitHub - hawm/mediawiki-extensions-DiscourseConnect: A MediaWiki extension that implemented DiscourseConnect consumer, allows your MediaWiki instance login with Discourse account, and more features are working in progress.

「いいね!」 6

Looks good!

A couple of years ago I had a go at a MediaWiki extension for pulling Discourse info into wiki pages: Extension:Discourse - MediaWiki

「いいね!」 3

@freosam is it working well?

Any specific bugs to be aware of?

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.

Gotcha, did you have any success in connecting the two systems with some other authentication method?

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).

@hawm このプラグインを本当にありがとうございます!

いくつかの調整の後、少なくとも1.35.0ではすべて正常に動作しています。

  1. includes/DiscourseServices.php では、<? の代わりに <?php が必要でした。このため、ユーザーをリンクする際にエラーが発生しました。
    DiscourseConnect/maintenance/manageDiscourseUser.php: Class 'DiscourseConnect\\DiscourseServices' not found

  2. プラグインを動作させるために、includes/Service/DiscourseUserService.phpDB_PRIMARYDB_MASTER に置き換える必要がありました。

これが誰かの助けになれば幸いです :slight_smile:

MediaWikiのデフォルトのトーク機能を置き換えたり、メールなどの他のフィールドを埋めたりするような、計画されている機能をもっと見てみたいです。何か計画はありますか?

改めて感謝し、これからも頑張ってください!

後悔している点があります。最初のバージョンが公開されて以来、この拡張機能の開発は行っていません。なぜなら、MediaWikiはコミュニティメンバーにとって、私自身(MediaWikiインスタンスのメンテナー、拡張機能開発者、編集者として)にとっても複雑すぎると気づいたからです。

ご覧のとおり、gitリポジトリは私がアーカイブしました。現在は読み取り専用です。もし必要であれば、自由にフォークしてください(必要であればMITライセンスの下で)。

追伸:コミュニティ主導のWikiは、最終的にDiscourse Wiki Postに戻り、Discourseプラグイン/テーマシステムを介して拡張を試みています。

「いいね!」 2