merged master after 1.20wmf3
authordaniel <daniel.kinzler@wikimedia.de>
Tue, 15 May 2012 06:46:34 +0000 (08:46 +0200)
committerdaniel <daniel.kinzler@wikimedia.de>
Tue, 15 May 2012 06:46:34 +0000 (08:46 +0200)
1  2 
docs/hooks.txt
includes/AutoLoader.php
includes/DefaultSettings.php
includes/Export.php
includes/FeedUtils.php
includes/LinksUpdate.php
includes/Namespace.php
includes/WikiPage.php
includes/api/ApiPurge.php
includes/parser/ParserOutput.php
includes/specials/SpecialUndelete.php

diff --cc docs/hooks.txt
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -40,8 -39,9 +39,7 @@@ class LinksUpdate extends SqlDataUpdat
                $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
Simple merge
Simple merge
@@@ -91,11 -91,11 +91,11 @@@ class ApiPurge extends ApiBase 
                                        $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'] = '';
  
@@@ -155,27 -155,9 +155,15 @@@ class ParserOutput extends CacheTime 
                $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>))#';
  
Simple merge