Main Page: Difference between revisions

From Visual Data Wiki
Jump to navigation Jump to search
No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 15: Line 15:
|-
|-
| Better ID management than {{#idprovider-increment:}} (Extension:IDProvider)
| Better ID management than {{#idprovider-increment:}} (Extension:IDProvider)
|
| Similar to <unique number> in PageForms (see here). Solved with its own Extension:UniquePageTitle
* Similar to <unique number> in PageForms (see here). Solved with its own Extension:UniquePageTitle
|-
|-
| Sorting function for multiple fields
| Sorting function for multiple fields
Line 22: Line 21:
|-
|-
| Image preview on file upload
| Image preview on file upload
|  
| Theoretically already provided in the code, see /resources/VisualDataForms.js
* Theoretically already provided in the code, see /resources/VisualDataForms.js
|-
|-
| Pre-filled fields on form call
| Pre-filled fields on form call
|  
| Works in newer versions of VisualData - Custom code adjustment for handling nested and multiple values - should be committed to VisualData
* Works in newer versions of VisualData - Custom code adjustment for handling nested and multiple values - should be committed to VisualData
|-
|-
| Generate page title (PAGENAME) from another field (e.g., from project title)
| Generate page title (PAGENAME) from another field (e.g., from project title)
|  
| Works, if titles already exist, Extension UniquePageTitle is applied
* Works, if titles already exist, Extension UniquePageTitle is applied
|-
|-
| For long pages: Scroll back to the previous page position after saving popup forms
| For long pages: Scroll back to the previous page position after saving popup forms
Line 37: Line 33:
|-
|-
| Internationalization for values in select and dropdown lists
| Internationalization for values in select and dropdown lists
|  
| Possibly via switch statement, see: https://www.mediawiki.org/wiki/Extension:VisualData/Queries_in_forms
* Possibly via switch statement, see: https://www.mediawiki.org/wiki/Extension:VisualData/Queries_in_forms
|-
|-
| Display label instead of schema name in tabs in forms
| Display label instead of schema name in tabs in forms

Revision as of 07:40, 16 May 2024

VisualData examples and feature requests[edit | edit source]

Examples[edit | edit source]


Feature requests[edit | edit source]

Feature Comment
Better ID management than 1956 (Extension:IDProvider) Similar to <unique number> in PageForms (see here). Solved with its own Extension:UniquePageTitle
Sorting function for multiple fields
Image preview on file upload Theoretically already provided in the code, see /resources/VisualDataForms.js
Pre-filled fields on form call Works in newer versions of VisualData - Custom code adjustment for handling nested and multiple values - should be committed to VisualData
Generate page title (PAGENAME) from another field (e.g., from project title) Works, if titles already exist, Extension UniquePageTitle is applied
For long pages: Scroll back to the previous page position after saving popup forms
Internationalization for values in select and dropdown lists Possibly via switch statement, see: https://www.mediawiki.org/wiki/Extension:VisualData/Queries_in_forms
Display label instead of schema name in tabs in forms
Add sub-items and fields in forms based on queries
Ability to open forms from the content block of another form (form button is currently not rendered)



Bugs[edit | edit source]

Bug Comment
Categories are stored in an extra slot, which conflicts with the normal categories (these are not displayed) Fixed with v1.0.5
|preload= does not work in form definition (currently commented out in /includes/VisualData.php from line 1602). It is also designed to render entire pages and write them to the target page. It would be better to load normal text, e.g. {{My Template}}, without rendering it into the page
Import script does not work due to incorrect version check 1.41 instead of 1.41.0
includes/classes/SchemaProcessor.php: Line 1225: Typo $properties $this->replaceFormula( $proprties, $wiki['options-label-formula'] ) ); Fixed with v1.0.5
VE (VEForAll) does not load in inactive form tabs
mw.widgets.UsersMultiselectWidget throws an error