Last modified: 2014-04-23 12:13:57 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 T66273, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64273 - mwgrep: Listed wikidb names containing '_' are trimmed too short
mwgrep: Listed wikidb names containing '_' are trimmed too short
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Deployment systems (Other open bugs)
wmf-deployment
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-23 05:12 UTC by Krinkle
Modified: 2014-04-23 12:13 UTC (History)
5 users (show)

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


Attachments

Description Krinkle 2014-04-23 05:12:53 UTC
Code:

 for hit in result['hits']:
    db = hit['_index'].split('_', 1)[0]
    title = hit['_source']['title']
    print('{:<20}{}'.format(db, title))

Outputs

wg     Common.js
brwiki Common.js

That wg should be wg_enwiki. Full index names:

 wg_enwiki_general_1395289813Common.js
 brwiki_general_firstCommon.js
Comment 1 Gerrit Notification Bot 2014-04-23 06:28:00 UTC
Change 129105 had a related patch set uploaded by Ori.livneh:
mwgrep: account for db names with underscores

https://gerrit.wikimedia.org/r/129105
Comment 2 Gerrit Notification Bot 2014-04-23 12:10:35 UTC
Change 129105 merged by Ori.livneh:
mwgrep: account for db names with underscores

https://gerrit.wikimedia.org/r/129105

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


Navigation
Links