Semantic Forms URL demo test: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Semantic Forms URL demo
{{Semantic Forms URL demo
|f_URL_link_text=Semantic MediaWiki
|f_URL_link_text=Semantic Forms
|f_URL=http://www.mediawiki.org/wiki/Extension:Semantic_Forms
|f_URL=http://www.mediawiki.org/wiki/Extension:Semantic_Forms
|f_URL_free_string=http://www.mediawiki.org/wiki/Extension:Semantic_Forms
|f_URL_free_string=http://www.mediawiki.org/wiki/Extension:Semantic_Forms
|f_URL_string_URL_input=this is not true, regexp does not seem to work :(
|f_URL_string_URL_input=this is not true content, the regexp does not seem to work, have to figure out why :(
|f_link_wiki_format=[http://www.mediawiki.org/wiki/Extension:Semantic_Forms Semantic Forms]
|f_link_wiki_format=[http://www.mediawiki.org/wiki/Extension:Semantic_Forms Semantic Forms]
}}
}}
This is an instance of the "Semantic Forms URL demo" form. It attempts to deal with external URLs. ...
Please '''do not create new instances'''. Here are your options:
* Play with this page and read the [[Semantic Forms]] article or the [http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Defining_forms official documentation]
* Look at the code of the [[Form:Semantic Forms URL demo]] and the [[Template:Semantic Forms URL demo]]
* Create a new form, but do not save it ...
Official documentation:
* [http://www.mediawiki.org/wiki/Extension:Semantic_Forms Semantic Forms] (Mediawiki.org)
* [http://www.mediawiki.org/wiki/Extension:Semantic_Forms_Inputs Semantic Forms Inputs] (Mediawiki.org)

Latest revision as of 18:18, 19 July 2013

Template parameter name Property data type form input type Result
f_URL_link_text string default Semantic Forms
f_URL URL Default http://www.mediawiki.org/wiki/Extension:Semantic Forms
f_URL_free_string string default http://www.mediawiki.org/wiki/Extension:Semantic_Forms
f_URL_string_URL_input string regexp this is not true content, the regexp does not seem to work, have to figure out why :(
f_Wiki_formatted_link string default [[Has URL in wiki format::Semantic Forms]]

Location/link text combinations (good, bad and ugly ...)

Source Result Works
[{{{f_URL_free_string|}}} {{{f_URL_link_text|}}}]
Semantic Forms ok, no semantics
[{{{f_URL_string_URL_input|}}} {{{f_URL_link_text|}}}]
Semantic Forms ok, no semantics
[{{{f_URL|}}} {{{f_URL_link_text|}}}]
Semantic Forms ok, no semantics
{{{f_URL|web page}}}
http://www.mediawiki.org/wiki/Extension:Semantic_Forms not ok, no semantics
[[Has URL::{{{f_URL|web page}}}]]
http://www.mediawiki.org/wiki/Extension:Semantic Forms not ok, no semantics
[[Has URL::{{{f_URL|}}}|web page]]
web page ok, one missing property
[[Has URL::{{{f_URL|}}}| {{{f_URL_link_text|}}}]]
Semantic Forms ok, but one missing property
[[[Has URL::{{{f_URL|}}}]] [[Has URL link text::{{{f_URL_link_text|}}}]]]
"[Has URL" contains a listed "[" character as part of the property label and has therefore been classified as invalid. Semantic Forms] bad
[[Has URL::{{{f_URL|}}}| {{{f_URL_link_text|}}}]] <span style="display:none">[[Has URL link text::{{{f_URL_link_text|}}}]] </span>
Semantic Forms Semantic Forms ok, but relies on CSS
{{#set:Has URL={{{f_URL|}}} }}
{{#set:Has URL link text={{{f_URL_link_text|}}} }}
[{{{f_URL}}} {{{f_URL_link_text}}}]

Semantic Forms

best solution (thanx to Yaron Koren)

This is an instance of the "Semantic Forms URL demo" form. It attempts to deal with external URLs. ...

Please do not create new instances. Here are your options:

Official documentation: