Extension:VueTest
A request to archive this extension has been made on Phabricator. See task T357475 for the archival request and the rationale for the request, and to leave comments about the request. |
VueTest Release status: experimental |
|
---|---|
Implementation | Special page |
Description | Sandbox and testing ground for Vue.js code in MediaWiki |
Author(s) | Design Systems Team |
Latest version | Continuous updates |
Compatibility policy | Snapshots releases along with MediaWiki. Master is not backward compatible. |
MediaWiki | master |
License | GNU General Public License 2.0 or later |
Download | readme |
Quarterly downloads | 1 (Ranked 135th) |
Translate the VueTest extension if it is available at translatewiki.net | |
Issues | Open tasks ¡ Report a bug |
VueTest is a demonstration extension for how to embed Vue.js code in MediaWiki. It's also used as a testing tool for testing Codex components in MediaWiki.
Requirements
[edit]MediaWiki 1.39.0 or greater.
Installation
[edit]Download this extension into the extensions directory of your local MediaWiki instance. Then enable it in LocalSettings.php by adding:
wfLoadExtension( 'VueTest' );
All Vue.js code is meant to be handled by ResourceLoader at runtime, so running npm install
is not necessary. However, there are a number of devDependencies specified in 'package.json' that may be useful for development and testing.
Once set up, running npm test and composer test will run automated code checks.
Usage
[edit]This extension adds a new special page, Special:VueTest. This page contains several interactive demos to showcase some of what you can do with Vue, as well as how this tool can be integrated in a MediaWiki environment.