mwstake / mediawiki-component-rel135vue3shim
Provides VueJS version 3 vor MediaWiki 1.35 only
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 6
Forks: 0
Open Issues: 0
Language:JavaScript
Requires
Requires (Dev)
- jakub-onderka/php-console-highlighter: 0.4.0
- jakub-onderka/php-parallel-lint: 1.0.0
- mediawiki/mediawiki-codesniffer: 29.0.0
- mediawiki/minus-x: 1.0.0
- phpunit/phpunit: ^6.5
README
REL1_35-VueJS3-Shim for MediaWiki
This code is meant to be executed within the MediaWiki application context. No standalone usage is intended.
This component is only meant to be used with MediaWiki 1.35!
Use in a MediaWiki extension
Add "mwstake/mediawiki-component-rel135vue3shim": "~1.0"
to the require
section of your composer.json
file.
Explicit initialization is required. This can be archived by
- either adding
"callback": "mwsInitComponents"
to yourextension.json
/skin.json
- or calling
mwsInitComponents();
within you extensions/skins customcallback
method
See also mwstake/mediawiki-componentloader
.
Only MediaWiki 1.35
This component must only be used in MW 1.35 context. Make sure it is used in a very isolated context (e.g. on a SpecialPage). There is some risk of VueJS version collision!
The code located in resources/
is basically just a copy of the files that are currently in wikimedia/mediawiki@wmf/1.38.0-wmf.22
. Same is true for boostrap.php
, which mimics incldues/Resources.php
from that version. Some minor adjustments were made to make it compatible to wikimedia/mediawiki@REL1_35
the ResourceLoader implementation.