Extension:Semantic Page Series

What can this extension do?
Enables the generation of multiple pages from one Semantic Form

Usage
''This section needs to be written. For now the relevant part of the spec is included.''

Example for a workflow:
 * In a page's text the following parser function call is included:


 * This would create a "Create event series" button on the page
 * When the users click this button they are taken to a Semantic Form (defined in Form:EventSeries Form)
 * On the form they can specify the recurring date parameters (among all the other things like location or participants)
 * When they hit "Save" the necessary jobs to create the pages of the series are created in the job queue using Form:Event Form (specified in the target form parameter)

The extension can only work with forms using the one-step-process, i.e. forms where the page name is created fom the form's content. Else it would be necessary to ask the user for a name for every page of the series, which would defy the purpose of the new extension.

Download instructions
You can get the current development code using Subversion:

Dependencies
This extension was developed for MediaWiki 1.17 with at least Semantic MediaWiki 1.5.3 and Semantic Forms 2.4 installed. Other version might work, but are not tested.

Installation

 * 1) Download the package. Unpack the folder inside /extensions (so that the files are in /extensions/SemanticPageSeries, rename the folder if necessary).
 * 2) In your LocalSettings.php, add the following line to the end of the file:

Configuration parameters
The following settings may be used:

Default setting:
 * $spsgPageGenerationLimits to specify the maximum number of pages that may be generated per request by a member of a user group. If a user is in more than one group, the highest number is used.

If you want to use these settings, just include them in LocalSettings.php AFTER the require_once("$IP/extensions/SemanticPageSeries/SemanticPageSeries.php");