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

--- Comment #3 from Bawolff <bawolff...@gmail.com> 2012-02-04 19:40:58 UTC ---
(In reply to comment #2)
> Hi,
> 
> I would like to take this as my first bug and attempt to fix it. Kindly give
> some more guidelines as to what needs to be done.
> 
> Thanks,
> Aashish

Awesome!

I'm going to assume you already have a trunk copy of MediaWiki downloaded, and
some knowledge of SQL. (If you don't know anything about SQL this might not be
a good choice for a first bug).

The file you would have to modify is includes/specials/SpecialListusers.php 
You would have to modify UserPager::getPageHeader to add some sort of interface
to trigger the filtering, UserPager::__construct to set some flag to indicate
the filtering is in use, and UserPager::getQueryInfo to actually filter via
blocked status. The last part will probably be the hardest part - you'll have
to change the outer join condition to still join on non-"deleted" blocks (at
least when doing this filtering), change the ipb_deleted condition to be ok
with either 0 or null (since you'd sometimes have it joined on non-deleted
blocks after the change) and add some conds for the actual filtering based on
being 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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to