Replies: 4 comments 8 replies
-
|
That observation makes sense @btheado. In the changes made in #9645 the transclude widget switches to always computing attributes as MVV. @Jermolene are there still scenarios where we need the |
Beta Was this translation helpful? Give feedback.
-
What happens to existing wikitext code that assumed that filtered attributes (i.e., EDIT: based on my reading of #9645, always using MVV attribute handling is only applied to the |
Beta Was this translation helpful? Give feedback.
-
From playing around with it, I haven't found cases where in the end you don't need to use the new parens syntax in order to access the multiple values. Which means it should be backwards compatible with 5.3.8 Consider this: which renders as Based on that I interpret "always computing attributes as MVV" to just mean that you don't lose the ability to access the MVV "lower" in the call stack even though "higher" in the call stack the paren syntax was not used. |
Beta Was this translation helpful? Give feedback.
-
|
Similar to how the transclude widget allows the mvv to be passed to an attribute via angle brackets, it would be nice if function call would allow mvv parameter to be passed via angle brackets. IOW, I would like it if both of the below Currently the first on returns With that in place, the parens would not be required for function calls in filters. Then going further, you could remove the need for the parenthesis in the title operator by instead changing the IOW, If that works, then the MVV functionality can stand on its own without any syntax changes. All the required changes are widgets and operators:
Whether and how much of the paren syntax to introduce on top of that base functionality can be a separate decision |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to understand the use of double parenthesis for passing MVV to procedures as documented here:
https://tiddlywiki.com/prerelease/#Multi-Valued%20Variable%20Attribute%20Values
When I experiment with it, the result is the same whether I use
((items))or<<items>>.Here is a share site link showing output for the two is identical.
Is there a better example which shows the need for
((items))syntax?Beta Was this translation helpful? Give feedback.
All reactions