Last modified: 2010-05-15 15:41:05 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 T9305, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 7305 - RecentChange::notifyEdit
RecentChange::notifyEdit
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.7.x
All Linux
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-09-13 05:21 UTC by Dallan Quass
Modified: 2010-05-15 15:41 UTC (History)
0 users

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


Attachments

Description Dallan Quass 2006-09-13 05:21:25 UTC
This seems crazy, but in RecentChange::notifyEdit, the test for ($bot ==
'default') evaluates to true when $bot is passed in as true.  I'm on Php 5.1.1.
 I changed the test to (strcmp($bot,'default')==0) and that fixed the problem. 
I know this sounds *really odd*, but I thought I'd let you know.
Comment 1 Brion Vibber 2006-09-13 15:35:48 UTC
Fixed in r16504, using the === comparator in place of ==.

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


Navigation
Links