MediaWiki/archive/embedding/old/extract.php/v2/examples: Difference between revisions
from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
New page: ==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... |
m extract.php for embedding MediaWiki contents/examples moved to MediaWiki/extract.php/old/examples: parent page was moved |
(No difference)
| |
Revision as of 23:00, 6 June 2009
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>
