Last modified: 2013-12-17 10:25:51 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 T58669, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56669 - ProofreadPage spits out warning when rendering an unknown page on the command line
ProofreadPage spits out warning when rendering an unknown page on the command...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ProofreadPage (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Tpt
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-06 13:26 UTC by Nik Everett
Modified: 2013-12-17 10:25 UTC (History)
4 users (show)

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


Attachments

Description Nik Everett 2013-11-06 13:26:21 UTC
I'm not sure which page this is and I'm not sure if it is caused by rendering the page on the command line but we found it by indexing frwikisource for Cirrus which uses the parser from the command line.  Anyway, the error message is this:

Warning: Invalid argument supplied for foreach() in /usr/local/apache/common-local/php-1.23wmf2/extensions/ProofreadPage/ProofreadPage.body.php on line 407
Comment 1 Tpt 2013-11-07 11:31:29 UTC
$params in list( $pagenum, $links, $mode ) = self::pageNumber( $num, $params ); (ProofreadPage.body.php line 687 has no reason to don't be null. I believe it's the cause of the error.
Comment 2 Gerrit Notification Bot 2013-11-08 10:01:46 UTC
Change 94331 had a related patch set uploaded by Tpt:
(bug 56669) fix failure when $links = array() and $params = null

https://gerrit.wikimedia.org/r/94331
Comment 3 Gerrit Notification Bot 2013-11-08 16:49:13 UTC
Change 94331 merged by jenkins-bot:
(bug 56669) fix failure when $links = array() and $params = null

https://gerrit.wikimedia.org/r/94331
Comment 4 Andre Klapper 2013-12-17 10:25:51 UTC
Patch was merged; I assume this is FIXED. If not, please reopen.

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


Navigation
Links