Form:Semantic Forms URL demo: Difference between revisions
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: | ||
<noinclude> | <noinclude> | ||
Please '''do not create new | This is the "Semantic Forms URL demo" form. It attempts to show how to (not) deal with external URLs. | ||
* Look at the source code and read the [[Semantic Forms]] | |||
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]] | * Play with the single [[Semantic Forms URL demo test]] | ||
* Create a new form, but do not save it ... | * Create a new form, but do not save it ... | ||
Line 28: | Line 29: | ||
|- | |- | ||
! URL string URL input (checked with a regexp) | ! URL string URL input (checked with a regexp) | ||
| {{{field|f_URL_string_URL_input|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\-\._\?\,\'/\\\+&%\$#\=~])*$/}}} | ||
|- | |- | ||
! link wiki format (enter a link in wiki syntax): | ! link wiki format (enter a link in wiki syntax): |
Latest revision as of 20: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:
- 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:
- Semantic Forms (Mediawiki.org)
- Semantic Forms Inputs (Mediawiki.org)