Page MenuHomePhabricator

Bot cannot create page in the Page: namespace
Closed, ResolvedPublic


ProofreadPage.body.php:parsePage() call $title->prpIndexPage->getIndexDataForPage(); but getIndexDataForPage(); take a Title as parameter so on:

[error] [client] PHP Catchable fatal error: Argument 1 passed to ProofreadIndexPage::getIndexDataForPage() must be an instance of Title, none given, called in .../extensions/ProofreadPage/ProofreadPage.body.php on line 911 and defined in .../extensions/ProofreadPage/includes/index/ProofreadIndexPage.php on line 381. Passing $title to ProofreadIndexPage::getIndexDataForPage() fix the trouble on my local wiki. This fragment of code is called only if the posted text doesn't contains a <noinclude><pagequality ...</noinclude>, only bot does that.

Version: master
Severity: critical



Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:07 AM
bzimport added a project: ProofreadPage.
bzimport set Reference to bz51085.

Yes; 213 such fatals in the last fourteen hours.

Change 72887 had a related patch set uploaded by Ori.livneh:
Pass required Title object to getIndexDataForPage

Change 72887 merged by jenkins-bot:
Pass required Title object to getIndexDataForPage