Extension talk:Semantic Structured Discussions

About this board

Feature request: Property for "Resolved" status

4
Summary by Xxmarijnw
Devaroo (talkcontribs)

Hi @Xxmarijnw,

It would be nice if this extension would also add a property for the current "resolved" status of topics. That would make it possible to query all topics that are still open for a given page. Perhaps for statistics, but also to display on the page itself or other prominent places to encourage participation. Not sure how much demand there is for that, but I'm at least planning to have this feature in the wiki I'm currently developing.

Btw, thanks for this extension, already with its current features it's very useful and works like a charm!

Cheers,

Devaroo

Devaroo (talkcontribs)

Update: Added this feature to my copy of this extension and it works well. It looks like the gitlab repo is invite only, but let me know if you would like me to share the code. Although my version isn't perfect yet, I couldn't figure out how to set the property type to boolean without getting database errors (still a rookie dev). Would appreciate a hint on how to do that if someone can help :)

Xxmarijnw (talkcontribs)

Hi Devaroo,

Thanks! Sounds like a good idea. I have moved the repository to GitHub, so you can create a pull request there if you want to.

Kind regards,

Marijn

Devaroo (talkcontribs)

Done! Cheers for moving it to GitHub

Greetings, Lucas

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.
There are no older topics
Return to "Semantic Structured Discussions" page.