ocdladefense/mw-oauth

There is no license information available for the latest version (v2.0.3) of this package.

A mediawiki extension for OAuth.

Installs: 45

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:wordpress-theme

v2.0.3 2021-11-11 16:23 UTC

README

OAuth and Login Related Links.

  1. https://www.mediawiki.org/wiki/Extension:OAuth2_Client
  2. https://www.mediawiki.org/wiki/Extension:OAuth
  3. https://doc.wikimedia.org/mediawiki-core/master/php/classWebRequest.html#a2b571214e80e3998627ecb89cc0d9f56 : Documentation for "WebRequest".
  4. https://www.mediawiki.org/wiki/Manual:SessionManager_and_AuthManager
  5. https://doc.wikimedia.org/mediawiki-core/1.23.7/php/classOutputPage.html : Documentation for OutputPage class.
  6. https://www.mediawiki.org/wiki/Extension:PluggableAuths (Uses the "onBeforeInitialization", ) : pluggableAuth extension (oauth example).
  7. https://www.mediawiki.org/wiki/Manual:Database_access
  8. https://www.mediawiki.org/wiki/Manual:Hooks : All available mediawiki hooks.
  9. https://www.mediawiki.org/wiki/Manual:Hooks/BeforeInitialize : Documentation for the "BeforeInitialize" hook.

MediaWiki defined database constants

DB_REPLICA = -1 DB_PRIMARY = -2 DB_MASTER = DB_PRIMARY

Features ???

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.