Release status: stable | |
|---|---|
| Implementation | Hook,Special page |
| Description | VisualData is a full-fledged metadata management framework based on json-schema able to easily record, organize and query collection of data on your wiki. |
| Author(s) | thomas-topway-it (thomas-topway-ittalk) |
| Latest version | 1.1.2 (2025-10-20) |
| Compatibility policy | Master maintains backward compatibility. |
| MediaWiki | 1.35+ |
| Database changes | Yes |
| |
| |
| |
| License | GNU General Public License 2.0 or later |
| Download | |
| Example | Wikisphere |
| Translate the VisualData extension if it is available at translatewiki.net | |
VisualData is a full-fledged metadata management framework based onjson-schema able to easily record, organize and query collection of data on your wiki.
It is characterized by a strong emphasis on the UI/UX side and aims to present itself as a lightweight or modern alternative toExtension:Semantic MediaWiki andCargo.
check outlive demos andRelease notes for the latest improvements
The extension adds the following interface elements to your wiki (some of them only for authorized users and/or sysops)
The visibility of each of them can be managed using theglobal parameters below.
VisualData in yourextensions/ folder.composer install --no-dev in the extension folder. This will install the required libraries[1]wfLoadExtension('VisualData');
php maintenance/run.php update (this will install the required tables)Make sure to runphpmaintenance/run.php./extensions/VisualData/maintenance/RebuildData.php after each update of the extension when indicated in theRelease notes. This will drop/recreate the tables based on the data stored on the wiki.
The extension creates the followinguser rights.They can be both included manually in theLocalSettings.php or to be managed through the interface (special pageSpecial:UserRights).Sysops and bureaucrats are assigned with the complete set of permissions by default.
| right | description |
|---|---|
visualdata-caneditdata | Can edit metadata related to wiki articles by editing/assigning json-schemas to them |
visualdata-canmanageschemas | Can create/edit/delete schemas through the SchemaBuilder |
$wgGroupPermissions['*']["visualdata-caneditdata"]=true;$wgGroupPermissions['*']["visualdata-canmanageschemas"]=false;$wgVisualDataDisableSidebarLink=false;$wgVisualDataDisableSlotsNavigation=false;$wgVisualDataCreateJobsWarningLimit=0;$wgVisualDataEditDataNamespaces=[0,4,2226,2230];$wgVisualDataTrackingCategoryJsonData=false;$wgVisualDataTrackingCategoryForms=false;$wgVisualDataTrackingCategoryQueries=false;$wgVisualDataTrackingCategoryButtons=false;$wgVisualDataMaptilerApiKey='';// @Attention the same namespace is also used by Extension:JsonConfig and Extension:LinkedWikidefine("NS_DATA",2220);define("NS_DATA_TALK",2221);$wgExtraNamespaces[NS_DATA]="Data";$wgExtraNamespaces[NS_DATA_TALK]="Data_talk";
| group | Can edit data | Can manage schemas |
|---|---|---|
sysop,bureaucrat | ||
visualdata-admin | ||
visualdata-editor |
| variable | description | default |
|---|---|---|
$wgVisualDataDisableSlotsNavigation | hide slots tab on the navigation panel | false |
$wgVisualDataDisableSidebarLink | hide VisualData's links section on the sidebar | false |
$wgVisualDataEditDataNamespaces | default namespaces with editable metadata | 0, 4 (Main, Project) |
$wgVisualDataTrackingCategoryJsonData | add a tracking category to articles with data | false |
$wgVisualDataCreateJobsWarningLimit | number of jobs created without emitting a notice | 0 |
$wgVisualDataDisableVersionCheck | disable version check of the extension | false |
$wgResourceLoaderDebug = true; in LocalSettings.php, this will include separately each file and should solve the problem.oneOf,anyOf and support for the$ref keywordoneOf,anyOf andallOf support to form generator and SchemaBuilder (the SchemaBuilder will contain a select on the schema main panel)$ref keyword to SchemaBuilder (properties panel, besides 'add field', 'add content block', etc.)Additionally:
Extension:VisualData/Release notes
Please post error messages in theTalk page of the extension or usePhabricator for technical contributions.Updates will be occasionally posted on the MediaWiki'sWikitech mailing list.
For professional support please write at the email address postedhere