aboutsummaryrefslogtreecommitdiffstats
path: root/includes/UserRightsProxy.php
Commit message (Collapse)AuthorAgeFilesLines
* Add, update, tweak documentationSam Reed2011-10-261-2/+15
| | | | | | | | | Fix document comment blocks Tweak some returns Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/100778
* Assignment in loop conditions suckSam Reed2010-10-131-1/+1
| | | | | | | | | while ( $row = $dbw->fetchObject( $res ) ) { to foreach ( $res as $row ) in includes Add some braces Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/74745
* Hack up UserRightsProxy to support setting preferences of remote users, ↵Roan Kattouw2010-08-071-9/+37
| | | | | | | needed for a feature in PrefSwitch I'm about to commit. The way this hacks around UserRightsProxy's 'helpful' behavior of refusing to work with wikis not in $wgLoclDatabases is kinda ugly (I'm open to alternative suggestions), but then this entire class is an ugly hack and should be replaced by something more sane (even brion, its author, agrees with this :P) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/70632
* wfForeignMemcKey() just exists, we don't have to keep around crazy back ↵Roan Kattouw2010-08-061-5/+1
| | | | | | | compat for that Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/70577
* Removal of unused globalsSam Reed2010-07-241-1/+1
| | | | | | | Removal of one setting of a variable to '', then not using further Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/69839
* document a bitAlexandre Emsenhuber2010-01-121-9/+62
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/60988
* Missing commit for r56798 Aaron Schulz2009-09-231-0/+4
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/56801
* Fixed Doxygen warningsAlexandre Emsenhuber2008-06-021-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/35741
* * remove end of line whitespaceSiebrand Mazeland2008-04-141-14/+12
| | | | | | | | * remove empty lines at end of file * remove "?>" where still present Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/33276
* * Introduced LBFactory -- an abstract class for configuring database load ↵Tim Starling2008-03-301-15/+2
| | | | | | | | | | | | | | | | | | | balancers and connecting to foreign DBs. * Wrote two concrete implementations. LBFactory_Simple is for general installations. LBFactory_Multi will replace the runtime configuration used on Wikimedia and allow load-balanced connections to any DB. * Ported Special:Userrights, CentralAuth and OAI audit to the LBFactory system. * Added ForeignDBViaLBRepo, a file repository which uses LBFactory. * Removed $wgLoadBalancer and $wgAlternateMaster * Improved the query group concept to allow failover and lag control * Improved getReaderIndex(), it will now try all servers before waiting, instead of waiting after each. * Removed the $fail parameter to getConnection(), obsolete. * Removed the useless force() function. * Abstracted the replication position interface to allow for future non-MySQL support. * Rearranged Database.php. Added a few debugging features. * Removed ancient benet-specific hack from waitForSlave.php Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/32578
* Let it be public, for CrosswikiBlock extensionVictor Vasiliev2008-02-231-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/31220
* use self::, not $this-> in static methods, so interwiki userrights actually ↵Brion Vibber2007-12-271-2/+2
| | | | | | | works again :) Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/28880
* Refactor some of the horror that was Special:Userrights...Brion Vibber2007-12-271-0/+161
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. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/28879