Item:OSW7113f5cf921a4c82ad1872afeff9d01d: Difference between revisions

update examples
(Install package: OSW Docs - Core)
 
(update examples)
Tag: 2017 source edit
Line 327: Line 327:
         }
         }
     }
     }
}
</syntaxhighlight>Original jsondata
<syntaxhighlight lang="json">
{
    "my_list": ["Page1", "Page2", "Page3"]
}
</syntaxhighlight>Processed jsondata
<syntaxhighlight lang="json">
{
    "my_list": " * [[Page1]] <br>  * [[Page2]] <br>  * [[Page3]] <br> "
}
}
</syntaxhighlight>
</syntaxhighlight>
Line 333: Line 343:


*<nowiki>*Wiki-side feature are implemented in Lua => To be rewritten in PHP</nowiki>
*<nowiki>*Wiki-side feature are implemented in Lua => To be rewritten in PHP</nowiki>
*Why are parser calls needed at all? Currently there seems no options to provide a hook from the core that allows injecting slot-specific content
*Why are parser calls needed at all? Currently there seems no options to provide a hook from the core that allows injecting slot-specific content / existing hooks are not aware of the current slot


== Further links ==
== Further links ==