OpenSemanticLab / mediawiki-extensions-InteractiveSemanticGraph

GNU Affero General Public License v3.0
1 stars 3 forks source link

Document dependancies #32

Open simontaurus opened 10 months ago

simontaurus commented 10 months ago

@thomas-topway-it: Please note that the edit feature depends on

krabina commented 10 months ago

I am not so worried about a dependency on a template that needs setting up. Some other extensions have this, too, e. g. SemanticCite delivers a standard-template than can be customized.

But we should consider the following usecases

  1. opensemanticcore is present. Than every thing is fine
  2. opensemanticcore is not there. Then it is OK if the edit functionality does not work. We should just consider what is happening when it is not there. Is it automatically switched off. Is there a configuration parameter?
  3. oopensemanticcore is not there and editing should be supported with a link. This link could e. g. lead to e PageForms to create a new entity with a parameter you can give it. This way, we could make the extension usable in very common setups where i displays semantic data and wen you want to add/edit anything, you can use PageForms as well.
simontaurus commented 9 months ago
  1. / 2. Sounds like a good approach. We already have a (primitive) switch in place regarding the installed version of opensemanticcode (MwJson + OpenSemanticLab) => could be extended to detect general presence https://github.com/OpenSemanticLab/mediawiki-extensions-InteractiveSemanticGraph/blob/39a3f7be98a10642a9e33247afb3302ee0afea79/modules/ext.InteractiveSemanticGraph/InteractiveSemanticGraph_init.js#L24
  2. In general a good idea. But edits in the graph could also cover multiple pages. I guess in this case multiple PageForms need to be prefilled or PageForms tabular editing is used