https://bugzilla.wikimedia.org/show_bug.cgi?id=35303
Web browser: ---
Bug #: 35303
Summary: DNSBL related block settings broken.
Product: MediaWiki
Version: 1.19
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Blocking
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
The DNSBL related settings are broken.
If you're detected as being blacklisted, the following happens:
$this->mBlockedby = wfMsg( 'sorbs' );
$this->mBlockreason = wfMsg(
'sorbsreason' );
However, the actual methods to see if your blocked look for $this->mBlock being
a real block object. Hence you're not actually blocked.
Not sure what the cleanest solution would be. either change relavent methods of
user to not look for $this->mBlock, or introduce a new FakeBlock class for
cases where the user doesn't have a block in db, but is blocked.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l