Topic on Extension talk:LinkedWiki/Flow

Show blank page in SPARQL results if have | chart=bordercloud.visualization.DataTable

7
Summary by Karima Rafes

Probably an error in the query ... Add | log=2 And | debug=YES else check errors in the console of browser.

Lotusccong (talkcontribs)

As a new beginner in LinkedWiki, I copy the SPARQL Wiki sytax from Linkedwiki.com

It seems that if I included the | chart=bordercloud.visualization.DataTable , it will show blank page.

After I remove it, it did show the results.

Appreciate you can enlight me why this happen ?

Karima Rafes (talkcontribs)
Karima Rafes (talkcontribs)

Can you share the link of the query in Linkedwiki.com ? I will check in my wiki.

Lotusccong (talkcontribs)
Karima Rafes (talkcontribs)

File not found : "/home/sjkcyuhu/public_html/tbpedia.org/book/extensions/LinkedWiki/node_modules/popper.js/dist/umd/popper.min.js"

Does the directory "extensions/LinkedWiki/node_modules" exist ?

If no, you need to go in this the extension folder : cd extensions/LinkedWiki

and execute : yarn install --production=true (or npm install --production)

Lotusccong (talkcontribs)

Got it. I notice that I didn't run the yarn install or npm install after I run the Composer installation. That's why the intallation is incomplete but it show as installed in Special page. my hosting Terminal not support runnning yarn or npm comman but support composer.

Any better way that make the installtion process only required the Composer ?

Karima Rafes (talkcontribs)

When an extension uses a javascript library not avalaible in Mediawiki, there is no other solution than to install it manually. I have to check if Mediawiki 3.6 can now automate the installation of extension libraries with yarn or npm.