Extension:ActiveAbstract/de-formal

This extension is used with XML dumps to pull a formatted copy of an article's initial text and its organizational structure. It is one of the filters available for the backup system.

It will pull the first two sentences of the article along with each section heading and wrap them in XML tags and trim the entry to be no longer than 1024 characters.

Parameters
ActiveAbstract is run as a plugin for dumpBackup.php:

Where


 * current - pulls only the latest article revision
 * output - sets where the output stream will go
 * filters
 * namespace - only pull documents from this namespace
 * noredirect - don't show redirects
 * abstract - registers the abstracts filter and runs it from within dumpBackup.php
 * variants - if variants exist, pull all latest copies and output them to a separate abstracts file

It can optionally convert output text to a given language variant:

A possible way to run this in production would be

Formatting
The required tags for each entry are:


 * doc
 * title
 * url
 * abstract
 * links
 * sublink