There may be some documentation somewhere, but if I had to do it I would 
probably start from \SMW\MediaWiki\Api\Ask::execute() and see, how it is done 
there. Or alternatively from \SMW\ParserFunctions\AskParserFunction::parse().
The code is pretty well readable.

Stephan


‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On June 12, 2018 4:21 PM, Vermeul Swen (ID SIS) <s...@ethz.ch> wrote:

>
>
> Hi,
>
> I am currently writing a MediaWiki extension to create annotations within a 
> MediaWiki page. Is there a way to use the SMW (especially the ask: 
> functionality) directly from within such a (PHP) extension? If so, could you 
> please point me to the documentation? I spent now hours searching for good 
> documentation without success...
>
> Best regards,
>
> Swen
>
>
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Check out the vibrant tech community on one of the world's most
>
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
> Semediawiki-devel mailing list
>
> Semediawiki-devel@lists.sourceforge.net
>
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to