[Mediawiki-l] "In-line"-ing article

Dan Sullivan dansullivan at gmail.com
Wed Aug 10 13:05:41 UTC 2011


Yeah, I found the documentation on transclusion, but transclusion uses Wiki syntax.  I want to include the article in a PHP page that is not actually part of the wiki.

Dan

On Aug 10, 2011, at 3:34 AM, Rick Payton wrote:

> Transclusion is what you're after I believe.
> 
> http://www.mediawiki.org/wiki/Help:Transclusion
> 
> Basically, you have an articles named Cat that you want displayed on the
> front page, so you would literally add the following to your front page:
> {{:Cat}} - be warned that doing so will include the ENTIRE article.
> There may be a way to show only a part of the article, but I don't know
> how to do that.
> 
> Hope this helps.
> 
> Rick Payton, I.T. Manager
> Morikawa & Associates, LLC
> (808) 572-1745 Office
> (808) 442-0978 eFax
> (808) 344-8249 Mobile
> www.mai-hawaii.com 
> 
> -----Original Message-----
> From: mediawiki-l-bounces at lists.wikimedia.org
> [mailto:mediawiki-l-bounces at lists.wikimedia.org] On Behalf Of Dan
> Sullivan
> Sent: Tuesday, August 09, 2011 4:37 PM
> To: mediawiki-l at lists.wikimedia.org
> Subject: [Mediawiki-l] "In-line"-ing article
> 
> Hi, Everybody,
> 
> I apologize if this is a noob question; I actually consider myself
> pretty good at digging this type of thing up but after hours upon hours
> of googling I'm still unable to come up with an answer to what I would
> think would be a seemingly simple question to answer.  Basically I am
> building a personal website and I would like to use media wiki to store
> some documentation that I am generating.  I have a little menu bar at
> the top of my page; its pretty simple, just HTML & CSS with tables
> generated by PHP.  If you really want to see it you can just go here
> http://128.135.217.176.  Nothing fancy.  Anyway,  what I would like to
> be able to do would be to 'in-line' an article into this page, but
> without having to use frames or anything like that.  The 'body' section
> of  my page is basically just a cell of a table.  So the actual
> 'in-line' PHP code would have to be between  a couple of <td> tags. 
> 
> Anyway, it seems pretty easy to do this using for example, wordpress,
> using the integration features described here.
> http://codex.wordpress.org/Integrating_WordPress_with_Your_Website.  Is
> there a way to do anything like this with a mediawiki article?  
> 
> I apologize if this is such a silly question.
> 
> Thanks,
> 
> Dan
> 
> 
> 
> 
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> 
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l




More information about the MediaWiki-l mailing list