Hello,
I want to create an overview page for a topic by pulling all relevant content form the minutes of meetings with DPL, using http://semeb.com/dpldemo/index.php?title=Includepage#include_chapters include > include chapters :
<dpl> category = meeting include = #topic </dpl>
That does the trick but also lists all the meetings where the topic wasn't on the agenda. Is there a way to prevent that?
tia Frank
You could try Includematch
http://semeb.com/dpldemo/index.php?title=DPL:Manual_-_DPL_parameters:_Criter...
Regards, Daniel
On 14 February 2011 13:18, nakohdo Frank.Ralf@gmx.net wrote:
Hello,
I want to create an overview page for a topic by pulling all relevant content form the minutes of meetings with DPL, using http://semeb.com/dpldemo/index.php?title=Includepage#include_chapters include > include chapters :
<dpl> category = meeting include = #topic </dpl>
That does the trick but also lists all the meetings where the topic wasn't on the agenda. Is there a way to prevent that?
tia Frank
-- View this message in context: http://old.nabble.com/DPL%3A-Restrict-output-when-using-%22inlcude%22-for-se... Sent from the WikiMedia General mailing list archive at Nabble.com.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
You could try Includematch
http://semeb.com/dpldemo/index.php?title=DPL:Manual_-_DPL_parameters:_Criter...
Regards, Daniel
On 14 February 2011 13:18, nakohdo Frank.Ralf@gmx.net wrote:
Hello,
I want to create an overview page for a topic by pulling all relevant content form the minutes of meetings with DPL, using http://semeb.com/dpldemo/index.php?title=Includepage#include_chapters include > include chapters :
<dpl> category = meeting include = #topic </dpl>
That does the trick but also lists all the meetings where the topic wasn't on the agenda. Is there a way to prevent that?
tia Frank
-- View this message in context: http://old.nabble.com/DPL%3A-Restrict-output-when-using-%22inlcude%22-for-se... Sent from the WikiMedia General mailing list archive at Nabble.com.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Daniel Bishop-2 wrote:
You could try Includematch
http://semeb.com/dpldemo/index.php?title=DPL:Manual_-_DPL_parameters:_Criter...
Thanks for the hint. I have actually tried something like this:
<dpl> category = meeting include = #topic includematch = /topic/ </dpl>
But this turns out to be too restrictive as it only includes sections where "topic" is part of the section itself. It fails where "topic" is only the heading of the section.
Regards, Frank
Hey all,
in short, there is a new extension: 'PageInfo'
http://www.mediawiki.org/wiki/Extension:PageInfo
Feedback is welcome on the discussion page.
Take a look, Philipp
Aloha Philipp,
The extension worked just fine on my internal Wiki. I do have some additional suggestions for it though ...
1: Make the plugin contents viewable by group association; though leave the default to be viewable by everyone or the Users group initially? 2: Instead of having the info show up to the right of the TOC, maybe have it shown at the bottom of the article (à la "Navbox" style), or have that configurable. That way people that care about that information can find it easily, and people who don't care about it won't see it right away. 3: Make some of the info clickable by Admins only perhaps (like the creator name, and maybe a list of users watching the page?). This should be able to be turned on and off for security / privacy (maybe a user opt-out option?) concerns, maybe with a default of "Off". 4: Date styles should be configurable (Creation date & Last edit).
Mahalo,
Rick Payton, I.T. manager Morikawa & Associates, LLC (808) 572-1745 Office (808) 442-0978 eFax (808) 344-8249 Mobile www.mai-hawaii.com
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Glatza, Philipp, le-tex Sent: Monday, February 14, 2011 4:39 AM To: MediaWiki announcements and site admin list Subject: [Mediawiki-l] New extension: PageInfo
Hey all,
in short, there is a new extension: 'PageInfo'
http://www.mediawiki.org/wiki/Extension:PageInfo
Feedback is welcome on the discussion page.
Take a look, Philipp
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
nakohdo wrote:
Thanks for the hint. I have actually tried something like this:
<dpl> category = meeting include = #topic includematch = /topic/ </dpl>
But this turns out to be too restrictive as it only includes sections where "topic" is part of the section itself. It fails where "topic" is only the heading of the section.
The behavior in the OP seems to be the intended one:
"Note: If an article does not contain a section named "fruit", it will result in an empty cell in the table." http://semeb.com/dpldemo/index.php?title=DPL:Manual_-_DPL_parameters:_Contro...
So perhaps one should try using http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions Parser Functions ?
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à!
I filed an issue at http://semeb.com/dpldemo/index.php?title=Include_section_always_shows_all_ar...
mediawiki-l@lists.wikimedia.org