Last modified: 2014-01-03 16:06:40 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 T61428, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59428 - DBQ-162 finding number of interwiki between some wikis
DBQ-162 finding number of interwiki between some wikis
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:06 UTC by Bugzilla Bug Importer (valhallasw)
Modified: 2014-01-03 16:06 UTC (History)
0 users

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


Attachments

Description Bugzilla Bug Importer (valhallasw) 2014-01-03 16:06:36 UTC
This issue was converted from https://jira.toolserver.org/browse/DBQ-162.
Summary: finding number of interwiki between some wikis
Issue type: Task - A task that needs to be done.
Priority: Major
Status: Done
Assignee: Hoo man <hoo@online.de>

-------------------------------------------------------------------------------
From: amir <ab3550@gmail.com>
Date: Mon, 24 Oct 2011 01:44:36
-------------------------------------------------------------------------------

Hi,  
I want a query that tell me number of interwiki between en wiki and de,it,fr,es,ar,he,fa,tr in namespace main and category.  
thank you
Comment 1 Bugzilla Bug Importer (valhallasw) 2014-01-03 16:06:38 UTC
-------------------------------------------------------------------------------
From: Hoo man <hoo@online.de>
Date: Mon, 24 Oct 2011 18:02:15
-------------------------------------------------------------------------------

Please note, that the result contains only links set on enwiki (and not from the other wikis towards enwiki).

SQL:
    
    SELECT /* SLOW_OK */ ll_lang as lang, page_namespace as namespace, COUNT(*) as number FROM langlinks INNER JOIN page on ll_from = page_id WHERE ll_lang IN('de', 'it', 'fr', 'es', 'ar', 'he', 'fa', 'tr') AND page_namespace IN(0,14) GROUP BY ll_lang, page_namespace;

Result:  
http://toolserver.org/~hoo/dbq/dbq-162.txt
Comment 2 Bugzilla Bug Importer (valhallasw) 2014-01-03 16:06:40 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: hoo@online.de, ab3550@gmail.com

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


Navigation
Links