Commit graph

2 commits

Author SHA1 Message Date
Brion Vibber
e2a6de127d use self::, not $this-> in static methods, so interwiki userrights actually works again :) 2007-12-27 04:18:22 +00:00
Brion Vibber
c9bcade8e5 Refactor some of the horror that was Special:Userrights...
Split out the remote accessors into a UserRightsProxy object, so the main interface code
doesn't have to worry about it -- it just uses the regular User object interface functions,
without caring that it's got a remote object here.
Should have cleaner behavior with numeric ID accesses as well; it now does a name lookup even for remote ones, and logs with that.
2007-12-27 02:31:58 +00:00