Main Page
foo
This is the scratchpad wiki for Referata. You can use this site to test the creation and display of structured wiki data using MediaWiki and the extensions installed on Referata, including Semantic MediaWiki, Semantic Forms, Semantic Drilldown and others. You do not have to register to make changes to the site.
To start, you can read the "Setting up a Referata site" section in the main help page, or click on any of the "Helpful links" in the sidebar on the left.
Contents |
[edit] Multiple values separated by commas
When using commas to separate multiple values of a number-type property, no space is allowed right after the comma: http://scratchpad.referata.com/wiki/Special:FormEdit/Multiplevalues/Multiplevalues. SMW is able to handle them, but SF produces an error message. Update: commas may not work either.
Template (using the html code for a space, which isn't shown in the preview below):
{{#arraymap:{{{Numbers|}}}|,|x|[[SomethingToDoWithNumbers::x]]|, }}
Form:
{{{field|Numbers|size=40|delimiter=,}}}
- A minute saved is a minute earned, and this saved hours!
- I told my grandomther how you helped. She said, bake them a cake!
[edit] SIO duplication bug
Here's a link to a page whose template shows a list of SIO objects. Doing a browser refresh will cause duplication of field contents, but edit/save will reset back to the original text. I've also noted that the duplicates also disappear if I wait a while and then do another refresh. Check the problem on the page CompanyX. It works on this wiki, but on my wiki it shows the problem. I'll keep trying. Must be some interaction with the way MediaWiki is configured.
The field that gets duplicated is the last one. It's the property Description of type Text. The problem happens whether the field contains a link, or just plain text.
I believe it's connected with my LocalSettings.php configuration and these variables. When set to true on my wiki, the problem disappears, though I must have caching turned off due to other SMW side effects.
$wgCachePages = false; $wgEnableParserCache = false;
[edit] Timeline testing
[edit] Test di Davide
[edit] SIO plus Inverse properties
I want to emulate blank nodes in RDF export
Yury Katkov Property:lives in Property:contains Property:Country Property:City Exetrmley helpful article, please write more.
Has anyone been able to do this?!
[edit] KESW school tests
Page1 kesw Page2 kesw Page3 kesw Page4 kesw Pupils page
[edit] noch ein Test
[edit] Team Test Wiki
[edit] Another test
[edit] prueba
[edit] Learning Semantic Forms
Use Case Description - outlines requirement and how to set up templates, forms and properties to meet the requirement
