Last modified: 2008-11-22 15:47:10 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 T18421, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16421 - list=logevents leuser= and list=usercontribs ucuser= parameters inconsistent
list=logevents leuser= and list=usercontribs ucuser= parameters inconsistent
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.14.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-11-22 11:18 UTC by Splarka
Modified: 2008-11-22 15:47 UTC (History)
3 users (show)

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


Attachments

Comment 1 Roan Kattouw 2008-11-22 15:47:10 UTC
(In reply to comment #0)
> First: leuser does not allow underscores in place of spaces, but ucuser does,
> can they be made consistent? Preferred is to have _ always an alias for %20.
Fixed in r43864.

> Second: leuser errors out if the user doesn't exist, but ucuser simply returns
> an empty contributions list. I am not sure which is ideal.
That's because the revision table (which usercontribs uses) stores the user ID and the user name (0 and the IP respectively for anons), while the logging table (which logevents uses) only stores the user ID. That means anons can't have log entries (bug 3732) and that you can't search the logging table for users that don't exist, because you need to look up their user ID first.

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


Navigation
Links