Thank you to those who responded,
Unfortunately Wikipedia seems to only allow for the exporting of Article
pages, rather than either edit pages or Template pages. So for example, if
you go to Special pages: Export pages on Wikipedia, and try and type in,
just as an example mentioned earlier:
"Template:Navbox/core", "Template:Navbox/core&action=edit" or the
full URL,
"http://en.wikipedia.org/w/index.php?title=Template:Navbox/core&action=edit"
You will be returned with nothing. The Export page simply refreshes.
Unfortunately it's the code from the Templates that I want, not the actual
article. It can be done manually, it's just extraordinarily time consuming
(as you must create, copy and paste each part of each template by hand).
Is it possible to request Dumps of just certain parts? I.e. a dump of the
Template namespace rather than the entire site?
Thank you again,
Christopher Merwin
"A philosopheme is a demonstrative inference: an epichireme is a dialectical
inference: a sophism is a contentious inference: an aporeme is an inference
that reasons dialectically to a contradiction."
-Aristotle, Topics, Book VIII, 11.
-----Original Message-----
From: DanTMan [mailto:dan_the_man@telus.net]
Sent: Sunday, November 18, 2007 01:35 PM
To: christopher.merwin(a)gmail.com; MediaWiki announcements and site admin
list
Subject: Re: [Mediawiki-l] Importing Templates
Why not just open up the edit page for the template. A list of pages
included into that page is listed at the bottom. Just use that for the
export.
~Daniel Friesen(Dantman) of:
-The Gaiapedia (
http://gaia.wikia.com)
-Wikia ACG on
Wikia.com (
http://wikia.com/wiki/Wikia_ACG)
-and
Wiki-Tools.com (
http://wiki-tools.com)
Christopher Merwin wrote:
Hello to the List,
I am wondering if anyone knows of a way or has experience with "batch"
importing templates (like from Wikipedia). I have used the import and
export Special Pages with standardized pages, but unfortunately I haven't
been able to do it with Templates. There are a number of Templates that
require other Templates to properly run and it is extremely time consuming
to have to create, cut and paste, the code one page at a time. For
example:
if I want to copy the Template:Navbox/core, there are
a number of other
associated Templates that I must also make and copy in order for the
Template to work properly.
Does anyone know of a way to copy or import multiple Templates at once?
Thank you very much in advance for your thoughts and help.
Best wishes,
Christopher Merwin
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l