Questions tagged [semantic-mediawiki]

Semantic MediaWiki (SMW) is a free, open-source extension to MediaWiki – the wiki software that powers Wikipedia – that lets developer store and query data within the wiki's pages

Semantic MediaWiki (SMW) is a family of free, open-source extension to MediaWiki – the wiki software that powers Wikipedia – that lets you store and query data within the wiki's pages.

Semantic MediaWiki is also a full-fledged framework, in conjunction with many spinoff extensions, that can turn a wiki into a powerful and flexible “collaborative database”. All data created within SMW can easily be published via the Semantic Web, allowing other systems to use this data seamlessly.

Public sandbox: http://sandbox.semantic-mediawiki.org


Related tags :

165 questions
1
vote
2 answers

Using property OR in "conditions" parameter of askargs action with Semantic MediaWiki API

I'm trying to fetch results via API using the module askargs. I have no problems getting results when I have just one condition or more conditions aggregated with the operator AND where I make use of the pipe character to separate them (like written…
agbento
  • 13
  • 1
  • 4
1
vote
1 answer

Collection of all template contents

in my media wiki for my organisation I want to create a List of all decisions made in the past with the corresponding result (Yes/No ..) For this I created a new template, which highlights the decisions in our protocols and adds a Category with the…
hno2
  • 97
  • 2
  • 16
1
vote
1 answer

SemanticMediawiki subobject with whitespace in name: #show stopped working

We had a Mediawiki instance with a long overdue update. This notably included an update in the SemanticMediawiki extension. After this update, our templates designed to show the contents of SMW subobjects do not display anything, when used on…
Ad N
  • 7,930
  • 6
  • 36
  • 80
1
vote
0 answers

How to format monolingual text type SMW properties so accessible to queries without duplication

I'm trying to mark up inline text as being of a specific language. I've created a Property::Has language page with [[Has type::Monolingual text]]. But when I add [[Has language::(some text)@eo| ]], if "(some text)" is too long of a blob, the page…
Brett Zamir
  • 14,034
  • 6
  • 54
  • 77
1
vote
2 answers

Store arbitrary characters in Semantic MediaWiki

I'm trying to store some text containing html tags into properties, which doesn't work. I created a form for a property with the data type 'text' and a template. Saving the form writes the text into the template, but it can't get displayed, as it…
Bob Harris
  • 21
  • 2
1
vote
1 answer

SMW #ask query for Results Format graph

I have a number of pages in Semantic MediaWiki linked in a kind hierarchy by a property called Is implemented by. E.g "Widget Plant in Belgium" Is implemented by "Widget Plant with XYZ" "Widget Plant with XYZ" Is implemented by "Module A of…
djboardman
  • 152
  • 8
1
vote
2 answers

Semantic MediaWiki: Use template results in #switch

I want to #switch cases within an #ask-template but it looks like #switch ignores the given result value of {{{2}}} and always displays the #default. Is there a way to accomplish this? Am I missing something? Thank you very much! List: {{#ask:…
gooflab
  • 23
  • 2
1
vote
1 answer

Semantic Media Wiki action=purge alternatives and automation

I'm having an issue where pages with #ask queries aren't updating after updating content on other pages. The only way to get them to update seems to be using action=purge. Is there a maintenance script that will preform this across all pages? Which…
Beans
  • 329
  • 4
  • 16
1
vote
1 answer

How should optional or empty values be handled in Semantic Mediawiki?

I am setting up some templates for a Semantic Mediawiki implementation. Template params are being fed into annotations. However, the values are optional; there's not always going to be a value in every field. This causes trouble with some data…
Topsy
  • 23
  • 4
1
vote
2 answers

In MediaWiki: Check if user account is blocked within page

In MediaWiki I'd like to create a page that links to a user account. As we use blocking in order to deactivate user accounts (as there is no other way provided to achieve this) it would be nice to present a note next to a link if the account has…
Regis May
  • 3,070
  • 2
  • 30
  • 51
1
vote
1 answer

mwclient - browsebysubject - SMW

I have been toying around with mwclient to query a wiki installations running the SMW extension. It is quite convenient to have the "ask" method available to the mwclient.client.Site. However I want to take my queries further and use…
Andre
  • 65
  • 1
  • 7
1
vote
1 answer

Semantic media wiki in docker

I am trying to get the SMW running in a Docker container. I get the main page up, but it will not let me log in. It says: Login error Knowledgebase uses cookies to log in users. You have cookies disabled. Please enable them and try again. My browser…
Larry Martell
  • 3,526
  • 6
  • 40
  • 76
1
vote
1 answer

Mediawiki Infobox: How to display images

I can not get images in info boxes of my MediaWiki (1.29.1, Semantic MediaWiki installed) to show up. It just renders the filename as text. My info box template: {| class="wikitable" ! Name | [[Initiative_Name::{{{Name|}}}]] |- !…
user33958
  • 65
  • 1
  • 6
1
vote
2 answers

After edit in templates of MediaWiki, MediaWiki is not refreshing the content of pages

if i make changes in the template in mediawiki, the effects are not shown on the page using the template until i edit the page and re-save the page. How to reflect the changes in all other pages? Earlier: [[Trivia::{{{Trivia|}}}]] Suppose i apply…
1
vote
1 answer

Multiple Values in one "SMW Page Forms" field

I ran into a problem with Semantic Mediawiki using the Page Forms extension. I wanted to create a field in a Page Form, that can take more than one value. So I decided to use the tokens input type. The problem is the following: If I type some values…
TotzKuete
  • 53
  • 5