https://bugzilla.wikimedia.org/show_bug.cgi?id=64273

            Bug ID: 64273
           Summary: mwgrep: Listed wikidb names containing '_' are trimmed
                    too short
           Product: Wikimedia
           Version: wmf-deployment
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Deployment systems
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to