SmartDataAnalytics / OpenResearch

Public issue system for OPENRESEARCH/ConfIDent
8 stars 3 forks source link

fix multivalue handling #226

Open WolfgangFahl opened 3 years ago

WolfgangFahl commented 3 years ago

https://www.mediawiki.org/wiki/Extension:Page_Forms/Page_Forms_and_templates#arraymap

is used in some templates and leads to follow up issues as per #30

Analyze which templates use the arraymap parser function from the PageForms extension and improve

WolfgangFahl commented 3 years ago
{{#ifeq:{{#arraymap:{{{Field|}}}|, |var|[[Category:var]]| }}|||{{#arraymap:{{{Field|}}}|, |var|[[Category:var]]| }}}}
{{#arraymap:{{#show: {{PAGENAME}}| ?Event in series.Field|link=none}}|, |var|[[var]]}}

see https://confident.dbis.rwth-aachen.de/or/index.php?title=Workdocumentation_2021-05-01 how the second line references a non existing property "Field".