(bug 31739) Made Block code support ipb_by = 0 convention with for foreign users...
authorAaron Schulz <aaron@users.mediawiki.org>
Tue, 1 Nov 2011 00:11:53 +0000 (00:11 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Tue, 1 Nov 2011 00:11:53 +0000 (00:11 +0000)
commit7916d730ae71e08ec0858f5c4cf37e8e23b1b956
treead4de6a3329e1e925b21eff4655a338fe7689138
parentc7478c8c4942de2d01bb29a24ab00ee5d7065d69
(bug 31739) Made Block code support ipb_by = 0 convention with for foreign users again, as it did pre 1.18. The byText param has been restored in the Block() constructor as CentralAuth still uses it. Some callers have been updated to reflect the fact that getBlocker() may be a local User or a string username.

Ideally, we might have a ForeignUser class and a generic User interface...but this will do for now.
includes/Block.php
includes/Exception.php