From: Brian Wolff Date: Sat, 14 Dec 2013 06:44:09 +0000 (+0000) Subject: Merge "Removed excess title validity check" X-Git-Tag: 1.31.0-rc.0~17638 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=38a47b9fcabd26bbb48273ce74f5a432f3b705f5;p=lhc%2Fweb%2Fwiklou.git Merge "Removed excess title validity check" --- 38a47b9fcabd26bbb48273ce74f5a432f3b705f5 diff --cc includes/job/jobs/RefreshLinksJob.php index f446f642cf,717c0413ea..c94db75a80 --- a/includes/job/jobs/RefreshLinksJob.php +++ b/includes/job/jobs/RefreshLinksJob.php @@@ -59,13 -59,8 +59,8 @@@ class RefreshLinksJob extends Job function run() { global $wgUpdateRowsPerJob; - if ( is_null( $this->title ) ) { - $this->setLastError( "Invalid page title" ); - return false; - } - // Job to update all (or a range of) backlink pages for a page - if ( isset( $this->params['recursive'] ) ) { + if ( !empty( $this->params['recursive'] ) ) { // Carry over information for de-duplication $extraParams = $this->getRootJobParams(); // Avoid slave lag when fetching templates.