Jump to content

Topic on Extension talk:Semantic Structured Discussions/Flow

Apparent impact on user-defined properties (solved; false alarm)

1
Summary by Devaroo

Issue solved by adding "enableSemantics( 'example.org' );" to LocalSettings.php, as per the semantic mediawiki installation instructions. It seems as though that call isn't essential with the plain SMW installation, but is essential when using SMW with this (and perhaps other?) SMW extensions.

Devaroo (talkcontribs)
MediaWiki 1.38.4
Semantic MediaWiki 4.0.2
Structured Discussions / Flow 1.2.0
Semantic Structured Discussions 1.3.0
PHP 7.4.33
MySQL 5.7.39-42-log

Hi Marijn,

I've encountered an issue with this extension, which renders a large part of SMW unusable. I hope the description is clear, please do let me know if you can't reproduce the issue and would like further information. I've tested this with a fresh installation, so I'm pretty sure Semantic Structured Discussions is causing the observed behaviour. I'd be curious if this has been brought up before? And also if there's any hope for this being fixed? I find this extension super useful, and it makes so much sense to integrate Flow and SMW! And besides apparently causing the described issue, the extension works super well. So it would be sweet to use it; but given the observed issue, that isn't really possible.

Greetings,

Lucas

Expected Behavior

User-defined properties

After (1) declaring a new semantic property and (2) annotating some text with that property, pages on which the property has been added should appear on the previously defined property page, along with the defined value (i.e., the standard semantic mediawiki behavior).

Semantic Structured Discussion properties

After (1) adding the Semantic Structured Discussions extension and (2) creating a topic on a flow-board, the topic page should appear on the property pages defined by the semantic structured discussion extention (i.e., Topic creator, Topic owner, etc.), along with the respective values.

Observed Behavior

Before adding Semantic Structured Discussions

  • User-defined properties: works as expected
  • Semantic Structured Discussion properties: not applicable

After adding Semantic Structured Discussions

  • User-defined properties: don't show up anymore
  • Semantic Structured Discussion properties: works as expected

Steps to replicate the issue

  1. Install MediaWiki 1.38.4 and Semantic MediaWiki 4.0.2 with PHP 7.4.33
  2. Create a new property and annotate some text with it; check if page/value show up on the property page.
  3. Install Semantic Structured Discussions 1.3.0; check if the page/value still show up on the property page.