Gender is already needed in addResultToCache
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Thu, 8 Dec 2011 08:51:21 +0000 (08:51 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Thu, 8 Dec 2011 08:51:21 +0000 (08:51 +0000)
includes/cache/LinkBatch.php

index 9b19ef1..17e8739 100644 (file)
@@ -104,8 +104,8 @@ class LinkBatch {
        protected function executeInto( &$cache ) {
                wfProfileIn( __METHOD__ );
                $res = $this->doQuery();
-               $ids = $this->addResultToCache( $cache, $res );
                $this->doGenderQuery();
+               $ids = $this->addResultToCache( $cache, $res );
                wfProfileOut( __METHOD__ );
                return $ids;
        }