1. Export desired article(s) in XML format usingSpecial:Exports from source wiki.
2. Log in to deployment-bastion. This requires shell access (root?) to betawikis.
3. Go to mediawiki maintenance folder:
/data/scratch/mediawiki/core/maintenance
4. Become root.
5. Import from XML:
mwscript importDump.php --wiki=eswiki /tmp/Wikipedia-TIMESTAMP.xml
Test using --dry-run if needed. It isimportant to have dump/XML in /tmp so that mwscript can access it.
6. RebuildRecentChanges by:
mwscript rebuildrecentchanges.php --wiki=eswiki
1.DB connection error: Can't connect to local MySQL server throughsocket '/var/run/mysqld/mysqld.sock' (2) (localhost)
Solution: Your dump file must be in /tmp