Release status: stable
|Description||Display and editing of dashboard configuration|
|Latest version||0.1 (2016-12-08)|
|Compatibility policy||Snapshots releases along with MediaWiki. Master is not backward compatible.|
|License||GNU General Public License 2.0 or later|
|Translate the Dashiki extension if it is available at translatewiki.net|
|Issues||Open tasks · Report a bug|
The Dashiki extension simply renders the JSON used to configure dashiki dashboards in a friendly html table. In the future, the Dashiki extension might be updated with better editors and schema validation, but for now it's simply here to render and provide a little context to Dashiki configurations on meta.wikimedia.org.
- Dashiki renders Config:Dashiki: pages in a nice format with contextual help.
The extension can be retrieved directly from Git [?]:
- Some extensions have tags for stable releases.
- Select the tag
- Click "snapshot"
- Each branch is associated with a past MediaWiki release. There is also a "master" branch containing the latest alpha version (might require an alpha version of MediaWiki).
- Browse branches
- Select a branch name
- Click "Continue"
Extract the snapshot and place it in the extensions/Dashiki/ directory of your MediaWiki installation.
If you are familiar with Git and have shell access to your server, you can also obtain the extension as follows:
Dashiki requires Extension:JsonConfig to be installed to work.
Pages such us https://meta.wikimedia.org/wiki/Config:Dashiki:Sample/metrics-by-project are handled by this extension
- Download and place the file(s) in a directory called
- Add the following code at the bottom of your LocalSettings.php:
wfLoadExtension( 'Dashiki' ); $wgJsonConfigs['JsonConfig.Dashiki'] = array( 'pattern' => '/^Dashiki\:./', 'isLocal' => true, ); $wgJsonConfigModels['JsonConfig.Dashiki'] = array( 'class' => null, 'view' => 'Dashiki\DashikiView', );
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
To users running MediaWiki 1.29 or earlier:
The instructions above describe the new way of installing this extension using
If you need to install this extension on these earlier versions (MediaWiki 1.29 and earlier), instead of
wfLoadExtension( 'Dashiki' );, you need to use:
This extension enhances the jsonconfig extension abilities when it comes to configuration in a specific namespace, to test locally with vagrant create a document like: http://localhost:8080/wiki/Config:Dashiki:Annotations/Wikistats/totalPageViews
Document should contain data json-formatted similar to: https://meta.wikimedia.org/w/index.php?title=Config:Dashiki:Annotations/Wikistats/totalPageViews
To see usages off this files you can take a look at the below documentation: Full Docs for Dashiki and how to create and configure a dashboard
the extension just provides the capabilities of rendering the json configuration, nothing else.
|This extension is being used on one or more Wikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia's CommonSettings.php and InitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page.|