https://bugzilla.wikimedia.org/show_bug.cgi?id=33101

--- Comment #2 from Brad Jorsch <[email protected]> 2011-12-14 
21:41:39 UTC ---
Created attachment 9703
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=9703
Don't try to load blocks for an invalid username

It appears the problem will occur on any non-redlinked user or user talk page
for an invalid username. Names like "209.75.42.xxx" are invalid because they
were used by the usemod software to "cloak" IP addresses, but any other case
where you can create the user or user talk page for an invalid username will do
it.

The problem lies in Block, in that it will try to load blocks for what it
already knows is an invalid username, and then complains when it finds that it
has an invalid username. It was broken in the big rewrite in r84475.

I've attached a patch that quite simply just makes it return "no blocks" for an
invalid username.

-- 
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

Reply via email to