Last modified: 2008-04-06 17:32:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 12202 - PHP Strict Standards issues
PHP Strict Standards issues
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.12.x
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
Blocks: code_quality
  Show dependency treegraph
 
Reported: 2007-12-04 23:37 UTC by Siebrand Mazeland
Modified: 2008-04-06 17:32 UTC (History)
3 users (show)

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


Attachments
patch for includes/SpecialNewpages.php (502 bytes, patch)
2008-02-02 17:34 UTC, Alexandre Emsenhuber [IAlex]
Details

Description Siebrand Mazeland 2007-12-04 23:37:00 UTC
* PHP Strict Standards:  Declaration of BitmapHandler::formatMetadata() should be compatible with that of MediaHandler::formatMetadata() in /var/www/w/includes/media/Bitmap.php on line 305
* PHP Strict Standards:  Declaration of ImageHandler::getDimensionsString() should be compatible with that of MediaHandler::getDimensionsString() in /var/www/w/includes/media/Generic.php on line 409
* PHP Strict Standards:  Declaration of LocalFile::delete() should be compatible with that of File::delete() in /var/www/w/includes/filerepo/LocalFile.php on line 27
* PHP Strict Standards:  Declaration of LocalFile::purgeCache() should be compatible with that of File::purgeCache() in /var/www/w/includes/filerepo/LocalFile.php on line 27
* PHP Strict Standards:  Declaration of Image::newFromTitle() should be compatible with that of LocalFile::newFromTitle() in /var/www/w/includes/filerepo/LocalFile.php on line 1037

Should probably be fixed sometime.
Comment 1 Siebrand Mazeland 2007-12-13 12:18:44 UTC
Two more:

PHP Strict Standards:  Declaration of LanguageKk::convertGrammar() should be compatible with that of LanguageKk_cyrl::convertGrammar() in /var/www/w/languages/classes/LanguageKk.php on line 317

PHP Strict Standards:  Declaration of LanguageKk_cyrl::convertGrammar() should be compatible with that of Language::convertGrammar() in /var/www/w/languages/classes/LanguageKk_cyrl.php on line 732
Comment 2 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-12-18 18:21:43 UTC
Yes, this always annoys me.
Comment 3 Siebrand Mazeland 2008-01-15 08:05:33 UTC
Add one (obtained from ialex): Non-static method ExternalStore::fetchFromURL() should not be called statically in /Library/WebServer/Documents/phase3/includes/Revision.php on line 586

The 2 notices for LanguageKk have been resolved.
Comment 4 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-01-15 15:03:54 UTC
Fixed the ExternalStore one in r29790, and four of the five remaining in r29791.  The Image::newFromTitle() one doesn't appear to be so easily fixable.
Comment 5 Siebrand Mazeland 2008-02-02 17:13:09 UTC
Currently open:
* PHP Strict Standards:  Declaration of NewPagesPage::preprocessResults() should be compatible with that of QueryPage::preprocessResults() in /var/www/w/includes/SpecialNewpages.php on line 20
* PHP Strict Standards:  Declaration of Image::newFromTitle() should be compatible with that of LocalFile::newFromTitle() in /var/www/w/includes/filerepo/LocalFile.php on line 1090
Comment 6 Alexandre Emsenhuber [IAlex] 2008-02-02 17:34:20 UTC
Created attachment 4609 [details]
patch for includes/SpecialNewpages.php

patch that resolve the Strict Standart issue in Special:Newpages
Comment 7 Siebrand Mazeland 2008-02-08 21:22:53 UTC
PHP Strict Standards:  Declaration of SpecialMostlinkedtemplates::preprocessResults() should be compatible with that of QueryPage::preprocessResults() in /var/www/w/includes/SpecialMostlinkedtemplates.php on line 10
Comment 8 Siebrand Mazeland 2008-02-10 10:10:39 UTC
2 issues resolved in r30781, and r30782. 

Currently open:
* PHP Strict Standards:  Declaration of Image::newFromTitle() should be compatible with that of LocalFile::newFromTitle() in /var/www/w/includes/filerepo/LocalFile.php on line 1090
Comment 9 Siebrand Mazeland 2008-03-24 10:13:36 UTC
Update:
* PHP Strict Standards:  Declaration of OldLocalFile::newFromTitle() should be compatible with that of LocalFile::newFromTitle() in /var/www/w/includes/filerepo/OldLocalFile.php on line 259
* PHP Strict Standards:  Declaration of Image::newFromTitle() should be compatible with that of LocalFile::newFromTitle() in /var/www/w/includes/filerepo/LocalFile.php on line 1096
Comment 10 Niklas Laxström 2008-04-06 17:32:19 UTC
Last two fixed by ialex in r32810.

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


Navigation
Links