On 19/02/2008, Herta Van den Eynde herta.vandeneynde@gmail.com wrote:
On 19/02/2008, 65s.mg@atlas.cz 65s.mg@atlas.cz wrote:
Try {{#ifeq:...|%DPL-1.6.4-WARNING: No results!||...}} instead of
{{#ifexist:}}. -MGrabovsky
Thanks for the suggestion. I tried:
{{#ifeq: {{#dpl: |category = Service |category = CU {{{cu_name}}} |titlematch = Infobox SC % }} |%DPL-1.6.4-WARNING: No results! || {{#dpl: |category = Service |category = CU {{{cu_name}}} |titlematch = Infobox SC % |include = {Infobox Service Info}:sc_id:sla_id:sla_title:comment |table=class = sortable border=2 cellpadding=2,-,service id,sla id,sla title,comment }} }}
which works if the data exist, but returns a "%DPL-1.6.4-WARNING: No results!" when the data is missing. I guess I somehow need to escape the special characters, but I cannot find what Mediawiki uses for escape character. Is there one?
What about the 'noresultsheader' dpl option?
Kind regards,
Herta
"Life on Earth may be expensive, but it comes with a free ride around the Sun."
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l