MediaWiki/archive/embedding/old/extract.php/v2/examples

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< MediaWiki‎ | archive‎ | embedding‎ | old/extract.php/v2
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)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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>