Last modified: 2013-07-30 19:16:59 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 T53633, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51633 - User::getEditCount() often returns a string
User::getEditCount() often returns a string
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.22.0
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-18 20:20 UTC by Juliusz Gonera
Modified: 2013-07-30 19:16 UTC (History)
1 user (show)

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


Attachments

Description Juliusz Gonera 2013-07-18 20:20:54 UTC
The docs comment says it should return an int and that's the most logical type for it to return. For some reason, it returns a string when running on Apache, even though it returns an int when running PHPUnit tests.
Comment 1 Gerrit Notification Bot 2013-07-18 20:21:26 UTC
Change 74512 had a related patch set uploaded by JGonera:
Make User::getEditCount() always return an integer

https://gerrit.wikimedia.org/r/74512
Comment 2 Gerrit Notification Bot 2013-07-19 18:23:23 UTC
Change 74512 merged by jenkins-bot:
Make User::getEditCount() always return an integer

https://gerrit.wikimedia.org/r/74512
Comment 3 db [inactive,noenotif] 2013-07-30 19:16:59 UTC
Status	Merged

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


Navigation
Links