Hello Yury, Thanks for your help here. Your select query gives me the name of the title of the template but is there a way to do an sql query (on the command line) so that we can actually get the whole construct of the template itself?
thanks again, Chris On Tue, Oct 16, 2012 at 4:39 AM, Yury Katkov <[email protected]> wrote: > 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 > _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
