Form:Semantic Forms URL demo: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This is the "Semantic Forms URL demo" form. | This is the "Semantic Forms URL demo" form. It attempts to show how to deal with external URLs. | ||
Please '''do not create new forms'''. Here are your options: | |||
* Look at the source code and read the [[Semantic Forms]] and [[Semantic Forms Inputs]] articles | |||
* 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 20: | Line 27: | ||
| {{{field|f_URL_free_string}}} | | {{{field|f_URL_free_string}}} | ||
|- | |- | ||
! | ! URL string URL input (checked with a regexp) | ||
| {{{field|f_URL_string_URL_input|input type= | | {{{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\-\._\?\,\'/\\\+&%\$#\=~])*$}}} | ||
|- | |- | ||
! link wiki format (enter a link in wiki syntax): | ! link wiki format (enter a link in wiki syntax): |
Revision as of 15:57, 16 July 2013
This is the "Semantic Forms URL demo" form. It attempts to show how to deal with external URLs.
Please do not create new forms. Here are your options:
- Look at the source code and read the Semantic Forms and Semantic Forms Inputs articles
- Play with the single Semantic Forms URL demo test
- Create a new form, but do not save it ...
Official documentation:
- Semantic Forms (Mediawiki.org)
- Semantic Forms Inputs (Mediawiki.org)