This extension should enable people to log into mediawiki with their nostr identity.
On your wiki go to Special:NostrLogin
Go to Special:UserLogin
Login with Nostr
.
Go to the root of your MediaWiki setup.
Run:
cd extensions
git clone https://github.com/Trustroots/mediawiki-nostr-auth.git
Add the following to LocalSettings.php
wfLoadExtension( 'mediawiki-nostr-auth' );
$NostrLoginDomains = [
'trustroots.org'
];
Install the PluggableAuth extension and the following to LocalSettings.php
wfLoadExtension( 'PluggableAuth' );
$wgPluggableAuth_EnableLocalLogin = true;
Install https://github.com/nostrver-se/nostr-php via composer
on your Mediawiki.
This automates the recommended code checkers for PHP and JavaScript code in Wikimedia projects (see https://www.mediawiki.org/wiki/Continuous_integration/Entry_points). To take advantage of this automation.
npm install
composer install
Once set up, running npm test
and composer test
will run automated code checks.
In August 2024 OpenSats granted Trustroots to work on nostroots https://opensats.org/blog/nostr-grants-august-2024#nostroots as the Trustroots ecosystem includes several MediaWikis we invested energy into this MediaWiki extension to tighten the bonds between nostroots and the Wikis.