If I want to "just" use a template from Wikipedia... How can I do that? For a start I just simply want to use the Motd template...
Any suggestions?
Grietinus
Interwiki linking is the simplest way. Check it out. frosty On Mon, 2008-03-03 at 15:11 +0100, Grietinus Koops wrote:
If I want to "just" use a template from Wikipedia... How can I do that? For a start I just simply want to use the Motd template...
Any suggestions?
Grietinus _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Thanks Frosty, I tried that but each time I used {{Wikipedia:Motd}} only the text {{Wikipedia:Motd}} showed up.
2008/3/4, John W Foster johnwfoster@verizon.net:
Interwiki linking is the simplest way. Check it out. frosty
On Mon, 2008-03-03 at 15:11 +0100, Grietinus Koops wrote:
If I want to "just" use a template from Wikipedia... How can I do that? For a start I just simply want to use the Motd template...
Any suggestions?
Grietinus
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Just want to incorporate the daily motto of the day from wikipedia into my own wiki outside wikipedia :)
2008/3/4, John W Foster johnwfoster@verizon.net:
Interwiki linking is the simplest way. Check it out. frosty
On Mon, 2008-03-03 at 15:11 +0100, Grietinus Koops wrote:
If I want to "just" use a template from Wikipedia... How can I do that? For a start I just simply want to use the Motd template...
Any suggestions?
Grietinus
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Just want to incorporate the daily motto of the day from wikipedia into my own wiki outside wikipedia :)
Well, you won't get it that way, because transclusion is a complex operation and we can't even reuse templates between different Wikimedia projects (although there is a buggy possibility). For outside wiki, three ways are possible:
1. Create a bot that copies the template once a day. Pywikipedia framework can be used for that. 2. Write an extension that will make a http-request to Wikipedia and translude its results. I haven't seen one already, but it should be pretty trivial. You may also want to search http://mediawiki.org/wiki/Category:Extensions. 3. Create a JavaScript that will put it inside a small <iframe />. This is a rather ugly way, so it goes last in this list.
— Kalan
John W Foster wrote:
Interwiki linking is the simplest way. Check it out.
I've seen ot implied several times that you can use interwiki linking to transclude a template from another wiki. But how to you do it? As an experiment, I tried pulling in the "Delete" template at www.mediawiki.org via the interwiki value "mw":
{{mw:Delete}} {{:mw:Delete}} {{:mw:Template:Delete}}
but none of these do anything at all. However, [[mw:Template:Delete]] correctly produces an interwiki link.
Is this transclusion really possible? I'm using MW 1.11.0.
Thanks, DanB
Daniel Barrett wrote:
but none of these do anything at all. However, [[mw:Template:Delete]] correctly produces an interwiki link.
Is this transclusion really possible? I'm using MW 1.11.0.
Thanks, DanB
It needs to be configured.
mediawiki-l@lists.wikimedia.org