User:SPage (WMF)/Duplicating mediawiki.org

We need to prototype and demo the Data and developer hub with a different skin. So set up a labs instance and copy the files.

Need to add interwiki
From Special:WantedPage, I realized interwiki table lacks m, meta, mw, phab, w, wikitech Copied from mw.org's Special:Interwiki to local Special:Interwiki.

Importing
$wgImportSources let me "Import from another wiki" directly from mediawiki.org. By checking "Include all templates", I got a lot of dependent templates

To get additional pages,
 * 1) I visited http://devhub.wmflabs.org/wiki/Special:WantedPages
 * 2) copy the text
 * 3) clean up whitespace, link text.
 * 4) exclude m:, w:, wikitech:, etc. -- these are interwiki prefixes I had not set up
 * 5) paste the list into Special:Export
 * 6) * do include templates, don't include history
 * 7) export as file

Then Special:Import this as "Upload XML data" onto my wiki. Generated a weird title error but imported some stuff.

Images
Most images are on commons. I added, and my wiki knows they come from there with correct links to upload.wikimedia.org, e.g. File:Wikipedia Beta search on Android 4.4.4 2015-02-09.png. Yet, I don't see the images locally. Permission problem?

Roles
The pages on mediawiki.org use roles: Also enable
 * apisandbox, interwiki, parserfunctions, scribunto, translate,
 * cirrussearch, mobilefrontend