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

            Bug ID: 68686
           Summary: Add dbname (e.g. "enwiki", "ptwiki") to XML database
                    dump "siteinfo"
           Product: Datasets
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: General/Unknown
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
       Web browser: ---
   Mobile Platform: ---

It would be useful to be able to check the header information on an XML
database dump file to confirm the database of origin.  I'm imagining something
like the dbname that you can get from the API (e.g.
http://en.wikipedia.org/w/api.php?action=sitematrix).   

My current use-case is error checking.  I want to make sure that the XML dump
file being processed by originated from the intended wiki.  Right now, I need
to parse filenames in order to do that and that makes me sad.

I propose adding a field to <siteinfo /> called <dbname /> that would contain
this value.

-- 
You are receiving this mail because:
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