$mCategories, //!< Map of category names to sort keys
$mInterlangs, //!< Map of language codes to titles
$mProperties, //!< Map of arbitrary name to value
- $mDb, //!< Database connection reference
- $mOptions, //!< SELECT options to be used (array)
$mRecursive; //!< Whether to queue jobs for recursive updates
- /**@}}*/
/**
* Constructor
$popts = ParserOptions::newFromContext( $this->getContext() );
$popts->setTidy( true );
$p_result = $wgParser->parse( $page->getRawText(), $title, $popts,
- true, true, $page->getLatest() );
+ true, true, $page->getLatest() ); #FIXME: content!
# Update the links tables
- $updates = $p_result->getSecondaryDataUpdates( $title );
- SecondaryDataUpdate::runUpdates( $updates );
+ $updates = $p_result->getSecondaryDataUpdates( $title );
+ DataUpdate::runUpdates( $updates );
$r['linkupdate'] = '';
$mProperties = array(), # Name/value pairs to be cached in the DB
$mTOCHTML = '', # HTML of the TOC
$mTimestamp; # Timestamp of the revision
- private $mSecondaryDataUpdates = array(); # List of instances of SecondaryDataObject(), used to cause some information extracted from the page in a custom place.
+ private $mIndexPolicy = ''; # 'index' or 'noindex'? Any other value will result in no change.
+ private $mAccessedOptions = array(); # List of ParserOptions (stored in the keys)
- * 'index' or 'noindex'? Any other value will result in no change.
- *
- * @var string
- */
- protected $mIndexPolicy = '';
-
- /**
- * List of ParserOptions (stored in the keys)
- *
- * @var array
- */
- protected $mAccessedOptions = array();
-
- /**
- * List of instances of SecondaryDataObject(), used to cause some information extracted from the page in a custom place.
+
+ /**
- * @var array of SecondaryDataObject
++ * List of instances of DataUpdate(), used to cause some information extracted from the page in a custom place.
+ * @since WD.1
++ * @var array of DataUpdate
+ */
+ protected $mSecondaryDataUpdates = array();
const EDITSECTION_REGEX = '#<(?:mw:)?editsection page="(.*?)" section="(.*?)"(?:/>|>(.*?)(</(?:mw:)?editsection>))#';