Form:Semantic Forms URL demo: Difference between revisions

The educational technology and digital learning wiki
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "Semantic Forms URL demo" form.
 
To create a page with this form, enter the page name below;
This is the "Semantic Forms URL demo" form. It attempts to show how to (not) deal with external URLs.  
if a page with that name already exists, you will be sent to a form to edit that page.
 
Please '''do not create new instances'''. Here are your options:
* Look at the source code and read the [[Semantic Forms]] article
* Play with the single [[Semantic Forms URL demo test]]
* 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)




Line 11: Line 19:
{{{for template|Semantic Forms URL demo}}}
{{{for template|Semantic Forms URL demo}}}
{| class="formtable"
{| class="formtable"
! F_URL:
! URL link text (enter a string)
| {{{field|f_URL_link_text}}}
|-
! URL (must conform with the URL data type)
| {{{field|f_URL}}}
| {{{field|f_URL}}}
|-
|-
! F_URL_free_string:
! URL free string (no checking):
| {{{field|f_URL_free_string}}}
| {{{field|f_URL_free_string}}}
|-
|-
! F_URL_string_URL_input:
! URL string URL input (checked with a regexp)
| {{{field|f_URL_string_URL_input}}}
| {{{field|f_URL_string_URL_input|input type=regexp|regexp=/^(http|https|ftp)\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9\-\._\?\,\'/\\\+&amp;%\$#\=~])*$/}}}
|-
|-
! F_link_wiki_format:
! link wiki format (enter a link in wiki syntax):
| {{{field|f_link_wiki_format}}}
| {{{field|f_link_wiki_format}}}
|}
|}

Latest revision as of 21:40, 18 July 2013


This is the "Semantic Forms URL demo" form. It attempts to show how to (not) deal with external URLs.

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

Official documentation: