dokuwiki-plugin-move icon indicating copy to clipboard operation
dokuwiki-plugin-move copied to clipboard

Errors related to struct-plugin

Open joergdd opened this issue 7 years ago • 2 comments

I use the struct plugin. To use struct data as variables there is currently a separate development branch for this (https://github.com/cosmocode/dokuwiki-plugin-struct/issues/145) To be able to use the data you simply write "{{$schema. field} ". Unfortunately, my scheme has the same name as a namespace. When I moved this namespace with the move plugin, the plugin incorrectly changed the text for the scheme. Obviously the plugin thinks this is a link. When moving, it is important to be careful whether the texts are actually links or not.

joergdd avatar Mar 19 '18 10:03 joergdd

Could you please show me the exact syntax that causes this problem? I don't see how this variable syntax should cause any problems as the struct plugin has a syntax plugin for that syntax and therefore the DokuWiki parser that is used in the move plugin should classify this as plugin syntax which is not modified.

michitux avatar Mar 19 '18 10:03 michitux

syntax: {{$schema.field}} $schema is the name of the struct schema field is the name of the data field

As a result, the contents of the corresponding database entry should appear as text.

From the text "{{$cardscript.name}}", after using move plugin , this text was "{{..:..:handbuch:cardscript:skripte:cardscript.name}}"

joergdd avatar Mar 19 '18 14:03 joergdd