<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rdf:RDF[
	<!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
	<!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
	<!ENTITY owl 'http://www.w3.org/2002/07/owl#'>
	<!ENTITY swivt 'http://semantic-mediawiki.org/swivt/1.0#'>
	<!ENTITY wiki 'http://wikibase.nl/Special:URIResolver/'>
	<!ENTITY category 'http://wikibase.nl/Special:URIResolver/Category-3A'>
	<!ENTITY property 'http://wikibase.nl/Special:URIResolver/Property-3A'>
	<!ENTITY wikiurl 'https://open-csp.org/'>
]>

<rdf:RDF
	xmlns:rdf="&rdf;"
	xmlns:rdfs="&rdfs;"
	xmlns:owl ="&owl;"
	xmlns:swivt="&swivt;"
	xmlns:wiki="&wiki;"
	xmlns:category="&category;"
	xmlns:property="&property;">

	<owl:Ontology rdf:about="https://open-csp.org/Special:ExportRDF/DevOps-3ADoc/FlexForm/1.0/create">
		<swivt:creationDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2026-04-30T06:56:56+02:00</swivt:creationDate>
		<owl:imports rdf:resource="http://semantic-mediawiki.org/swivt/1.0"/>
	</owl:Ontology>
	<swivt:Subject rdf:about="http://wikibase.nl/Special:URIResolver/DevOps-3ADoc/FlexForm/1.0/create">
		<rdfs:label>create</rdfs:label>
		<rdfs:isDefinedBy rdf:resource="https://open-csp.org/Special:ExportRDF/DevOps-3ADoc/FlexForm/1.0/create"/>
		<swivt:page rdf:resource="https://open-csp.org/DevOps-3ADoc/FlexForm/1.0/create"/>
		<swivt:wikiNamespace rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">50000</swivt:wikiNamespace>
		<swivt:wikiPageContentLanguage rdf:datatype="http://www.w3.org/2001/XMLSchema#string">en</swivt:wikiPageContentLanguage>
		<property:Class rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Doc</property:Class>
		<property:Doc_parent rdf:resource="&wiki;DevOps-3ADoc/FlexForm/create-2Dor-2Dedit-2Da-2Dpage"/>
		<property:Doc_sort_order rdf:datatype="http://www.w3.org/2001/XMLSchema#double">205</property:Doc_sort_order>
		<property:Doc_subject rdf:resource="&wiki;DevOps-3ADoc/FlexForm"/>
		<property:Doc_synopsis rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Using a form to create new pages or overwrite existing pages</property:Doc_synopsis>
		<property:Doc_target_group rdf:datatype="http://www.w3.org/2001/XMLSchema#string">User</property:Doc_target_group>
		<property:Doc_title_with_versions rdf:datatype="http://www.w3.org/2001/XMLSchema#string">create (1.0,1.1)</property:Doc_title_with_versions>
		<property:Subject_version rdf:datatype="http://www.w3.org/2001/XMLSchema#string">1.0</property:Subject_version>
		<property:Subject_version rdf:datatype="http://www.w3.org/2001/XMLSchema#string">1.1</property:Subject_version>
		<property:Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">create</property:Title>
		<property:Has_query rdf:resource="&wiki;DevOps-3ADoc/FlexForm/1.0/create-23_QUERY5b8543e4692272003eba407128e1677c"/>
		<swivt:wikiPageCreationDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2022-02-15T20:37:11Z</swivt:wikiPageCreationDate>
		<property:Creation_date-23aux rdf:datatype="http://www.w3.org/2001/XMLSchema#double">2459626.3591551</property:Creation_date-23aux>
		<property:Display_title_of rdf:datatype="http://www.w3.org/2001/XMLSchema#string">create</property:Display_title_of>
		<swivt:wikiPageModificationDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2025-07-15T08:58:53Z</swivt:wikiPageModificationDate>
		<property:Modification_date-23aux rdf:datatype="http://www.w3.org/2001/XMLSchema#double">2460871.8742245</property:Modification_date-23aux>
		<swivt:wikiPageSortKey rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Doc/FlexForm/1.0/create</swivt:wikiPageSortKey>
		<property:Page_creator rdf:resource="&wiki;User-3AAdmin"/>
		<property:Page_author rdf:resource="&wiki;User-3AAdmin"/>
		<property:Page_author rdf:resource="&wiki;User-3ACharlot"/>
		<property:Page_author rdf:resource="&wiki;User-3AE00a555c-2D1e5d-2D4eb3-2Db26b-2D5be8dc16c657"/>
		<property:Page_author rdf:resource="&wiki;User-3ASlot_migration"/>
		<property:Page_author rdf:resource="&wiki;User-3A81d56153-2D9868-2D4094-2D90a0-2Ddf1700ff7090"/>
		<property:Page_ID rdf:datatype="http://www.w3.org/2001/XMLSchema#double">85</property:Page_ID>
		<property:External_links rdf:datatype="http://www.w3.org/2001/XMLSchema#string">https://www.mediawiki.org/wiki/Multi-Content_Revisions</property:External_links>
		<property:Parsed_text rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Name 
 _create
 
 Type 
 _create
 
 Synopsis 
 Using a form to create new pages or overwrite existing pages
 
 Description 
 _create can be defined as part of a form to have new page(s) created on form submit or overwrite (an) existing page(s).
 
 Parameters 
 _create 
  mwtemplate = Name of a template to use as content for the new page. If you have a form with only one input element you can also use mwtemplate="wsnone". This will take the content of the form input element and make it the source content of the new page (without putting it inside a template).
  mwwrite = Full name of the target page
  mwfollow = Will send the user to the newly create page after for submission
  mwoption can hold three different values:
 
 " add_random " = Create random numbers 
 " next_available " = Get the next available number. If mwwrite is : "orders/", this option will find the highest orders number (e.g. orders/192) and will create a page with one number higher (e.g. orders/193) 
 " range: " = Get the next available free slot in a range of numbers. If mwwrite is : "orders/", this option will find the first free spot in a range of numbers. If mwoption="range:2019000-2019999" and mwwrite="orders/" then FlexForm will start looking for a page called orders/2019000. If exists it will look for orders/2019001 etc.. till the first free page is found. 
 
 mwleadingzero can be used in combination with range. When a range is set like 1-99999 using mwleadingzero will use the length of the end range and use it to fill the start range with leading zeros, making the range from 00001-99999.
  mwfields = comma separated names of form elements that need to be included. Only works when using multiple _create.
 If you are creating multiple pages and want to re-assign form fields to template variables, you still add the form field name to mwfields, but add " :: " and then the name of the template variable. So if you want to tell mwfields to use formfield " name2 ", but add it to the template as " Name ", add : " name2::Name " to mwfields.
  mwslot = name of a specific content slot to use.
  nooverwrite = when this is set, no create will be done for a page that already exists. Even if you are creating a new slot for a page that already exist.
  noseo = when this is set, even if the setting create-seo-titles in your local settings is set to true to always create SEO friendly page titles, it will not make the title of a new page SEO friendly, but use the title given.
   As off FlexForm Version 1.1.43 : 

 mwformat = defaults to wiki. Currently only supports wiki or json. When set to json, the page content of the page will become a json. When used with mwtemplate, then the template name will be the key for the json. All form values will be stored as strings. Every new array with key names will automatically get a ffID value that will always be unique. This is done for easy editing later.
 
