Extension:ActiveAbstract

Purpose
This extension is used by the 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 will trim the entry to be no longer then 1024.

Parameters
Abstract filter it run as a plugin to dumpBackup.php and can be invoked like

Can optionally convert output text to a given language variant:

Where
 * current - pulls only the latest article revision
 * output - sets where our 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 copy and output it to a separate abstracts file

A possible way to run this in production would be

note: force-normal is added for better utf8 conversion

Formatting
The required tags for each entry are:


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