Hi Jason,

If you're talking about making a change to the semantic data of a page that
is not reflected in that page's wikitext, that sounds like a bad idea - the
new data would be removed as soon as the page was edited and saved again.

-Yaron

On Thu, Jun 25, 2015 at 3:42 PM, Jason Ji <jason.y...@gmail.com> wrote:

> Hi SMW community,
>
> I have a hopefully simple question. Is there a way to set an SMW property
> for a page programmatically in PHP? Suppose I have access to any of the
> relevant information, like the page ID.
>
> For context, I'm writing an extension which, among other things, creates
> wiki pages using $wikipage->doEditContent(), and I'd like to be able to set
> a semantic title <https://www.mediawiki.org/wiki/Extension:Semantic_Title>
> property on the page at that point.
>
> Thanks!
>
> --
> Jason Ji
> jason.y...@gmail.com
>
>
> ------------------------------------------------------------------------------
> Monitor 25 network devices or servers for free with OpManager!
> OpManager is web-based network management software that monitors
> network devices and physical & virtual servers, alerts via email & sms
> for fault. Monitor 25 devices for free with no restriction. Download now
> http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
> _______________________________________________
> Semediawiki-devel mailing list
> Semediawiki-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>
>


-- 
WikiWorks · MediaWiki Consulting · http://wikiworks.com
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to