@@ -46,10 +46,10 @@ discard block |
||
46 | 46 | * @param Title $title |
47 | 47 | * @param array $params Job parameters |
48 | 48 | */ |
49 | - public function __construct( Title $title, array $params ) { |
|
50 | - parent::__construct( 'pageParse', $title, $params ); |
|
49 | + public function __construct(Title $title, array $params) { |
|
50 | + parent::__construct('pageParse', $title, $params); |
|
51 | 51 | |
52 | - $this->mParserOptions = isset( $params[ 'parseroptions' ] ) ? $params[ 'parseroptions' ] : new ParserOptions(); |
|
52 | + $this->mParserOptions = isset($params['parseroptions']) ? $params['parseroptions'] : new ParserOptions(); |
|
53 | 53 | |
54 | 54 | // this does NOT protect against recursion, it only discards duplicate |
55 | 55 | // calls to {{#purge}} on the same page |
@@ -64,10 +64,10 @@ discard block |
||
64 | 64 | |
65 | 65 | $title = $this->getTitle(); |
66 | 66 | |
67 | - if ( $title->isContentPage() && $title->exists() ) { |
|
67 | + if ($title->isContentPage() && $title->exists()) { |
|
68 | 68 | |
69 | - $wikiPage = \WikiPage::factory( $title ); |
|
70 | - $pool = new PoolWorkArticleView( $wikiPage, $this->mParserOptions, $wikiPage->getLatest(), false ); |
|
69 | + $wikiPage = \WikiPage::factory($title); |
|
70 | + $pool = new PoolWorkArticleView($wikiPage, $this->mParserOptions, $wikiPage->getLatest(), false); |
|
71 | 71 | $pool->execute(); |
72 | 72 | } |
73 | 73 |