From: Yaron K. <ya...@wi...> - 2012-10-11 21:49:18
|
Hi Marcel, If I understand the question, this might help: http://semantic-mediawiki.org/wiki/FAQ#Why_doesn.27t_data_I_have_just_added_show_up_in_queries.3F -Yaron On Thu, Oct 11, 2012 at 12:19 PM, Marcel Be <Mar...@ic...>wrote: > Hello, > > I'm trying to build a Learning Trail for our wiki and therefore have the 2 > categories 'learning trail' and 'learning trail step', each using its own > form and template for displaying the content. > On learning trail-pages I would like to display all related learning trails > steps in chronological order. My idea was to put an ask query as follows in > the learning trail template: > > {{#ask: [[Category:LearningTrailStep]] > [[BelongsToLearningTrail::{{PAGENAME}}]] > | ?HasLearningTrailStepNumber > | ?HasShortDescription > | format=template > | template=LearningTrailStepRepresentation > | sort=HasLearningTrailStepNumber > | order=ascending > }} > > The wished output is received by this query and the used template > "LearningTrailStepRepresentation" but by adding another step it doesn't > update automatically as it would standing directly on the respective > learning trail page. > Is there a solution to automatically put this query on each produced > learning trail page by using the form so it is ensured that it updates > deleted and added trail steps? > > TIA, > Marcel > > > > -- > View this message in context: > http://wikimedia.7.n6.nabble.com/Put-an-ask-query-on-each-produced-wiki-page-using-a-form-tp4987063.html > Sent from the Semantic Mediawiki - User mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > _______________________________________________ > Semediawiki-user mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > -- WikiWorks · MediaWiki Consulting · http://wikiworks.com |