And it works - this was the actual thing I had to do to make it work - thanks 
a million.

For the community to find the solution faster - if you have problems with 
SMW - this doing the following (I know it might sound unrelated)

Best,

S.

=== Enabling support for templates, <nowiki>, ... ===

It can be helpful to have semantic annotations build into templates, in
particular if filler variables for them are provided dynamically on each
use. This feature can easily be enabled by hooking the processing of semantic
links to a later point during parsing. This is not done by default yet,
since it requires a patch against the MediaWiki code. To get this function,
do the following two steps:

(1) Edit the file [wikipath]/includes/Parser.php. Insert the line
    "wfRunHooks( 'InternalParseBeforeLinks', array( &$this, &$text, null ) );"
    in the method "internalParse" right after the line
    "$text = $this->replaceVariables( $text, $args );"
(2) Edit the file [SMW_path]/includes/SMW_LocalSettings.php to set the option
    $smwgEnableTemplateSupport to true.

Unless you changed the default setting, annotations in template articles will
be ignored automatically. Otherwise you have to use <noinclude> and 
<includeonly>
tags.



On Wednesday, 17 January 2007 14:54 pm, Sebastian Ryszard Kruk wrote:
> Hi,
>
> thanks a million.
>
> Best,
>
> Sebastian
>
> On Wednesday, 17 January 2007 14:51 pm, LE DU Stefan - CETE
> Ouest/DIOG/Groupe
>
> A.N.T. wrote:
> > Hello
> >
> > I managed to solve my problem, which seems to be the same as yours. What
> > I did is make the change explained in the INSTALL file, about enabling
> > SMW for templates. I don't understand why it solved the problem, since
> > the article I was trying to have SMW to work on was not using any
> > template, but now it seems to be working fine.
> >
> >
> >
> > Stéfan Le Dû
> > chargé d'études techniques
> > Groupe Aménagement Numérique des Territoires - CETE de l'Ouest
> > http://extranet.ant.cete-ouest.equipement.gouv.fr
> > <http://extranet.ant.cete-ouest.equipement.gouv.fr/>
> > tél 02 40 12 85 36 - fax 02 40 12 84 44

-- 

JeromeDL 2.0 is out - Grab your copy [http://blog.corrib.org/?p=4]

--------------------------------------------
--   Sebastian Ryszard Kruk
--   Lead Researcher, Project Manager
--   Digital Enterprise Research Institute 
--   National University of Ireland, Galway 
--   mailto: [EMAIL PROTECTED]
--   GG: 335067, Jabber: [EMAIL PROTECTED]
--   Skype: sebastiankruk
--   WWW: http://www.sebastiankruk.com/ 
--   mobile (IRL): +353 85 7126591
--   VoIP   (PL):  +48  52 5110114
-------------------------------------------- 

Attachment: pgpshvJlH45tD.pgp
Description: PGP signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

Reply via email to