Refactor some of the horror that was Special:Userrights...
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 27 Dec 2007 02:31:58 +0000 (02:31 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 27 Dec 2007 02:31:58 +0000 (02:31 +0000)
commitc9bcade8e5a76a64c6aaea55b837038c03ccffe7
tree7531e337ce427a71698cf2fa7c5521265c8a932a
parent30ed8acfd9c079b3e87bbd9f3224893417693b70
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.
includes/AutoLoader.php
includes/SpecialUserrights.php
includes/UserRightsProxy.php [new file with mode: 0644]