MediaWiki/archive/embedding/old/extract.php/v2/examples
< MediaWiki | archive | embedding | old/extract.php/v2
Jump to navigation
Jump to search
Revision as of 00:08, 15 December 2017 by Woozle (talk | contribs) (Woozle moved page MediaWiki/embedding/old/extract.php/v2/examples to MediaWiki/archive/embedding/old/extract.php/v2/examples without leaving a redirect: obsolete, keeps changing)
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>