Extension talk:Semantic MediaWiki/LQT Archive 1

Creating a SemanticForm and using tags
Hi guys hope you can help. If I can get this working, this will be a MAJOR thing for us :>)

Example: Lets say I have an extension called NewTaskTag, which lets you insert a  into a wiki page, then you manually insert parameters as follows..

 Task = This task completed at.. Time = 6pm Priority = Severe Updated by =   Task = Time = Priority = Updated by = 

The extension then renders the html into a table like format.

Because this is a manual job, I wanted to make it easier to do this.

So, Ive installed Semantic Mediawiki along with SemanticForms.

These are great, but I wanted to know if you could use a form to do the above instead of using the normal edit option with Mediawiki.

The problem I see is how will the form know how to interpret and pass the entered bits/eg. the fields to the extension, and how would you say, in a form, place a filed to say to use ?

To further clarify what Im trying to say is the following.

If I want to use the  in a wiki page, I just go to a new page, click on Edit, and enter the following:

 Task = Time = Priority = Updated by =   Task = Time = Priority = Updated by = 

I then complete each line, eg.Task = This new task, Time = 6pm, etc etc.

What Id like to do is the following:

Create a new form that has this format:

Task: [___ Text Box for Task entry___] Time: [___ Text Box for Time entry___] Priority: [___ Text Box for Priority entry___] Updated By: [___ Text Box for Updated By entry___]

All the user would have to do is then input in the text boxes the required data, then the  would do the rest. The questions I have though are:

1)How would the form know that each text box is actually in the format: Task = Time = etc etc

And that all these text boxes are enclosed in the  tag?

2) How could you create a form that automatically enters a  tag, then the required text boxes, with each one corresponding to a parameter required for the newtasktag, then a closing ? If I can get this working by you wonderful gurus, this would totally change for the better the way we use Mediawiki!

Thanks guys in advance.

SMW_LanguageZh_tw.php
SMW_LanguageZh_tw.php

SMW_LanguageZh_cn.php
SMW_LanguageZh_cn.php

Anchors in syntax conflict
There seems to be a small issue where links (including interwiki) with section linking anchors such as Help:ParserFunctions which renders as M:Help:ParserFunctions will confuse with Semantic linking, and an interwiki link such as Help:ParserFunctions will fail with the Semantic MediaWiki extension installed. --Zven 01:22, 17 November 2007 (UTC)

How do I get Simile Timeline working with Semantic MW?
Hi, I have SMW extension installed and would love to get the Simile timeline function working, but can not seem to find exact instructions. Would you know please? Thanks 84.24.129.223
 * See the demo
 * And in my experience, if the setting "$smwgQDefaultNamespaces" is wrong, you will not get timeline.--Roc michael 23:58, 23 December 2007 (UTC)

How to put the specific task and subtasks into a timeline and table query
I have some tasks and subtasks. I would like to make some querys of timeline and table for them. The structure of the demo like following image. Is there a way making the parser query for the demo. Thanks--Roc michael 00:14, 24 December 2007 (UTC)
 * MediaWiki: 1.11.0
 * Semantic MediaWiki (version 1.0-RC3)



Templating #ask:</tt> Results
So I'm using the <tt>#ask:</tt> parser function and using a template to format each result. Is there a way to have <tt>#ask:</tt> send the full page name to the template instead of a link (e.g. <tt> Page <tt> instead of <tt> Page <tt>? I want to have full control of the displayed text of the link.  —Sledged (talk) 03:29, 7 March 2008 (UTC)


 * Also, as a minor note, the template used in the results shows up as an orphaned page. Shouldn't it show up as being included in the <tt>#ask:</tt>ing page?  —Sledged (talk) 03:34, 7 March 2008 (UTC)


 * For the first question, you can set the link text with "[ custom text]" in the template. Yaron Koren 04:38, 7 March 2008 (UTC)


 * No, that doesn't do it at all. That just gives me <tt> Page custom text] </tt>.  —Sledged (talk) 05:08, 7 March 2008 (UTC)

A String as Both a Property Value and Displayed Text of a Link
Suppose in a page, I have the text "The capitol is Lincoln." Now I want "Lincoln" to be a value of the property "State Capitol," and I want it to be the display text of a link to the page "Lincoln (Nebraskan City)." Is this possible? I've tried <tt> [[State Capitol::Lincoln]] </tt>, but it doesn't work. It seems I can only get it to work if I have two separate "Lincoln" texts like so: <tt> Lincoln State Capitol::Lincoln </tt>. I'm hoping for something that's a little less heavy-handed. —Sledged (talk) 07:13, 7 March 2008 (UTC)

<tt>Subproperty of</tt> Property
When a property is tagged as a subproperty of another, does it inherit the parent property's type? With the given examples on semantic-mediawiki.org, if "spouse" is of the type String, are "wife" and "husband" inherently of type String, or does it have to be declared with each subproperty? —Sledged (talk) 15:16, 7 March 2008 (UTC)