Project Information
- Name of tool/project: NetworkSession
- Project home page: https://www.mediawiki.org/wiki/Extension:NetworkSession
- Name of team requesting review: Search Platform
- Primary contact: Erik Bernhardson
- Target date for deployment: as early as reasonable
- Link to code repository / patchset: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/NetworkSession/+/refs/heads/master
- Link to scc output for general sizing of codebases (https://github.com/boyter/scc): P56688
Description of the tool/project:
NetworkSession is a SessionProvider for api requests based on configured ip address and a secret token. It is intended for use cases such as having a system user in a wiki farm for a supporting application.
Description of how the tool will be used at WMF:
CirrusSearch, the mediawiki integration with our search backend, is externalizing it's search index update process from mediawiki into a separate application. This application needs to query all wikis, including private ones, to get the information that goes into the search engine. After discussion with the mw platform team we settled on this solution which provides a limited authentication scheme for similar use cases.
Dependencies
List dependencies, or upstream projects that this project relies on.
None
Has this project been reviewed before?
Please link to tasks or wiki pages of previous reviews.
No
Working test environment
Please link or describe setup process for setting up a test environment.
Install mediawiki (https://www.mediawiki.org/wiki/Cli used in dev). Follow extension README.md. This includes example config and curl invocations to test functionality.
Post-deployment
Name of team responsible for tool/project after deployment and primary contact.
Search Platform