DPL talk:Manual - General Usage and Invocation Syntax
Is it possible to create a nice image gallery using dpl as a parser function rather than the "gallery" tags? This would make incorporation into templates easier.
- I think this should be possible. It very much depends on what you call "nice" ;-)
- DPL allows you to create arbitrary wikicode which you can pipe into another extension (like e.g. gallery).
- Have you seen Test escapelinks?
- Gero 17:58, 22 July 2007 (CEST)
Calling Semantic MediaWiki from within DPL
Is it possible to use SMW <ask> tags from within DPL? Thanks.
Answer
You can use any other extension within the result loop of a DPL query. Note that you have to use the special "double angle" brackets, like this : «ask ....». This prevents the Mediawiki parser from trying to expand embedded tags too early. If you wanted to use parser function syntax you would have to write ²{ask ...}² instead of the traditional double curly braces for the same reason.
DPL is a very lightweight approach to getting the best out of a wiki just as it is. Semantic Web approaches typically require some additional effort from the authors, like describing the semantic flavor of a relation. In turn they get more quality in terms of answering specific questions. OWL and RDF are certainly interesting but they seem to have failed to get wide-spread acceptance so far.
If you are really knowledgable regarding SMW I would be open to combine the best of both worlds (i.e. DPL + the classic wiki on one hand and RDF/OWL/Semantic Modelling on the other hand).
One idea in my mind is that the textual phrases around the place where a link is placed in a text may contain typical 'trigger words' which describe the semantic connection which is represented by the link...
Is there a similar test wiki for ask (or other semantic wiki approaches like thid DPLDEMO wiki? As far as I understand SMW requires changes at the database tables ...
Gero 23:09, 31 August 2007 (CEST)