Is enableSemantics() required? What are the potential problems if this is
not included in LocalSettings.php? Assume SMW 2.2 or 2.3. These discussions
are unclear:
[1]
https://semantic-mediawiki.org/wiki/Thread:User_talk:Kghbln/enableSemantics_no_longer_needed
[2]
You need to tell MW to expose the PHP variables in JS, which you do by
adding a ResourceLoaderGetConfigVars hook.
https://www.mediawiki.org/wiki/Manual:Hooks/ResourceLoaderGetConfigVars
On Jul 2, 2015 6:21 AM, Frank Baxmann serv...@frankbaxmann.de wrote:
Hi Bernhard,
JavaScript (on browser)
/includes/services/Leaflet/Leaflet.php
cheers,
Bernhard
- Am 2. Jul 2015 um 13:45 schrieb James Montalvo
jamesmontal...@gmail.com:
You need to tell MW to expose the PHP variables in JS, which you do by
adding a
ResourceLoaderGetConfigVars hook.
https://www.mediawiki.org/wiki
as well:
https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FSemanticTasks/5363a0ba564c5c3708c246a4c316260d781da1e1/SemanticTasks.classes.php
Hope it helps,
El 01/11/14 a les 19:18, James Montalvo ha escrit:
I'm creating a parser function in which I'm going to include an ask
query