There are several ways for creating a page with FlexForm.
  
 Easiest Use mwtemplate and mwwrite as described above (and optionally wsfollow, wsoption, etc) This will use the values of mwtemplate and mwwrite and any form elements the current for has and create a new page with template "mwtemplate" and title of "mwwrite". See example 1. 
 More advanced and possibilities Use mwtemplate and mwwrite with more options than described above (and optionally wsfollow, wsoption, etc) mwwrite can use can use other elements in the form and use those values to create a title for a new page. Field names can be added using square brackets. So if a form also has a text input field of "title" mwwrite could be "[title]".  [mwrandom] can also be used e.g. mwwrite="[title]/[mwrandom]". See example 2. 
 Create multiple pages with one form and control what form elements are used. This is where mwfields comes in. This is a comma separated list of form elements that will be used to create the new page. If a form has 15 text input fields, then using _create will include all 15 (filled-in by user) elements in the new page. Using mwfields you can tell _create specifically what form element to use to create a new page. So, when creating multiple new pages with one form, mwfields should be used with any and all _create. See example 3. 
 Create a new page and fill different content slots for that page.  You have to give the definition of the first _create an id. The other _create elements reference the first _create with a mwwrite like mwwrite="::id::&lt;idOfWSCreateWithID&gt;". See example 4. 
 Example 
 Example 1 : Create a new page with the next available number
 
   &lt; _create  mwwrite = "orders/"  mwtemplate = "Order"  mwoption = "next_available"  /&gt; 
 
 Create a new page with the next available number in a range and always start from the beginning
 
   &lt; _create  mwwrite = "orders/"  mwtemplate = "Order"  mwoption = "range:2019000:2019999"  /&gt; 
 
 Random number
 
   &lt; _create  mwwrite = "Proj-solution:"  mwoption = "add_random"  mwtemplate = "Solution"  /&gt; 
 
 Example 2 : Create from text, mwrandom and fieldvalues
 
   &lt; _create  mwwrite = "Proj-solution:[namefield]/[mwrandom]"  mwtemplate = "Solution"  /&gt; 
 
 Example 3 : Create from text and field values and only include specific form element names in the new template
 
   &lt; _create  mwwrite = "Proj-solution:[namefield]/Personal"  mwtemplate = "Personal"  mwfields = "naam, adres, straat, plaats"  /&gt; 
 &lt; _create  mwwrite = "Proj-solution:[namefield]/Business"  mwtemplate = "Business"  mwfields = "Company, cadres, cstraat, cplaats"  /&gt; 
 
 Example 4 : Create a page with title : Test/[title]. With no main content and a template of Structured data with an argument of Hello in slot:mds-metadataslot". At the same time content slot "mds-metadataslot2" get the same template with argument Hello2.
 
   &lt; _create  id = "testingSlot"  mwwrite = "Test/[title]"  mwtemplate = "Structured data"  mwfollow  mwfields = "Hello"  mwslot = "mds-metadataslot"  /&gt; 
 &lt; _create  mwwrite = "::id::testingSlot"  mwtemplate = "wsnone"  mwfields = "Hello2"  mwslot = "mds-metadataslot2"  /&gt; 
 
 Note 
 If you create a page from text, mwrandom and field values and also add mwoption="add_random", another random number will be added to the end of the page title.
 You can have multiple instances of _create in a form, as long as mwfields is an argument with every _create.
