Last modified: 2013-06-04 11:25:35 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 T38176, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36176 - dump should include tables.sql
dump should include tables.sql
Status: RESOLVED WONTFIX
Product: Datasets
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Ariel T. Glenn
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-23 14:58 UTC by Christopher Sahnwaldt
Modified: 2013-06-04 11:25 UTC (History)
4 users (show)

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


Attachments

Description Christopher Sahnwaldt 2012-04-23 14:58:18 UTC
The current table format is included in the different SQL dump files, but for some uses it's important to have all the table definitions in one file. Such a file exists: it's maintenance/tables.sql in git (formerly in SVN), but it's not easy to figure out which revision of tables.sql must be used for a particular dump. It would be nice if (a link to) the appropriate version of tables.sql was available on the dump page (along with the links to the SQL dump files).
Comment 1 Beau 2012-04-23 15:01:19 UTC
How do you make sql dumps?
Comment 2 Hydriz Scholz 2012-04-23 15:02:50 UTC
A suggestion might be a report about what the current revision of MediaWiki the
wiki is running on during the dumping of the wiki database, and output it in
the same dump page. Not sure if this is possible entirely though (especially
enwiki that takes very long, and there might be code pushed to the live site
meanwhile).
Comment 3 Ariel T. Glenn 2012-06-20 10:33:19 UTC
The pages-articles (and meta-current and meta-history) files, as well as the stub file, all contain in the MW version in the site information header:

    <generator>MediaWiki 1.20wmf4</generator>

With regular branches and deployments of code in production, I would expect that we would not deploy schema changes mid-branch.
Comment 4 Ariel T. Glenn 2013-06-04 11:25:35 UTC
Sooner or later the en wp dumps will wind up running during a deployment that pushes out a new schema, and so some of the tables will be dumped with one schema and some with another.  In this case the dump files themselves are their own best documentation.  I'm going to wontfix this (feel free to repoen if you have a compelling solution).

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


Navigation
Links