Jump to content

Extension:VisualData/Release notes

From mediawiki.org

1.0.8d

[edit]

  • create basic db entries on create schema (this ensures the query does not return errors also if the schema has not yet associated data)
  • support use of printout parts containing slashes in query conditions (eg. "excerpt/a" as property name)
  • add support for SemanticMediaWiki queries within VisualData forms
  • Scribunto_LuaLibraryBase backward compatibility (support MW > 1.35.3)

see main related diff


1.0.8c

[edit]
  • add {{{params}}} and/or {{{_params}}} to show all available parameters in templates used in visualdataquery parser function
  • fix Carousel adptiveHeight
  • add hook onRandomPageQuery
  • fix result printer template array
  • add form selected-schema parameter
  • add count format
  • fix carousel fixed height
  • datatables parameter cards
  • improved docs:
  • fix Datatables button display
  • clean maintenance/rebuildData
  • Carousel result format
  • add csv import (maintenance script)
  • fix default categories and default content model
  • update Datatables v2 + searchPanes
  • fix non-existing schemas
  • fix special page browse data queries 1.42
  • add importer 1.42
  • add result printer lua and lua functions
  • query processor, add AND same property and OR
  • view form, add "cannot edit form"


1.0.8

[edit]
  • add 'emptyData' form internal parameter (used to determine the default values of form inputs)
  • redesign printout (support for alternate name, empty printouts and access to recursive printouts from templates)
  • fix field shown based on condition, boolean values
  • integration of TinyMCE (enabled using textarea format)
  • add parser function queryurl
  • add parser function base64encode/base64decode
  • add form parameter "return-url"

see main related diff


1.0.7

[edit]
  • redesign parsed values related to schema's title and description
  • remove DerivativeContext
  • redesign assignment of categories (also taking into account TrackingCategories)
  • redesign parser function visualdatabutton
  • add "overwrite-existing-article-on-create" form parameter
  • detect invalid schema name
  • add base64 printout modifier
  • add Base64ResultPrinter result printer
  • add schemaHasData (used with visualdatabutton and default value)


see main related diff


1.0.6

[edit]
  • fix type cast for enum lists (schema processor)
  • fix duplicate items error message (form generator)
  • fix wfGetDB deprecation error
  • add dependent values for non-lookup inputs
  • add show field with condition
  • fix save schema context
  • add regex to show field condition
  • redesign reduce use of global variables ($User and \VisualData::SchemaProcessor), redesign use of Context, DerivativeContext and Output
  • fix assignment of categories in pages with forms or queries with standard edit
  • add tracking categories
  • fix detect of renamed/deleted properties (SchemaBuilder)
  • fix boolean datatype (QueryProcessor)
  • enhance tracking of forms and queries and purge of subjects and transclusion targets
  • (VisualDataForms small technical enhancements)
  • fix delete properties job
  • add json-diff library alert
  • toggle setDisabled name input with array parent schema (SchemaBuilder)


see related diff

see related diff

see related diff

see related diff

see related diff



1.0.5

[edit]
  • visualdataprint supports pageid as first argument
  • override preload-data properties with the parameter preload-data?[property path]=value. This allows to recursively use template parameters to fill-in form fields (see Extension_talk:VisualData, section "Feature")
  • add better tag parse support for MW 1.35 (see commit)
  • form's return-page parameter supports query attributes (useful when used in conjunction with QueryLink parser function)
  • fix bug related to field's query options-label-formula
  • add <articleid> in options value formula and options label formula
  • add <value> in options label formula
  • support synchronization between schema names, property names and article data. Requires composer install --no-dev in the extension folder. (requires swaggest/json-diff)
  • add loading text placeholder for EditData and ManageSchemas Special pages
  • redesign DatabaseManager's parser functions recorded links in order to handle purging cache of related articles (it supports transclusion targets and templates used in parser functions, however does not yet support queries and form within "includeonly" tags for the same page)
  • (updated Extension:VisualData#Roadmap)


attention, run

php extensions/VisualData/maintenance/RebuildData.php


and

composer install --no-dev

(in the extension folder)

after installing this release


see main related diff


1.0.4b

[edit]
  • fix error messages for hidden fields
  • redesign form generator tabs handling
  • support (json-schema's) escaped property names
  • Added querylink parser function

see related diff

see related diff


1.0.4

[edit]
  • fix preload (visualdataform parser function)
  • fix missing dependency "mediawiki.widgets"
  • fix usort preg_quote (QueryBuilder)
  • fix cast default (QueryBuilder)
  • disable importer for MW 1.42 (MW 1.42 currently is not fully supported)
  • fix delete schema (SchemaBuilder) (the bug affected only the previous version)
  • add access to nested printouts in queries. e.g. {{{geolocation/latitude}}} can be accessed as such from the base template (previously an additional template had to be used related to the geolocation item) (see here)
  • add following aliases: vdataprint, vdataquery, vdataform, vdatabutton


1.0.3

[edit]
  • (SchemaBuilder, input widgets) fix add inherited config options (patch)
  • (SchemaBuilder, input widget config options dialog) help button linked to the relevant class for each input widget

  • (Form submit) fix change content model
  • (VisualDataForm) add parameters edit-target-slot, preload and preload-data
  • add Geolocation (Maptiler)

  • (Edit data/Form) add remove schema button for each schema, removed delete button for all schemas, add target slot selector, improved flow


see complete diff