Last modified: 2013-07-10 03:28:39 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T53085, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51085 - Bot cannot create page in the Page: namespace
Bot cannot create page in the Page: namespace
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ProofreadPage (Other open bugs)
master
All All
: High critical (vote)
: ---
Assigned To: Ori Livneh
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-10 00:51 UTC by Philippe Elie
Modified: 2013-07-10 03:28 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Philippe Elie 2013-07-10 00:51:01 UTC
ProofreadPage.body.php:parsePage() call $title->prpIndexPage->getIndexDataForPage(); but getIndexDataForPage(); take a Title as parameter so on:

[error] [client 127.0.0.1] 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.
Comment 1 Ori Livneh 2013-07-10 01:58:58 UTC
Yes; 213 such fatals in the last fourteen hours.
Comment 2 Gerrit Notification Bot 2013-07-10 02:04:56 UTC
Change 72887 had a related patch set uploaded by Ori.livneh:
Pass required Title object to getIndexDataForPage

https://gerrit.wikimedia.org/r/72887
Comment 3 Gerrit Notification Bot 2013-07-10 02:08:15 UTC
Change 72887 merged by jenkins-bot:
Pass required Title object to getIndexDataForPage

https://gerrit.wikimedia.org/r/72887

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links