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

--- Comment #1 from Bugzilla Bug Importer (valhallasw) 
<wmf.bugconver...@gmail.com> ---
-------------------------------------------------------------------------------
From: Hoo man <h...@online.de>
Date: Sat, 26 Mar 2011 18:58:51
-------------------------------------------------------------------------------

SQL:

    SELECT DATE_FORMAT(log_timestamp, '%y-%m-%d-%h-%i-%s') as time, user_name
as meta_user, REPLACE(log_title, '@fawiki', '') as fa_user, log_comment as
comment, log_params as tmp FROM logging INNER JOIN user ON log_user = user_id
WHERE log_type = 'rights' AND log_title LIKE '%@fawiki';

(afterwards I had to split the column tmp into two new columns because
mediawiki stores both the new and the old flags in log_params ![][1] )  
Result:  
http://toolserver.org/~hoo/dbq/dbq-132.txt

   [1]: https://jira.toolserver.org/images/icons/emoticons/wink.gif

-- 
You are receiving this mail because:
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