Page MenuHomePhabricator

Add page and file import support to Vagrant
Closed, DuplicatePublic

Description

Migrated from: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/634

Narrative

As a developer, I can set up test wikis easily, without having to import a hundred templates / upload test images / etc. by hand

Acceptance Criteria

  • Add a puppet command to import an XML file created with Special:Export when a role is enabled (you can use importDump.php )
  • it should also import the images mentioned in the XML file ( importImages.php )
  • come up with a convention of were these files should be stored and where their purpose can be described (multiple roles might want to share the same dump; one role might want to import multiple dumps), whether they should be gzipped etc. Create an example that others can copy (e.g. the template shims for CommonsMetadata)
  • There is no great way to check if the file has been imported already, esp. when the role gets disabled/reenabled; skipping existing pages, or just overwriting them, is acceptable.

Related Bugs

Related Stories

Related Changesets

Event Timeline

MingleTerminator raised the priority of this task from to Medium.Dec 8 2014, 5:59 PM
MingleTerminator added a project: Multimedia.
In mingle on 2014-05-23 at 05:55:33, @Tgr wrote:

From https://www.mediawiki.org/wiki/Typography_refresh/Retrospective , sounds like a nice use case:

Nick put this together in November [officewiki listing of browsertesting tools]; he suggested that the design team might consider putting together (over the long-term) a long list of "100+ examples pages, that we internally use as test-beds, to highlight the Extremes, the Edge Cases, and the Exemplars: From English FAs and stubs and docs, to Chinese Wikivoyage Discussion Boards, to Wikidata, to Wikisource, to ...."

In mingle on 2014-10-15 at 15:39:10, @Gilles wrote:

The E2E page is now imported for the MMV role, the rest of the templates needs by UW are blocked on two bugs.