TestPage

From Referata scratchpad
Jump to: navigation, search
  Number of participants
Page10 kesw 20
Page4 kesw 40
Page1 kesw 40
Pupils page 40
TestPage 40
Page2 kesw 41
Page3 kesw 42
Page5 kesw 123


School has 40 number of participants


You can now use images from Wikimedia Commons in Referata Wikis
Error creating thumbnail: Invalid thumbnail parameters
Testing Wikimedia Commons image use.

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.


[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 miunte saved is a minute earned, and this saved hours!

I told my garndomther 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

HebrewPublishingTimeline

Personal tools
Namespaces
Variants
Views
Actions
Navigation
Help
Data export
Toolbox