ocdladefense / mw-oauth
A mediawiki extension for OAuth.
Installs: 46
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:wordpress-theme
Requires
Requires (Dev)
README
OAuth and Login Related Links.
- https://www.mediawiki.org/wiki/Extension:OAuth2_Client
- https://www.mediawiki.org/wiki/Extension:OAuth
- https://doc.wikimedia.org/mediawiki-core/master/php/classWebRequest.html#a2b571214e80e3998627ecb89cc0d9f56 : Documentation for "WebRequest".
- https://www.mediawiki.org/wiki/Manual:SessionManager_and_AuthManager
- https://doc.wikimedia.org/mediawiki-core/1.23.7/php/classOutputPage.html : Documentation for OutputPage class.
- https://www.mediawiki.org/wiki/Extension:PluggableAuths (Uses the "onBeforeInitialization", ) : pluggableAuth extension (oauth example).
- https://www.mediawiki.org/wiki/Manual:Database_access
- https://www.mediawiki.org/wiki/Manual:Hooks : All available mediawiki hooks.
- 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.
- install nodejs, npm, and PHP composer
- change to the extension's directory
npm install
composer install
Once set up, running npm test
and composer test
will run automated code checks.