Let's see how can we add it, meanwhile, doesn't  MW API support the page
info you want?

On Monday, April 16, 2012, Marcelo Chiaradía wrote:

> Hi Jesse,
>
> the WOM extension worked perfect for me, thanks a lot.
>
> The only trouble is that I can't get the page info with the WOMGET
> requests.
>
> Im trying to do something like
>
> api.php?action=womget&page=MY_TITLE&xpath=//template&format=json&prop=info
>
> or
>
>
> api.php?action=womget&page=MY_TITLE&xpath=//template&format=json&prop=pageprops
>
> But it seems the womget action doesn't support the &prop parameter. Is
> there some way to get some page info  in the same HTTP request? (I only
> need the creation date or the "touched" property)
>
> Regards,
>
> Marcelo.
>
> 2012/4/12 Jesse Wang <wjxh...@gmail.com <javascript:_e({}, 'cvml',
> 'wjxh...@gmail.com');>>
>
>> Marcelo,
>> Please check out WOM extension:
>> http://www.mediawiki.org/wiki/Extension:Wiki_Object_Model, I believe it
>> should do what you want to and beyond.
>> Please feel free to let us know what you think.
>> Cheers,
>> Jesse
>>
>> On Wed, Apr 11, 2012 at 1:27 PM, Marcelo Chiaradía <
>> chiaradiamarc...@gmail.com <javascript:_e({}, 'cvml',
>> 'chiaradiamarc...@gmail.com');>> wrote:
>>
>>> Hi everyone,
>>>
>>> I have a semantic media wiki installed, with the Semantic Forms
>>> extension.
>>>
>>> Im making a small php app, which has to get some data from mi wiki.
>>>
>>> Suppose I have a page, which has a category "MyCategory", which can be
>>> edited by a semantic form call "MySemanticForm", which use a template,
>>> which has many of fields.
>>>
>>> I need a way to get all the fields values of that template, for n
>>> specific page.
>>>
>>> Is some way to do that? I've been looking the mediawiki API (api.php),
>>> and I cant find a query that covers my needs.
>>>
>>> Thanks a lot,
>>>
>>> Marcelo.
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Better than sec? Nothing is better than sec when it comes to
>>> monitoring Big Data applications. Try Boundary one-second
>>> resolution app monitoring today. Free.
>>> http://p.sf.net/sfu/Boundary-dev2dev
>>> _______________________________________________
>>> Semediawiki-devel mailing list
>>> Semediawiki-devel@lists.sourceforge.net <javascript:_e({}, 'cvml',
>>> 'Semediawiki-devel@lists.sourceforge.net');>
>>> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>>>
>>>
>>
>

-- 
Jesse
Sent from my phone, please forgive any errors caused by touch and/or voice
assistant
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to