Last modified: 2010-05-15 15:37:40 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 T6906, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4906 - Bugs in source code revealed by PHP compiler
Bugs in source code revealed by PHP compiler
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.5.x
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-02-07 13:33 UTC by Tomas Matousek
Modified: 2010-05-15 15:37 UTC (History)
0 users

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


Attachments

Description Tomas Matousek 2006-02-07 13:33:46 UTC
Our PHP compiler - Phalanger (http://php-compiler.net) found the following bugs in MediaWiki source 
code during compilation. The first four of them are bugs also in PHP the others are warnings 
reported by Phalanger only as the code is considered suspicious.

C:\Web\MediaWiki\maintenance\splitLanguageFiles.inc(1174,1): error: parse error, unexpected ';', 
expecting ')'
C:\Web\MediaWiki\maintenance\storage\resolveStubs.php(87,3): error: Cannot break/continue 1 level(s)
C:\Web\MediaWiki\maintenance\updateSearchIndex.inc(33,3): warning: User function 'lockSearchindex' 
called with 0 parameters but declared with 1 mandatory parameters
C:\Web\MediaWiki\maintenance\updateSearchIndex.inc(94,2): warning: User function 'lockSearchindex' 
called with 0 parameters but declared with 1 mandatory parameters
C:\Web\MediaWiki\includes\Article.php(1325,64): warning: Mandatory parametr 'me2' declared behind 
optional parameter
C:\Web\MediaWiki\includes\Linker.php(469,48): warning: Mandatory parametr 'alt' declared behind 
optional parameter
C:\Web\MediaWiki\includes\SpecialAllpages.php(11,40): warning: Mandatory parametr 'specialPage' 
declared behind optional parameter
C:\Web\MediaWiki\includes\SpecialAllpages.php(203,48): warning: Mandatory parametr 'from' declared 
behind optional parameter
Comment 1 Antoine "hashar" Musso (WMF) 2006-04-28 17:42:20 UTC
Can you please rerun it using lastest trunk (and give the revision used). I
think some
errors got fixed.

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


Navigation
Links