mwstake / mediawiki-component-utils
Installs: 26 200
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Open Issues: 0
Requires
Requires (Dev)
README
Utils for MediaWiki
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:
{ "require": { "mwstake/mediawiki-component-utils": "~3" } }
Since 2.0 explicit initialization is required. This can be achived by
- either adding
"callback": "mwsInitComponents"
to yourextension.json
/skin.json
- or calling
mwsInitComponents();
within you extensions/skins customcallback
method
See also mwstake/mediawiki-componentloader
.