https://bugzilla.wikimedia.org/show_bug.cgi?id=3341
--- Comment #15 from Bawolff <[email protected]> 2010-03-24 02:14:54 UTC --- Created an attachment (id=7238) --> (https://bugzilla.wikimedia.org/attachment.cgi?id=7238) patch to filter by user for special:listfiles special:newimages Here is a patch to add a user parameter to [[special:newimages]] and [[special:listfiles]]. This is similar to what was reverted in r12376 for being too inefficient. However I believe this patch is generally efficient as there is an index for img_user_text. (However if $wgMiserMode=false , special:listfiles uses a different query that also outputs the number of revisions the file has had. This patch might make that query worse than it currently is, not sure). Bear in mind I'm not that familiar with how sql scales, so take anything i say about efficiency with lots of salt. Last of all, it seems as if these pages should accept the username as a specal:blah/username parameter. This patch does not do that as currently thats used for limiting the number of results. Comments appreciated. -- 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
