Domanda

I'm using Semantic Media Wiki in conjunction with the Lingo Extension and the Semantic Glossary Extension to build a glossary. Often definitions of a term include links to other terms. For example: Computer - A calculating machine which uses a -CPU- to execute calculations. The definition includes a link to the term 'CPU'.

Now I wonder: Is it possible to nest a link to a wiki page inside a property / value definition?

I tried the following without success:

A [[Glossary-term::Computer]] is a 
[[Glossary-Definition::calculating machine 
which uses a [[CPU]] to execute calculations.]]

Does anybody know how to reach this structure?

Thanks for your ideas an suggestions!

È stato utile?

Soluzione

I found the solution through the SMW mailing list citing SMW Configuration Page :

You can use

A [[Glossary-term::Computer]] is a 
[[Glossary-Definition::calculating machine 
which uses a [[CPU]] to execute calculations.]]

but you have to add the following to your LocalSettings.php in the MediaWiki root:

$smwgLinksInValues=true;
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top