Last modified: 2014-01-03 15:38:16 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 T61301, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59301 - DBQ-46 User pages of users who have only edited the User: namespace on en.wiki
DBQ-46 User pages of users who have only edited the User: namespace on en.wiki
Status: RESOLVED FIXED
Product: Tool Labs tools
Classification: Unclassified
Database Queries (Other open bugs)
unspecified
All All
: Unprioritized minor
: ---
Assigned To: Bugzilla Bug Importer (valhallasw)
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-03 15:38 UTC by Bugzilla Bug Importer (valhallasw)
Modified: 2014-01-03 15:38 UTC (History)
0 users

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


Attachments

Description Bugzilla Bug Importer (valhallasw) 2014-01-03 15:38:13 UTC
This issue was converted from https://jira.toolserver.org/browse/DBQ-46.
Summary: User pages of users who have only edited the User: namespace on en.wiki
Issue type: Task - A task that needs to be done.
Priority: Minor
Status: Done
Assignee: (none)

-------------------------------------------------------------------------------
From: MZMcBride <mzmcbride@gmail.com>
Date: Wed, 08 Oct 2008 23:50:45
-------------------------------------------------------------------------------

I would like a list of all user pages on en.wiki where the user has only edited the User: namespace (or perhaps more simply only edited their own user page).

Caveat: usernames are stored with actual spaces while User: pages are stored with underscores instead of spaces. This means you'll likely have to base everything on user IDs unless you can find a way to convert the spaces in usernames to underscores.

Samples to verify data:  
http://en.wikipedia.org/wiki/User:MarisaWalker  
http://en.wikipedia.org/wiki/User:Martin.moensted  
http://en.wikipedia.org/wiki/User:Sloqlaria

Thank you very much!
Comment 1 Bugzilla Bug Importer (valhallasw) 2014-01-03 15:38:14 UTC
-------------------------------------------------------------------------------
From: MZMcBride <mzmcbride@gmail.com>
Date: Fri, 10 Oct 2008 06:57:32
-------------------------------------------------------------------------------

CBM wrote a query that resolves this task:

SELECT CONCAT("# [[User:",user_name,"]]")  
FROM user  
JOIN page  
ON user_name = replace(page_title, '_', ' ') AND page_namespace = 2   
WHERE user_editcount > 0   
AND NOT EXISTS   
(SELECT 1 FROM revision   
JOIN page   
ON rev_page = page_id   
WHERE rev_user_text = user_name AND NOT page_namespace in (2));

The query ran for 81 minutes.

It lists all users where the user has only edited the User: namespace. It does not check whether the user edited their own User: page.
Comment 2 Bugzilla Bug Importer (valhallasw) 2014-01-03 15:38:16 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: (none)
CC list: b@mzmcbride.com

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


Navigation
Links