Last modified: 2010-05-15 15:50:56 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 10909 - Strict Standards: Non-static method WatchedItem::fromUserTitle() should not be called statically
Strict Standards: Non-static method WatchedItem::fromUserTitle() should not b...
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
: Low minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-08-13 22:00 UTC by BarkerJr
Modified: 2010-05-15 15:50 UTC (History)
0 users

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


Description BarkerJr 2007-08-13 22:00:55 UTC
PHP: 5.2.3

Enabling "E_ALL | E_STRICT" in php.ini, I get this warning on the top of most pages in the wiki.  The warnings only show up for logged in users.

<b>Strict Standards</b>:  Non-static method WatchedItem::fromUserTitle() should not be called statically, assuming $this from incompatible context in <b>/usr/local/apache2/htdocs/mw/includes/User.php</b> on line <b>1769</b><br />

Also occurs on Linux with Mediawiki 1.9.3 but on line 1685.

There are a number of other warnings with E_STRICT, on other pages (i.e. Special Pages), so the entire wiki should probably be checked.
Comment 1 Rob Church 2007-08-13 22:07:55 UTC
This would have been fixed in r21799.

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