Ilmari Karonen skrev:
Rolf Lampa wrote:
MW's and SMW's parsing of links isn't very impressing at the moment.
After all, from a user's viewpoint, pretty much the only syntactical difference between linking and transclusion is the shape of the brackets.
Hm, I'd say that it's about more than only keeping braces/brackets in balance. It's also about rules about the link-content which (should) determine whether the entire link should be skipped entirely or not (on syntax errors). Some rules requires unique logic and awareness of context.
But as said, I haven't either looked into how the logic for braces is structured (if it allows for _callbacks for example, such can be a risky though).
In any case, I'm onto learning some PHP and therefore I'll continue "playing around" with this for a while, if for no other good reason so for my own interest. :)
Regards,
// Rolf Lampa