I found a workaround by using some JavaScript.

1) First I enclose the the whole list for easier targeting with a div
element with an id:

<div id="dpl-list">
  <dpl>
    category = meeting
    include   = #topic
  </dpl> 
</div>

2) Then I hide all list items by default and only show those which have an
included paragraph using  http://www.mediawiki.org/wiki/JQuery_snippets
jQuery  (e.g. in MediaWiki:Common.css):

$('#dpl-list li').hide();
$('#dpl-list li > p').parent().show();

Et voilĂ !





-- 
View this message in context: 
http://old.nabble.com/DPL%3A-Restrict-output-when-using-%22include%22-for-sections-tp30921528p30924665.html
Sent from the WikiMedia General mailing list archive at Nabble.com.


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to