Trustroots / mediawiki-nostr-auth

https://www.mediawiki.org/wiki/Extension:NostrLogin
GNU Affero General Public License v3.0
1 stars 0 forks source link

mediawiki nostr auth extension

This extension should enable people to log into mediawiki with their nostr identity.

path forward

resources

inspiration

installation

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',
       'couchers.org'
];

assumptions

developing

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.

  1. install nodejs, npm, and PHP composer
  2. change to the extension's directory
  3. npm install
  4. composer install

Once set up, running npm test and composer test will run automated code checks.