Last modified: 2014-01-03 16:07:27 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 T61436, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59436 - DBQ-168 list of redirect pages with history more that 1 revisions
DBQ-168 list of redirect pages with history more that 1 revisions
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 16:07 UTC by Bugzilla Bug Importer (valhallasw)
Modified: 2014-01-03 16:07 UTC (History)
0 users

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


Attachments

Description Bugzilla Bug Importer (valhallasw) 2014-01-03 16:07:24 UTC
This issue was converted from https://jira.toolserver.org/browse/DBQ-168.
Summary: list of redirect pages with history more that 1 revisions
Issue type: Task - A task that needs to be done.
Priority: Major
Status: Done
Assignee: Hoo man <hoo@online.de>

-------------------------------------------------------------------------------
From: reza <reza.energy@gmail.com>
Date: Fri, 18 Nov 2011 11:23:51
-------------------------------------------------------------------------------

Hi,  
Would you please give me a list of all pages that they are redirect but their history has more that 1 revisions ?  
for ns:1 ,wiki:en , number:all of pages.  
please also give also the target page name.  
i want this for merging histories.
Comment 1 Bugzilla Bug Importer (valhallasw) 2014-01-03 16:07:26 UTC
-------------------------------------------------------------------------------
From: Hoo man <hoo@online.de>
Date: Sun, 20 Nov 2011 22:15:34
-------------------------------------------------------------------------------

Have fun with it... the result is quite big.

SQL:
    
    SELECT page_title, rd_namespace, rd_title, COUNT(*) as edits FROM revision INNER JOIN page ON rev_page = page_id INNER JOIN redirect ON rev_page = rd_from WHERE page_namespace = 0 AND page_is_redirect = 1 GROUP BY page_title HAVING COUNT(*) > 1;

Result:  
http://toolserver.org/~hoo/dbq/dbq-168.txt
Comment 2 Bugzilla Bug Importer (valhallasw) 2014-01-03 16:07:27 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: hoo@online.de
CC list: reza.energy@gmail.com, hoo@online.de

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


Navigation
Links