Hi Bernhard.
I am not too familiar with templates. So I have one more question: With your
Example: Do I have to apply the template on all the pages from which I want
to report the modification user?
And could you sent me the complete code of your template and how it is
applied?
Best Regards
Axel Schneider
On Thu, May 5, 2011 at 15:57, <
semediawiki-devel-requ...@lists.sourceforge.net> wrote:
> Send Semediawiki-devel mailing list submissions to
> semediawiki-devel@lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
> or, via email, send a message with subject or body 'help' to
> semediawiki-devel-requ...@lists.sourceforge.net
>
> You can reach the person managing the list at
> semediawiki-devel-ow...@lists.sourceforge.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Semediawiki-devel digest..."
>
>
> Today's Topics:
>
> 1. Displaying the last update user of an Article (Axel Schneider)
> 2. Re: Displaying the last update user of an Article
> (Krabina Bernhard)
> 3. Re: How to programatically search on properties?
> (Schott, Peter D (Pete))
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 4 May 2011 15:57:36 +0200
> From: Axel Schneider <zhogo...@googlemail.com>
> Subject: [SMW-devel] Displaying the last update user of an Article
> To: semediawiki-devel@lists.sourceforge.net
> Message-ID: <BANLkTikgu1nu7xFzzqe4Bx3CK6Lv-dM=r...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi All.
>
> Since it is possible to display the Modification date of an Article (
> special property in Semantic MediaWiki with a built-in meaning). I would
> expect also a special property like Modification User. But i think this
> does
> not exists.
>
> My Questions: Is it really missing? Is it planned to implement it? Is there
> a workaround?
>
> Any help is welcome.
>
> Best Regards
>
> Axel Schneider
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 2
> Date: Wed, 4 May 2011 16:21:38 +0200 (CEST)
> From: Krabina Bernhard <krab...@kdz.or.at>
> Subject: Re: [SMW-devel] Displaying the last update user of an Article
> To: Axel Schneider <zhogo...@googlemail.com>
> Cc: semediawiki-devel@lists.sourceforge.net
> Message-ID: <17551846.40984.1304518897988.JavaMail.root@mail>
> Content-Type: text/plain; charset=utf-8
>
> Hi,
>
> there is a special variable in MediaWiki you can use: {{REVISIONUSER}}
>
> In my template I use e. g.
>
> [[User:{{REVISIONUSER}}|{{REVISIONUSER}}]]
>
> which displays me a Link to the Userpage of the user that did the last
> revision.
>
> In a template you can easily set a property for yourself:
>
> [[has modification user::{{REVISIONUSER}}]]
>
> If you don't use templates, you would have to rely on a built in property
> which afaik does not exist.
>
> regards,
> Bernhard
>
> ----- Urspr?ngliche Mail -----
> > Hi All.
> >
> > Since it is possible to display the Modification date of an Article (
> > special property in Semantic MediaWiki with a built-in meaning). I
> > would expect also a special property like Modification User. But i
> > think this does not exists.
> >
> > My Questions: Is it really missing? Is it planned to implement it? Is
> > there a workaround?
> >
> > Any help is welcome.
> >
> > Best Regards
> >
> > Axel Schneider
> >
> >
> ------------------------------------------------------------------------------
> > WhatsUp Gold - Download Free Network Management Software
> > The most intuitive, comprehensive, and cost-effective network
> > management toolset available today. Delivers lowest initial
> > acquisition cost and overall TCO of any competing solution.
> > http://p.sf.net/sfu/whatsupgold-sd
> > _______________________________________________
> > Semediawiki-devel mailing list
> > Semediawiki-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 5 May 2011 08:57:14 -0500
> From: "Schott, Peter D (Pete)" <pete.sch...@alcatel-lucent.com>
> Subject: Re: [SMW-devel] How to programatically search on properties?
> To: Yury Katkov <katkov.ju...@gmail.com>
> Cc: "semediawiki-devel@lists.sourceforge.net"
> <semediawiki-devel@lists.sourceforge.net>
> Message-ID:
> <
> 5d7a6055b0463c4c9957c2a76adc42cf803fa...@usnavsxchmbsa2.ndc.alcatel-lucent.com
> >
>
> Content-Type: text/plain; charset="us-ascii"
>
> thanks to Yury's guidance and review of the referenced document draft, I am
> successfully using the SMWQuery object for finding pages with specific
> property values. Keypoint, type your properities!
>
> Moving forward, I will need to do queries on 'Semantic Internal Object'
> properties, is there any guidance/warnings/hints on searching for these?
>
> cheers
> Pete
>
> From: ganqtur...@gmail.com [mailto:ganqtur...@gmail.com] On Behalf Of Yury
> Katkov
> Sent: Monday, May 02, 2011 10:44 AM
> To: Schott, Peter D (Pete)
> Cc: semediawiki-devel@lists.sourceforge.net
> Subject: Re: [SMW-devel] How to programatically search on properties?
>
> Hi!
> You can do that with SMWQuery object. I'm working at the documentation on
> this and related classes, many a draft of doc will be useful [1]
> [1]
> http://www.semantic-mediawiki.org/wiki/User:Ganqqwerty/programming_examples
> On Mon, May 2, 2011 at 6:16 PM, Schott, Peter D (Pete) <
> pete.sch...@alcatel-lucent.com<mailto:pete.sch...@alcatel-lucent.com>>
> wrote:
> Hi,
> As a relative newbie to coding PHP scripts that interact with SMW instance,
> I have run into a situation that I hope someone can providence guidance or
> pointers on.
>
> I am trying to search for pages in our SMW instance that contain a match
> for a specific property value, e.g. [[threadNotInDCB::true]] and haven't
> been able to discover how to do this programmatically. Are the SMW APIs or
> classes I should be using/looking at? A pointer to an example would be
> greatly appreciated. This is an initial pattern we plan to use and will be
> looking to create content programmatically in the future so understanding
> the SMW programming model is a key for us. I have been reviewing the
> 'Programmer's guide to SMW' and its references but that has been slow going.
>
> As a temporary workaround I am putting the ASK queries on pages that use
> #urlget to get the property value for the query when visited. I wrote a
> PHP script that uses cURL to visit the page and then parse the results to
> get the page names that the script then reads the contents via the MW API.
> I have to believe there is a much more effective method to do this.
>
> thanks in advance for any guidance or assistance provided.
>
> Pete Schott
> Research Engineer
> Alcatel-Lucent Bell Laboratories
> Application Research - Intuitive Collaboration Department
>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today. Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Semediawiki-devel mailing list
> Semediawiki-devel@lists.sourceforge.net<mailto:
> Semediawiki-devel@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>
>
>
> --
> Yury V. Katkov
> Laboratory of intelligent systems
> of the Saint-Petersburg National University of Information Technologies,
> Mechanics and Optics, Russia
> http://ailab.ifmo.ru
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today. Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
>
> ------------------------------
>
> _______________________________________________
> Semediawiki-devel mailing list
> Semediawiki-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>
>
> End of Semediawiki-devel Digest, Vol 59, Issue 3
> ************************************************
>
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel