Extension:StructuredDiscussions

See Flow for an overview of what this extension is planned to address over time.

See Flow/MVP for a summary of what the December 2013 implementation does, or try it.

Installing
The easiest way to install Flow is to use the MediaWiki-Vagrant appliance and enable its flow role.

To install the extension manually:

Running "update.php" will leave temporary /tmp/mw-UIDGeneratorUUID-UID-xx files that MediaWiki may be unable to open. If you get a "Permission denied" error upon first visiting a Flow board you have to delete these files.

Dependencies

 * required: Extension:Mantle for templating support shared with Extension:MobileFrontend
 * optional: Extension:CLDR for human-friendly timestamps such as "3 days ago"
 * optional: Parsoid for the option to store posts as HTML which improves performance. This is how WMF wikis are configured, and hence is the most tested configuration (e.g.  with wikitext). If you use MediaWiki-Vagrant, the easiest way to enable Parsoid is vagrant enable-role visualeditor.
 * optional: Extension:VisualEditor for experimental VisualEditor support
 * bug? if you have the VisualEditor present (e.g. perhaps to provide OOjs UI),then Flow will attempt to contact Parsoid even if VE is not enabled
 * optional: Extension:Echo for notifications (e.g. replies to your post) and Extension:Thanks to "Thank" users for their posts
 * optional: Flow can integrate with Extension:AbuseFilter, Extension:SpamBlacklist, and Extension:ConfirmEdit, see /Spam

Verifying installation
Visit one of the pages you enabled for Flow (see ) and try adding a topic and editing its header.

Configuration
Here are some settings you need to make in LocalSettings.php.


 * Subject to change

You configure a wiki page to show its Flow board in place of regular page content. specifies Flow-enabled pages (use spaces, not underscores, in page titles). specifies Flow-enabled namespaces (by number). For example:

This is not intended to be a permanent solution, it is targeted to the needs of the initial limited rollout.

"maximum function nesting level of '100' reached, aborting"
If you get this error, you need to set, probably in /etc/php5/apache2/php.ini.

Permissions
Users must have the core  permission to perform any write action in Flow. Many wikis only grant this permission to the 'user' (logged-in) or 'autoconfirmed' group.

Flow defines many actions such as  and   (see the list in ). The permissions vary depending on whether the post is your own and whether it has been moderated. For example, by default users can edit their own posts, but only users in the 'sysop' group have the  permission to edit anyone's post. You can override which groups have which permissions and what permissions are required for each Flow action; see Manual:User rights for an overview of permissions.

Migrating existing pages
does not affect subpages. So before or after setting this, you can use Special:MovePage to move the existing content of a talk page to an /Archive subpage without leaving a redirect, and in the header section of its Flow board, add a link to it, e.g.
 * Previous discussion is at SomeNamespace talk:Some Page/Archive

Flow adds a Topic: namespace, see Extension default namespaces. You can visit Special:PrefixIndex/Topic: to see if there are existing pages that conflict with this; if so run the maintenance script maintenance/namespaceDupes.php.

Architecture
See Flow/Architecture.

Spam
See Extension:Flow/Spam for more information on how to fight spam in Flow.

Moderation
See Extension:Flow/Moderation for more information on moderation in Flow.