You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An example is at https://wiki.squirrelslair.ca/index.php?title=Mediawiki_Extension_Mermaid
It gives a console error Source map error: Error: request failed with status 404 Resource URL: https://wiki.squirrelslair.ca/load.php?lang=en&modules=ext.bootstrap.scripts%7Cext.mermaid%7Cjquery%2Csite%7Cjquery.client%7Cmediawiki.String%2CTitle%2Capi%2Cbase%2Ccldr%2CjqueryMsg%2Clanguage%2Cutil%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%7Cmediawiki.page.watch.ajax%7Cuser.defaults&skin=chameleon&version=jiis4 Source Map URL: mermaid.min.js.map
The same example is at https://sandbox.semantic-mediawiki.org/wiki/Utilisateur:Tenbergen/mermaid_ER_Diagram_attributes_not_shown
It gives a slightly different error: Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data Resource URL: https://sandbox.semantic-mediawiki.org/w/load.php?lang=en&modules=ext.echo.api%2Cinit%7Cext.mermaid%7Cext.scite.tooltip%7Cext.summary.cards%7Cext.summary.cards.tooltip%7Cext.uls.interface%2Cpreferences%2Cwebfonts%7Cjquery%2Coojs%2Csite%7Cjquery.client%2Ccookie%2CtextSelection%7Cmediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2CjqueryMsg%2Clanguage%2Cnotification%2Cstorage%2Cuser%2Cutil%2CvisibleTimeout%7Cmediawiki.ForeignApi.core%7Cmediawiki.action.view.postEdit%7Cmediawiki.api.parse%7Cmediawiki.editfont.styles%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%2Cstartup%7Cmediawiki.page.watch.ajax%7Conoi.blobstore%2ClocalForage%2Cmd5%2Cqtip%2Cutil%7Conoi.qtip.extended%7Cskins.monobook.mobile%7Cskins.monobook.mobile.echohack%2Culs%7Cuser.defaults&skin=monobook&version=1x5xq Source Map URL: mermaid.min.js.map
The example in the sandbox also doesn't show the diagram after saving unless I refresh the page.
The text was updated successfully, but these errors were encountered:
Setup and configuration
Issue
Using the car-driver sample code in https://mermaid-js.github.io/mermaid/#/entityRelationshipDiagram I get the car and driver entity boxes, but the attribute portion of the entities is not there.
Here is the code used:
An example is at
https://wiki.squirrelslair.ca/index.php?title=Mediawiki_Extension_Mermaid
It gives a console error
Source map error: Error: request failed with status 404 Resource URL: https://wiki.squirrelslair.ca/load.php?lang=en&modules=ext.bootstrap.scripts%7Cext.mermaid%7Cjquery%2Csite%7Cjquery.client%7Cmediawiki.String%2CTitle%2Capi%2Cbase%2Ccldr%2CjqueryMsg%2Clanguage%2Cutil%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%7Cmediawiki.page.watch.ajax%7Cuser.defaults&skin=chameleon&version=jiis4 Source Map URL: mermaid.min.js.map
The same example is at
https://sandbox.semantic-mediawiki.org/wiki/Utilisateur:Tenbergen/mermaid_ER_Diagram_attributes_not_shown
It gives a slightly different error:
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data Resource URL: https://sandbox.semantic-mediawiki.org/w/load.php?lang=en&modules=ext.echo.api%2Cinit%7Cext.mermaid%7Cext.scite.tooltip%7Cext.summary.cards%7Cext.summary.cards.tooltip%7Cext.uls.interface%2Cpreferences%2Cwebfonts%7Cjquery%2Coojs%2Csite%7Cjquery.client%2Ccookie%2CtextSelection%7Cmediawiki.ForeignApi%2CString%2CTitle%2CUri%2Capi%2Cbase%2Ccldr%2Ccookie%2CjqueryMsg%2Clanguage%2Cnotification%2Cstorage%2Cuser%2Cutil%2CvisibleTimeout%7Cmediawiki.ForeignApi.core%7Cmediawiki.action.view.postEdit%7Cmediawiki.api.parse%7Cmediawiki.editfont.styles%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%2Cstartup%7Cmediawiki.page.watch.ajax%7Conoi.blobstore%2ClocalForage%2Cmd5%2Cqtip%2Cutil%7Conoi.qtip.extended%7Cskins.monobook.mobile%7Cskins.monobook.mobile.echohack%2Culs%7Cuser.defaults&skin=monobook&version=1x5xq Source Map URL: mermaid.min.js.map
The example in the sandbox also doesn't show the diagram after saving unless I refresh the page.
The text was updated successfully, but these errors were encountered: