Hi Swen,

you can check out this extension: 
https://www.mediawiki.org/wiki/Extension:Semantic_Text_Annotator 

We appreciate any help ;)

Best,
Julian

-----Ursprüngliche Nachricht-----
Von: Stephan Gambke via Semediawiki-devel 
[mailto:semediawiki-devel@lists.sourceforge.net] 
Gesendet: Dienstag, 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 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
------------------------------------------------------------------------------
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