Demo VisualData 1.0
/ New task
Editing
Demo VisualData/New task
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
This form shows the following features: * default value for assignee field with magic word <code><nowiki>{{CURRENTUSER}}</nowiki></code> (wikitext and parser functions allowed, useful repositories are the following: [https://www.mediawiki.org/wiki/Help:Magic_words Help:Magic words] and [https://www.mediawiki.org/wiki/Extension:MyVariables Extension:MyVariables]) * OOUI UserInputWidget for the same field * status with dropdown with items retrieved by a wikilist on this page [[Task status list]] * OOUI MultilineTextInputWidget for the task field, with autogrow * subitems for the repository section * validation pattern for the url field in the repository section (repository -> properties -> url -> settings symbol near the preferred input field -> validate) * default rows for the MultilineTextInputWidget inside the input config for the comments field * hidden field id-increment, with value-formula <code><nowiki>{{#idprovider-increment:}}</nowiki></code> (see [https://www.mediawiki.org/wiki/Extension:IDProvider Extension:IDProvider]) used in pagename formula * pagename formula with value <code><nowiki>Tasks/<assignee>/<id-increment></nowiki></code> (this will create a page with the entered metadata or freetext with title like <code><nowiki>Tasks/User:Admin/1</nowiki></code> ) * The form gets validated through [https://github.com/ajv-validator/ajv ajv-validator] {{#visualdataform: Task |title = Create task |action = create |edit-page = |return-page = |view = inline |popup-size = medium |css-class = |pagename-formula = Tasks/<assignee>/<id-increment> |edit-freetext = true |edit-categories = false |edit-content-model = false |edit-target-slot = false |target-slot=main |default-categories = tasks |default-content-model = wikitext |layout-align = top |popup-help = false |submit-button-text = |layout = tabs |submit-button-text = |validate-button-text = }} Wikitext to render the form <pre> {{#visualdataform: Task |title = Create task |action = create |edit-page = |return-page = |view = inline |popup-size = medium |css-class = |pagename-formula = Tasks/<assignee>/<id-increment> |edit-freetext = true |edit-categories = false |edit-content-model = false |edit-target-slot = false |target-slot=main |default-categories = tasks |default-content-model = wikitext |layout-align = top |popup-help = true |submit-button-text = |layout = tabs |submit-button-text = |validate-button-text = }} </pre> The related schema generated by the schema builder can be found here: [[VisualDataSchema:Task]]. It can be managed here [[Special:ManageSchemas]] == See also == {{Demo VisualData footer}}
Summary:
Please note that all contributions to Wikisphere may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Wikisphere:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Template used on this page:
Template:Demo VisualData footer
(
edit
)
Navigation menu
Personal tools
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
Edit data
View history
More
Delete
Move
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information
Browse subpages
VisualData
New article
Browse data
Subpage navigation
Browse subpages