MediaWiki/archive/embedding/old/extract.php/v2/examples
< MediaWiki | archive | embedding | old/extract.php/v2
Jump to navigation
Jump to search
Overview
Examples of this technique in actual use.
outside-life.com
as of 2008-09-29, with Google Analystics ID redacted <php> <?php define('kPathToMediaWiki','/hsphere/local/home/hypertwi/outside-life.com/w/'); define('kEmbeddedPagePrefix','Outside Life'); chdir(kPathToMediaWiki); set_include_path(get_include_path() . PATH_SEPARATOR . kPathToMediaWiki); $pgtitle = $_REQUEST['wikipage']; if ($pgtitle == ) { $pgtitle = 'Comic main page'; } /* <title>Outside Life - a batch of comics every month</title> */
?> loadContent(); echo $wgArticle->mContent; /* End of meta tag code */ ?> </php>