Main Page: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: 2017 source edit |
No edit summary |
||
| (18 intermediate revisions by the same user not shown) | |||
| Line 17: | Line 17: | ||
== Feature requests == | == Feature requests == | ||
{| class="wikitable" style="width: 100%; height: 600px" | | |||
|+ | |+ | ||
! style="width:50%" | Feature | ! style="width:50%" | Feature | ||
| Line 23: | Line 23: | ||
|- | |- | ||
|Excel like data input with sub-classes (automatic field generation) | |Excel like data input with sub-classes (automatic field generation) | ||
|Example: | | | ||
''' | === Example: === | ||
==== Definition''':''' ==== | |||
'''Rows (one class per line)''' | |||
{| class="wikitable" | |||
|District1, District 2 | |District1, District 2 | ||
female, male, diverse | female, male, diverse | ||
|} | |} | ||
Columns (one class per line) | '''Columns (one class per line)''' | ||
{| class="wikitable" | |||
|without university degree, without university degree | |without university degree, without university degree | ||
employed, unemployed | employed, unemployed | ||
|} | |} | ||
Restrict input | |||
'''Restrict input''' | |||
Add prefix | |||
* Numbers only | |||
| | * Regex | ||
* ...? | |||
'''Add prefix''' | |||
{| class="wikitable" | |||
| style="width: 60px; height: 12px" | | |||
|} | |} | ||
Add sufix | |||
| | '''Add sufix''' | ||
{| class="wikitable" | |||
| style="width: 60px; height: 12px" | | |||
|} | |} | ||
( | (prefix and suffix could be $, %, EUR etc.) | ||
Decimals | |||
| | '''Decimals''' | ||
{| class="wikitable" | |||
| style="width: 60px; height: 12px" | | |||
|} | |} | ||
==== Result: ==== | |||
{| class="wikitable excel-example" style="width: 100%" | |||
! | ! | ||
! | ! | ||
| Line 67: | Line 81: | ||
|female | |female | ||
| | | | ||
{| class="wikitable" | |||
| | | style="width: 60px; height: 12px" | | ||
|} | |} % | ||
| | | | ||
{| class="wikitable" | |||
| | | style="width: 60px; height: 12px" | | ||
|} | |} % | ||
| | | | ||
{| class="wikitable" | |||
| | | style="width: 60px; height: 12px" | | ||
|} | |} % | ||
| | | | ||
{| class="wikitable" | |||
| | | style="width: 60px; height: 12px" | | ||
|} | |} % | ||
|- | |- | ||
|male | |male | ||
| | | | ||
{| class="wikitable" | |||
| | | style="width: 60px; height: 12px" | | ||
|} | |} % | ||
| | | | ||
{| class="wikitable" | |||
| | | style="width: 60px; height: 12px" | | ||
|} | |} % | ||
| | | | ||
{| class="wikitable" | |||
| | | style="width: 60px; height: 12px" | | ||
|} | |} % | ||
| | | | ||
{| class="wikitable" | |||
| | | style="width: 60px; height: 12px" | | ||
|} | |} % | ||
|- | |- | ||
|diverse | |diverse | ||
| | | | ||
{| class="wikitable" | |||
| | | style="width: 60px; height: 12px" | | ||
|} | |} % | ||
| | | | ||
{| class="wikitable" | |||
| | | style="width: 60px; height: 12px" | | ||
|} | |} % | ||
| | | | ||
{| class="wikitable" | |||
| | | style="width: 60px; height: 12px" | | ||
|} | |} % | ||
| | | | ||
{| class="wikitable" | |||
| | | style="width: 60px; height: 12px" | | ||
|} | |} % | ||
|- | |- | ||
| rowspan="3" |District 2 | | rowspan="3" |District 2 | ||
|female | |female | ||
| | | | ||
{| class="wikitable" | |||
| | | style="width: 60px; height: 12px" | | ||
|} | |} % | ||
| | | | ||
{| class="wikitable" | |||
| | | style="width: 60px; height: 12px" | | ||
|} | |} % | ||
| | | | ||
{| class="wikitable" | |||
| | | style="width: 60px; height: 12px" | | ||
|} | |} % | ||
| | | | ||
{| class="wikitable" | |||
| | | style="width: 60px; height: 12px" | | ||
|} | |} % | ||
|- | |- | ||
|male | |male | ||
| | | | ||
{| class="wikitable" | |||
| | | style="width: 60px; height: 12px" | | ||
|} | |} % | ||
| | | | ||
{| class="wikitable" | |||
| | | style="width: 60px; height: 12px" | | ||
|} | |} % | ||
| | | | ||
{| class="wikitable" | |||
| | | style="width: 60px; height: 12px" | | ||
|} | |} % | ||
| | | | ||
{| class="wikitable" | |||
| | | style="width: 60px; height: 12px" | | ||
|} | |} % | ||
|- | |- | ||
|diverse | |diverse | ||
| | | | ||
{| class="wikitable" | |||
| | | style="width: 60px; height: 12px" | | ||
|} | |} % | ||
| | | | ||
{| class="wikitable" | |||
| | | style="width: 60px; height: 12px" | | ||
|} | |} % | ||
| | | | ||
{| class="wikitable" | |||
| | | style="width: 60px; height: 12px" | | ||
|} | |} % | ||
| | | | ||
{| class="wikitable" | |||
| | | style="width: 60px; height: 12px" | | ||
|} | |} % | ||
|} | |} | ||
|- | |- | ||
| Line 194: | Line 208: | ||
|- | |- | ||
| Ability to open forms from the content block of another form (form button is currently not rendered) | | Ability to open forms from the content block of another form (form button is currently not rendered) | ||
|{{#visualdataform: School | |Click the button below for real example:{{#visualdataform: School | ||
|title = Add School | |title = Add School | ||
|action = create | |action = create | ||
| Line 246: | Line 260: | ||
== Bugs == | == Bugs == | ||
{| class="wikitable" style="width: 100%; height: 600px" | | |||
|+ v1.0.8 | |+ v1.0.8 | ||
! style="width:50%" | Bug | ! style="width:50%" | Bug | ||
| Line 261: | Line 275: | ||
|} | |} | ||
{| class="wikitable" style="width: 100%; height: 600px" | | |||
|+ v1.0.6 | |+ v1.0.6 | ||
! style="width:50%" | Bug | ! style="width:50%" | Bug | ||
Latest revision as of 11:09, 28 January 2025
Feature examples[edit | edit source]
- Hierarchical form tree
- Preload data with nested and multiple values
- Result format Count
- Pre-select form tab (if multiple schemas)
- Result format json-raw
- Extension:UniquePageTitle
- Test Lua VisualData
Feature requests[edit | edit source]
| Feature | Comment | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Excel like data input with sub-classes (automatic field generation) |
Example:[edit | edit source]Definition:[edit | edit source]Rows (one class per line)
Columns (one class per line)
(prefix and suffix could be $, %, EUR etc.)
Result:[edit | edit source]
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Sorting function for multiple fields / sub-items | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Image preview on file upload | Theoretically already provided in the code, see /resources/VisualDataForms.js | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Internationalization for values in select and dropdown lists | Possibly via switch statement, see: https://www.mediawiki.org/wiki/Extension:VisualData/Queries_in_forms | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Ability to show conditonal fields/form elements depending on VisualData queries | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Display label instead of schema name in tabs in forms | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| For long pages: Scroll back to the previous page position after saving popup forms | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Ability to open forms from the content block of another form (form button is currently not rendered) | Click the button below for real example: form is loading...
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Ability to edit json-data Slot | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Form parameter to restrict forms (and single fileds?) to given user groups | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional operators in queries (OR) - does it make sense to impelement a JSON query language like https://jmespath.org/ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| frame:callParserFunction() can be an alternative. Retrieving json-raw in Lua seems to be a problem, mw.text.jsonDecode() fails, possibly because of strip markers (About strip makrers, Example )? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
40743 '40744' (Extension:IDProvider) |
Similar to <unique number> in PageForms (see here). Solved with Extension:UniquePageTitle | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Works in newer versions of VisualData - Custom code adjustment for handling nested and multiple values - should be committed to VisualData | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Bugs[edit | edit source]
| Bug | Comment |
|---|---|
$wgGroupPermissions['*'][“visualdata-caneditdata”] = false; is set in LocalSettings.php |
Fixed with v1.0.8b |
| VE (VEForAll) does not load in inactive form tabs | |
{{int:User}} |
Works after resaving the Schemas |
| Bug | Comment |
|---|---|
$wgGroupPermissions['*'][“visualdata-caneditdata”] = false; is set in LocalSettings.php |
Fixed with v1.0.8b |
| Fixed with v1.0.5 | |
| Import script does not work due to incorrect version check 1.41 instead of 1.41.0 | |
| Fixed with v1.0.5 | |
| VE (VEForAll) does not load in inactive form tabs | |
| Fixed with v1.0.8 | |
| Triggers for conditional field do not work reliably, especially with OO.ui.ToggleSwitchWidget |
