Last modified: 2014-01-03 15:56:32 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T61362, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59362 - DBQ-111 Talkpages edited with only 1 author (excluding bots from count)
DBQ-111 Talkpages edited with only 1 author (excluding bots from count)
Status: RESOLVED FIXED
Product: Tool Labs tools
Classification: Unclassified
Database Queries (Other open bugs)
unspecified
All All
: Unprioritized major
: ---
Assigned To: Bugzilla Bug Importer (valhallasw)
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-03 15:56 UTC by Bugzilla Bug Importer (valhallasw)
Modified: 2014-01-03 15:56 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Bugzilla Bug Importer (valhallasw) 2014-01-03 15:56:21 UTC
This issue was converted from https://jira.toolserver.org/browse/DBQ-111.
Summary: Talkpages edited with only 1 author (excluding bots from count)
Issue type: Task - A task that needs to be done.
Priority: Major
Status: Done
Assignee: Liangent <liangent@gmail.com>

-------------------------------------------------------------------------------
From: Krinkle <krinklemail@gmail.com>
Date: Fri, 17 Dec 2010 17:59:48
-------------------------------------------------------------------------------

for some statistics:

A list of all talkpages created or created with edits afterwards by a single author.  
Accounts with a botflag should not be included, so talkpages created and/or edited solely by bots should not be in the list.  
But talkpages created and/or edited by 1 person and (one or more) bots-accounts should indeed be included in the list.  
Any talkpage edited by multiple non-bots ofcourse not.

For the current project, this is only for nl.wikipedia.org (nlwiki_p)

Please include the query as well so it can easlily be re-ran in the future for this or another wiki.
Comment 1 Bugzilla Bug Importer (valhallasw) 2014-01-03 15:56:26 UTC
-------------------------------------------------------------------------------
From: Liangent <liangent@gmail.com>
Date: Tue, 21 Dec 2010 07:08:11
-------------------------------------------------------------------------------

Does this include talk pages which are redirects? There're lots of redirects in results.
Comment 2 Bugzilla Bug Importer (valhallasw) 2014-01-03 15:56:27 UTC
-------------------------------------------------------------------------------
From: Liangent <liangent@gmail.com>
Date: Tue, 21 Dec 2010 07:18:20
-------------------------------------------------------------------------------

See http://toolserver.org/~liangent/-/dbq/111/with_redirects.txt for results with redirects.

SQL is:

select page_title from page where page_namespace=1 and (select count(distinct rev_user_text) from revision where rev_page=page_id and not exists (select * from user_groups where ug_user=rev_user and ug_group='bot'))=1;

Note that the first line is the column name and no namespace prefix is used in the file.
Comment 3 Bugzilla Bug Importer (valhallasw) 2014-01-03 15:56:29 UTC
-------------------------------------------------------------------------------
From: Liangent <liangent@gmail.com>
Date: Tue, 21 Dec 2010 07:20:13
-------------------------------------------------------------------------------

Also http://toolserver.org/~liangent/-/dbq/111/without_redirects.txt

SQL:

select page_title from page where page_is_redirect=0 and page_namespace=1 and (select count(distinct rev_user_text) from revision where rev_page=page_id and not exists (select * from user_groups where ug_user=rev_user and ug_group='bot'))=1;
Comment 4 Bugzilla Bug Importer (valhallasw) 2014-01-03 15:56:31 UTC
-------------------------------------------------------------------------------
From: Krinkle <krinklemail@gmail.com>
Date: Mon, 27 Dec 2010 04:15:16
-------------------------------------------------------------------------------

Thanks a lot for both queries. This has been a great help in identifying what so far was a mystery.  
I'll rerun this query on my account periodically on request for the wikis this tool is for.
Comment 5 Bugzilla Bug Importer (valhallasw) 2014-01-03 15:56:32 UTC
This bug was imported as RESOLVED. The original assignee has therefore not been
set, and the original reporters/responders have not been added as CC, to
prevent bugspam.

If you re-open this bug, please consider adding these people to the CC list:
Original assignee: liangent@gmail.com
CC list: liangent@gmail.com, krinklemail@gmail.com

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links