php maintenance/dumpBackup.php -pagelist=<file> where file is the list of pages you want to export.
Go get all the templates you can either open Special:All pages and copy the pagenames in the namespace Template, or get all the names of the Template pages via SQL query from the database: SELECT page_title FROM page WHERE page_namespace=10; ----- Yury Katkov, WikiVote On Mon, Oct 15, 2012 at 10:20 PM, Chris <[email protected]> wrote: > Does anyone know how to export only templates on the command line ? > > thanks, > Chris > _______________________________________________ > MediaWiki-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
