[Mediawiki-l] collect contributions of multiple users

Jim Hu jimhu at tamu.edu
Wed Sep 10 17:49:12 UTC 2008


On Sep 10, 2008, at 11:27 AM, Peter Müßig-Trapp wrote:

> Hi Jim,
>
> you have done this by coding a special page in php?
>
> 2008/9/10 Jim Hu <jimhu at tamu.edu>:
>> It's not hard to write a special page to do this.  We made something
>> to distinguish contributions by our staff (vast majority) from those
>> made by our community users (very very few, alas):
>>
>>       http://ecoliwiki.net/colipedia/index.php/Special:User_contribution_statistics
>>
>> That page is a kludge where I've hard-coded in the userids to exclude
>> and committed various other coding sins.  But a cleaner version would
>> be pretty easy to write... and I probably should work on a cleaner
>> version.  It could be useful, for example, for instructors to monitor
>> the changes made by students in a class.  But I'm fuzzy on what it
>
> exactly!
> So how could this look like?
> I'm thinking about a functionality, e. g. if you use the following in
> a wiki page:
>
> {{Special:RecentChangesUser/User1/User2/User3/...}}
>
> or
>
> <DPL>
> user=User1
> user=User2
> user=User3
> user=...
> ordermethod=lastedit
> order=descending
> count=50
> </DPL>
>
> this should result in a page listening all the last edited pages from
> the given Users e. g. in the following form
>
> page1 User2 date youngest
> page2 User2 date younger
> page3 User1 date young

I think this could be coded pretty quickly.  50 results total or 50  
for each?  The latter is going to run more slowly, I think.

Jim

>
> ...
>
> Kind regards, Peter
<snip>

=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054





More information about the MediaWiki-l mailing list