Extension:VueTest

Category:Extensions without an imageCategory:GPL licensed extensions
MediaWiki extensions manual
VueTest
Release status: experimentalCategory:Experimental extensions
Implementation Special page Category:Special page extensions
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.Category:Extensions with release branches compatibility policy
MediaWiki masterCategory:Extensions with manual MediaWiki version
License GNU General Public License 2.0 or later
Download Category:Extensions in Wikimedia version control
readme
Quarterly downloads 0
Translate the VueTest extension if it is available at translatewiki.net
Issues Open tasks · Report a bug
Category:All extensions

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

MediaWiki 1.39.0 or greater.

Installation

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

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.

See also

Category:All extensions Category:Experimental extensions Category:Extensions in Wikimedia version control Category:Extensions with manual MediaWiki version Category:Extensions with release branches compatibility policy Category:Extensions without an image Category:GPL licensed extensions Category:Special page extensions