Re: [SMW-devel] Use SMW from within mediawiki extenxion

2018-06-15 Thread Hocker, Julian
, 12. Juni 2018 18:11 An: Vermeul Swen (ID SIS) Cc: semediawiki-devel@lists.sourceforge.net Betreff: Re: [SMW-devel] Use SMW from within mediawiki extenxion 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

Re: [SMW-devel] Use SMW from within mediawiki extenxion

2018-06-12 Thread Stephan Gambke via Semediawiki-devel
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 Messag

[SMW-devel] Use SMW from within mediawiki extenxion

2018-06-12 Thread Vermeul Swen (ID SIS)
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 g