From: Yaron K. <ya...@wi...> - 2015-11-26 01:53:05
|
Hi Michael, When used with Semantic MediaWiki, Semantic Forms does its own parsing of the template, to try to figure out which property goes with which field. Its parsing is not perfect, and it looks like you've found a bug in this specific case. Until the bug is fixed, you can get around it by hardcoding the details in the form definition: you just need to add "|property=Was written by" to the "Author" field tag. -Yaron On Wed, Nov 25, 2015 at 8:27 PM, Michael Bui <mi...@re...> wrote: > Hi you! > Using the basic example on > https://www.mediawiki.org/wiki/Extension:Semantic_Forms/Quick_start_guide#Example > > Whenever i change: > {{#arraymap:{{{Author|}}}|,|x|[[Was written by::x]]}} > to > {{#arraymap:{{{Author|}}}|,|x|{{#formredlink:target=x|form=Author}}{{#set:Was > written by=x}}}} > and then I use the forms (Form:Book), the Author textbox has been replaced > by checkboxes populated with the allowed values from Property:Genres. > > I've tried with my other forms and they all get changed to regular > textboxes whenver I used #formredlink and #set > > Can anyone confirm this or have any solution to this? > > Med vänliga hälsningar/Best regards > Michael Bui > ________________________________________________________ > + 46 (0)54 150940 | + 46 (0) 76 885 35 05 > Mic...@re... | www.redpill-linpro.com > | Changing the game > > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140 > _______________________________________________ > Semediawiki-user mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > -- WikiWorks · MediaWiki Consulting · http://wikiworks.com |