If you have multiple _create and they all have a mwfollow, the last _create in the list will be followed.
 
 Links 
 https://www.mediawiki.org/wiki/Multi-Content_Revisions</property:Parsed_text>
	</swivt:Subject>
	<swivt:Subject rdf:about="http://wikibase.nl/Special:URIResolver/DevOps-3ADoc/FlexForm/1.0/create-23_QUERY5b8543e4692272003eba407128e1677c">
		<swivt:masterPage rdf:resource="&wiki;DevOps-3ADoc/FlexForm/1.0/create"/>
		<swivt:wikiNamespace rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">50000</swivt:wikiNamespace>
		<property:Query_depth rdf:datatype="http://www.w3.org/2001/XMLSchema#double">0</property:Query_depth>
		<property:Query_format rdf:datatype="http://www.w3.org/2001/XMLSchema#string">plainlist</property:Query_format>
		<property:Query_size rdf:datatype="http://www.w3.org/2001/XMLSchema#double">1</property:Query_size>
		<property:Query_string rdf:datatype="http://www.w3.org/2001/XMLSchema#string">[[:DevOps:Doc/FlexForm/1.0/create]]</property:Query_string>
		<swivt:wikiPageSortKey rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Doc/FlexForm/1.0/create# QUERY5b8543e4692272003eba407128e1677c</swivt:wikiPageSortKey>
	</swivt:Subject>
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#creationDate" />
	<owl:ObjectProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#page" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiNamespace" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiPageContentLanguage" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3AClass" />
	<owl:ObjectProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3ADoc_parent" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3ADoc_sort_order" />
	<owl:ObjectProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3ADoc_subject" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3ADoc_synopsis" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3ADoc_target_group" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3ADoc_title_with_versions" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3ASubject_version" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3ATitle" />
	<owl:ObjectProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3AHas_query" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiPageCreationDate" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3ACreation_date-23aux" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3ADisplay_title_of" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiPageModificationDate" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3AModification_date-23aux" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiPageSortKey" />
	<owl:ObjectProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3APage_creator" />
	<owl:ObjectProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3APage_author" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3APage_ID" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3AExternal_links" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3AParsed_text" />
	<owl:ObjectProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#masterPage" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3AQuery_depth" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3AQuery_format" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3AQuery_size" />
	<owl:DatatypeProperty rdf:about="http://wikibase.nl/Special:URIResolver/Property-3AQuery_string" />
	<!-- Created by Semantic MediaWiki, https://www.semantic-mediawiki.org/ -->
</rdf:RDF>