Hi Yaron,

As for several reasons ([1], URL encoding etc.), I created a patch
which introduces a new parser function called #drilldown to enable
links [2] pointing to Semantic Drilldown much like #formlink does in
Semantic Forms.

# category parameter is either empty, or specified through [cat=], [category=]
# subcategory parameter is identified by either [subcat=] or [subcategory=]
# filter parameters can be specified through
[filter=Subject=Advertising&Keyword=Branding] or
[filter=Subject=Advertising] [filter=Keyword=Branding]
# [single] is a parameter identifier to achieve [1]
# other supported parameters are [link text=], [tooltip=]

The code is mainly copied from SF #formlink, and I only tested for
cases we have deployed on our production system.

A patch has been made against SD SVN revision 115163 and is attached
to bugzilla [4].

[1] http://www.mediawiki.org/wiki/SD#Removing_the_list_of_categories

[2] {{#drilldown:Psychology|subcat=Bounded rationality|link
text=Drilldown on Bounded rationality|single}}

[3] {{#drilldown:category=Psychology|subcat=Bounded
rationality|filter=Subject=Decision making|link text=Drilldown on
Bounded rationality|single}}

[4] https://bugzilla.wikimedia.org/show_bug.cgi?id=36693

Cheers

mwjames

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to