<?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/2.1/Extensions/PHPList">
		<swivt:creationDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2026-04-30T06:55:54+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/2.1/Extensions/PHPList">
		<rdfs:label>PHPList</rdfs:label>
		<rdfs:isDefinedBy rdf:resource="https://open-csp.org/Special:ExportRDF/DevOps-3ADoc/FlexForm/2.1/Extensions/PHPList"/>
		<swivt:page rdf:resource="https://open-csp.org/DevOps-3ADoc/FlexForm/2.1/Extensions/PHPList"/>
		<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/2.1/Extensions"/>
		<property:Doc_sort_order rdf:datatype="http://www.w3.org/2001/XMLSchema#double">10</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">Subscribe user to PHPList</property:Doc_synopsis>
		<property:Doc_target_group rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Administrator</property:Doc_target_group>
		<property:Doc_title_with_versions rdf:datatype="http://www.w3.org/2001/XMLSchema#string">PHPList (2.1,2.5)</property:Doc_title_with_versions>
		<property:Subject_version rdf:datatype="http://www.w3.org/2001/XMLSchema#string">2.1</property:Subject_version>
		<property:Subject_version rdf:datatype="http://www.w3.org/2001/XMLSchema#string">2.5</property:Subject_version>
		<property:Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">PHPList</property:Title>
		<property:Has_query rdf:resource="&wiki;DevOps-3ADoc/FlexForm/2.1/Extensions/PHPList-23_QUERY9f21cea8bf5add9ff6adb04f8dd501d2"/>
		<swivt:wikiPageCreationDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2023-03-30T19:58:12Z</swivt:wikiPageCreationDate>
		<property:Creation_date-23aux rdf:datatype="http://www.w3.org/2001/XMLSchema#double">2460034.3320833</property:Creation_date-23aux>
		<property:Display_title_of rdf:datatype="http://www.w3.org/2001/XMLSchema#string">PHPList</property:Display_title_of>
		<swivt:wikiPageModificationDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2025-08-21T13:08:49Z</swivt:wikiPageModificationDate>
		<property:Modification_date-23aux rdf:datatype="http://www.w3.org/2001/XMLSchema#double">2460909.0477894</property:Modification_date-23aux>
		<swivt:wikiPageSortKey rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Doc/FlexForm/2.1/Extensions/PHPList</swivt:wikiPageSortKey>
		<property:Page_creator rdf:resource="&wiki;User-3ACharlot"/>
		<property:Page_author rdf:resource="&wiki;User-3AMaintenance_script"/>
		<property:Page_author rdf:resource="&wiki;User-3ACharlot"/>
		<property:Page_author rdf:resource="&wiki;User-3AFd4138e7-2D8b46-2D4c8f-2D99bf-2Dd4b738ebc295"/>
		<property:Page_ID rdf:datatype="http://www.w3.org/2001/XMLSchema#double">405</property:Page_ID>
		<property:External_links rdf:datatype="http://www.w3.org/2001/XMLSchema#string">https://www.phplist.org/</property:External_links>
		<property:Internal_links rdf:datatype="http://www.w3.org/2001/XMLSchema#string">DevOps:Doc/FlexForm/2.1/Extensions</property:Internal_links>
		<property:Parsed_text rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Extension name : phpList 
 Allows for subscribing a user to your instalment of PHPList. ( https://www.phplist.org )
 PHPList needs a name and an email address as a bare minimum, so a form should provide that information.
 All the other configuration settings can be done inside the PostHandler PHP file. ( FlexForm/src/Modules/Handlers/phpList/PostHandler.php )
 
   // Let subscriber receive email in HTML format 
 HTML  =  1 ; 

 // Full url to where you have installed PHPList e.g. https://example.com/list 
 PHP_LIST_URL  =  '' ; 

 // Name of the form field holding the email of the subscriber 
 FIELD_EMAIL  =  'email' ; 

 // Name of the form field holding the name of the subscriber 
 FIELD_NAME  =  'name' ; 

 // Name of a form field where its value holds the name of another form field holding the email of the subscriber 
 FIELD_AS_EMAIL  =  'useFieldAsEmail' ; 

 // Name of a form field where its value holds the name of another form field holding the name of the subscriber 
 FIELD_AS_NAME  =  'useFieldAsName' ; 

 // If the form holds no information on what list to subscribe to, then subscribe the user to the following lists by default. 
 DEFAULT_LISTS  =  [ 

    3  =&gt;  'signup' , 

    4  =&gt;  'signup' , 

    5  =&gt;  'signup' , 

    6  =&gt;  'signup' , 

    7  =&gt;  'signup' , 

    8  =&gt;  'signup' 

 ]; 
 
 Note : We will be updating the use of extensions in the next release, so when updating you will not lose your custom settings.
 
 Update for FlexForm v2.1.1 
 All settings have been taken from the PostHandler.php file. FlexForm extension handler class has been updated to include config settings from the localsettings. See DevOps:Doc/FlexForm/2.1/Extensions .
 The settings now need to be setup in your localsettings. Example :
 
   // Let subscriber receive email in HTML format 
 $wgFlexFormConfig [ 'extensions' ][ 'phpList' ][ 'HTML' ]  =  1 ; 

 // Full url to where you have installed PHPList e.g. https://example.com/list 
 $wgFlexFormConfig [ 'extensions' ][ 'phpList' ][ 'PHP_LIST_URL' ]  =  '' ; 

 // Name of the form field holding the email of the subscriber 
 $wgFlexFormConfig [ 'extensions' ][ 'phpList' ][ 'FIELD_EMAIL' ]  =  'email' ; 

 // Name of the form field holding the name of the subscriber 
 $wgFlexFormConfig [ 'extensions' ][ 'phpList' ][ 'FIELD_NAME' ]  =  'name' ; 

 // Name of a form field where its value holds the name of another form field holding the email of the subscriber 
 $wgFlexFormConfig [ 'extensions' ][ 'phpList' ][ 'FIELD_AS_EMAIL' ]  =  'useThisFieldAsEmail' ; 

 // Name of a form field where its value holds the name of another form field holding the name of the subscriber 
 $wgFlexFormConfig [ 'extensions' ][ 'phpList' ][ 'FIELD_AS_NAME' ]  =  'useThisFieldAsName' ; 

 // Since v2.1.3: Name of a form field that needs to be submitted for the extension to do anything. This can be e.g. a checkbox (see example below). When checked the field will be submitted and 
 // phpList extension will only then subscribe a user. If you leave this setting out or empty, then no such check will be done. 
 $wgFlexFormConfig [ 'extensions' ][ 'phpList' ][ 'NEEDS_THIS_FIELD' ]  =  'onlyAddIfThisFieldExists' ; 

 // If the form holds no information on what list to subscribe to, then subscribe the user to the following lists by default. 
 $wgFlexFormConfig [ 'extensions' ][ 'phpList' ][ 'DEFAULT_LISTS' ]  =  [ 
	 3  =&gt;  'signup' , 
	 4  =&gt;  'signup' , 
	 5  =&gt;  'signup' , 
	 6  =&gt;  'signup' , 
	 7  =&gt;  'signup' , 
	 8  =&gt;  'signup' 
 ]; 

 // As of v2.1.4 lists are defined by only their id: 
 $wgFlexFormConfig [ 'extensions' ][ 'phpList' ][ 'DEFAULT_LISTS' ]  =  [   3 ,  4 ,  5 ,   6 ,  7 ,   8  ]; 
 
 Example form 
   &lt; form  extension = "phpList" &gt; 
  Name :  &lt; input  type = "text"  name = "naam"  /&gt;&lt; br &gt; 
  Email :  &lt; input  type = "email"  name = "e-mail"  /&gt;&lt; br &gt; 
  &lt; input  type = "secure"  name = "useThisFieldAsName"  value = "naam"  /&gt; 
  &lt; input  type = "secure"  name = "useThisFieldAsEmail"  value = "e-mail"  /&gt; 
  &lt; input  type = "checkbox"  name = "onlyAddIfThisFieldExists"  checked = "checked"  value = "kk"  /&gt;&amp; nbsp ;  Sign  me  up  for  the  newsletters &lt; br &gt; 
  &lt; input  type = "submit"  value = "register"  /&gt; 
 &lt;/ form &gt;</property:Parsed_text>
	</swivt:Subject>
	<swivt:Subject rdf:about="http://wikibase.nl/Special:URIResolver/DevOps-3ADoc/FlexForm/2.1/Extensions/PHPList-23_QUERY9f21cea8bf5add9ff6adb04f8dd501d2">
		<swivt:masterPage rdf:resource="&wiki;DevOps-3ADoc/FlexForm/2.1/Extensions/PHPList"/>
		<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/2.1/Extensions/PHPList]]</property:Query_string>
		<swivt:wikiPageSortKey rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Doc/FlexForm/2.1/Extensions/PHPList# QUERY9f21cea8bf5add9ff6adb04f8dd501d2</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-3AInternal_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>