Download the PHP package mwstake/mediawiki-component-manifestregistry without Composer
On this page you can find all versions of the php package mwstake/mediawiki-component-manifestregistry. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mwstake/mediawiki-component-manifestregistry
More information about mwstake/mediawiki-component-manifestregistry
Files in mwstake/mediawiki-component-manifestregistry
Package mediawiki-component-manifestregistry
Short Description Provides classes and services to interact with registries in MediaWiki manifests
License GPL-3.0-only
Informations about the package mediawiki-component-manifestregistry
MediaWiki Stakeholders Group - Components
ManifestRegistry for MediaWiki
Provides a combined registry over all in the attribute
section registered things in extension.json
files.
This code is meant to be executed within the MediaWiki application context. No standalone usage is intended.
Compatibility
3.0.x
-> MediaWiki 1.432.0.x
-> MediaWiki 1.392.0.x
-> MediaWiki 1.35
Use in a MediaWiki extension
Require this component in the composer.json
of your extension:
JSON { "attributes": { "BlueSpiceFoundation": { "RoleRegistry": { "admin": "\BlueSpice\Permission\Role\Admin::factory", "editor": "\BlueSpice\Permission\Role\Editor::factory", "reader": "\BlueSpice\Permission\Role\Reader::factory", "author": "\BlueSpice\Permission\Role\Author::factory", "reviewer": "\BlueSpice\Permission\Role\Reviewer::factory", "accountmanager": "\BlueSpice\Permission\Role\AccountManager::factory" } }, "BlueSpicePrivacy": { "CookieConsentNativeMWCookies": { "notificationFlag": { "group": "necessary", "addPrefix": true } } } }, "manifest_version": 2, }
### Implement in your code
## Configuration
- `mwsgManifestRegistryOverrides`: Used to overwrite existing registries by either add, remove or merge their values:
*Example 1:*