Last modified: 2014-01-03 15:22:09 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 T61257, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59257 - DBQ-4 All the links in the main namespace
DBQ-4 All the links in the main namespace
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:22 UTC by Bugzilla Bug Importer (valhallasw)
Modified: 2014-01-03 15:22 UTC (History)
0 users

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


Attachments

Description Bugzilla Bug Importer (valhallasw) 2014-01-03 15:22:03 UTC
This issue was converted from https://jira.toolserver.org/browse/DBQ-4.
Summary: All the links in the main namespace
Issue type: Task - A task that needs to be done.
Priority: Minor
Status: Done
Assignee: (none)

-------------------------------------------------------------------------------
From: brian mingus <reflection@gmail.com>
Date: Tue, 04 Dec 2007 21:36:25
-------------------------------------------------------------------------------

This query will output the IDs of all the articles in the main namespace, followed by all the articles each article links to, for easy computation of PageRank.

SELECT pl_from, GROUP_CONCAT(DISTINCT page_id) FROM pagelinks INNER JOIN page ON pagelinks.pl_title = page.page_title WHERE pl_namespace = 0 AND page_namespace = 0 GROUP BY (pl_from) INTO OUTFILE 'namespace_0.links'
Comment 1 Bugzilla Bug Importer (valhallasw) 2014-01-03 15:22:05 UTC
-------------------------------------------------------------------------------
From: Pietrodn <powerpdn@gmail.com>
Date: Sat, 05 Jan 2008 18:13:36
-------------------------------------------------------------------------------

In which wiki? ![][1]

   [1]: https://jira.toolserver.org/images/icons/emoticons/smile.gif
Comment 2 Bugzilla Bug Importer (valhallasw) 2014-01-03 15:22:06 UTC
-------------------------------------------------------------------------------
From: Daniel Kinzler <daniel@brightbyte.de>
Date: Sun, 06 Jan 2008 21:56:47
-------------------------------------------------------------------------------

note that only root can select INTO OUTFILE
Comment 3 Bugzilla Bug Importer (valhallasw) 2014-01-03 15:22:08 UTC
-------------------------------------------------------------------------------
From: brian mingus <reflection@gmail.com>
Date: Sun, 06 Jan 2008 22:04:09
-------------------------------------------------------------------------------

I managed to run this query on my mac mini. Cheers ![][1]

   [1]: https://jira.toolserver.org/images/icons/emoticons/smile.gif
Comment 4 Bugzilla Bug Importer (valhallasw) 2014-01-03 15:22:09 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: reflection@gmail.com, daniel.kinzler@wikimedia.de, powerpdn@gmail.com

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


Navigation
Links